#326953 success

Use Scalar29 as scalars

22a1567Nicolas Stalder

Owner
~nickray
Created
2 months ago
Updated
2 months ago
Build manifest
view manifest »

Tasks

view log »
setup view log »
build-tweetnacl view log »
build-haase view log »
test view log »
go to bottom »
setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
[#326953] 2020/10/24 21:32:37 Booting image freebsd/latest (default) on port 22093
[#326953] 2020/10/24 21:32:41 Waiting for guest to settle
[#326953] 2020/10/24 21:33:03 Sending tasks
[#326953] 2020/10/24 21:33:03 Sending build environment
[#326953] 2020/10/24 21:33:04 Installing packages
Warning: Permanently added '[localhost]:22093' (ECDSA) to the list of known hosts.
Updating FreeBSD repository catalogue...
Fetching meta.txz: . done
Fetching packagesite.txz: .......... done
Processing entries: .......... done
FreeBSD repository update completed. 31854 packages processed.
All repositories are up to date.
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	pkg: 1.15.6 -> 1.15.10

Number of packages to be upgraded: 1

7 MiB to be downloaded.
[1/1] Fetching pkg-1.15.10.txz: .......... done
Checking integrity... done (0 conflicting)
[1/1] Upgrading pkg from 1.15.6 to 1.15.10...
[1/1] Extracting pkg-1.15.10: .......... done
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (9 candidates): ......... done
Processing candidates (9 candidates): ......... done
The following 17 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	p5-Clone: 0.45
	p5-Encode-Locale: 1.05
	p5-HTTP-Date: 6.05
	p5-HTTP-Message: 6.26
	p5-IO-HTML: 1.001_1
	p5-LWP-MediaTypes: 6.04
	p5-TimeDate: 2.33,1
	p5-URI: 1.76

Installed packages to be UPGRADED:
	ca_root_nss: 3.57 -> 3.58
	curl: 7.72.0 -> 7.73.0
	glib: 2.66.0_1,1 -> 2.66.1_1,1
	libgcrypt: 1.8.5 -> 1.8.6
	libxml2: 2.9.10 -> 2.9.10_1
	p5-CGI: 4.50 -> 4.51
	p5-HTML-Parser: 3.72 -> 3.75
	python37: 3.7.9 -> 3.7.9_1
	sudo: 1.9.3 -> 1.9.3p1

Number of packages to be installed: 8
Number of packages to be upgraded: 9

24 MiB to be downloaded.
[1/17] Fetching sudo-1.9.3p1.txz: .......... done
[2/17] Fetching python37-3.7.9_1.txz: .......... done
[3/17] Fetching p5-HTML-Parser-3.75.txz: .......... done
[4/17] Fetching p5-CGI-4.51.txz: .......... done
[5/17] Fetching libxml2-2.9.10_1.txz: .......... done
[6/17] Fetching libgcrypt-1.8.6.txz: .......... done
[7/17] Fetching glib-2.66.1_1,1.txz: .......... done
[8/17] Fetching curl-7.73.0.txz: .......... done
[9/17] Fetching ca_root_nss-3.58.txz: .......... done
[10/17] Fetching p5-HTTP-Message-6.26.txz: .......... done
[11/17] Fetching p5-LWP-MediaTypes-6.04.txz: ... done
[12/17] Fetching p5-HTTP-Date-6.05.txz: .. done
[13/17] Fetching p5-TimeDate-2.33,1.txz: ..... done
[14/17] Fetching p5-URI-1.76.txz: .......... done
[15/17] Fetching p5-IO-HTML-1.001_1.txz: .. done
[16/17] Fetching p5-Clone-0.45.txz: .. done
[17/17] Fetching p5-Encode-Locale-1.05.txz: .. done
Checking integrity... done (0 conflicting)
[1/17] Installing p5-TimeDate-2.33,1...
[1/17] Extracting p5-TimeDate-2.33,1: .......... done
[2/17] Installing p5-LWP-MediaTypes-6.04...
[2/17] Extracting p5-LWP-MediaTypes-6.04: ........ done
[3/17] Installing p5-HTTP-Date-6.05...
[3/17] Extracting p5-HTTP-Date-6.05: ....... done
[4/17] Installing p5-URI-1.76...
[4/17] Extracting p5-URI-1.76: .......... done
[5/17] Installing p5-IO-HTML-1.001_1...
[5/17] Extracting p5-IO-HTML-1.001_1: ....... done
[6/17] Installing p5-Clone-0.45...
[6/17] Extracting p5-Clone-0.45: ......... done
[7/17] Installing p5-Encode-Locale-1.05...
[7/17] Extracting p5-Encode-Locale-1.05: ....... done
[8/17] Installing p5-HTTP-Message-6.26...
[8/17] Extracting p5-HTTP-Message-6.26: .......... done
[9/17] Upgrading python37 from 3.7.9 to 3.7.9_1...
[9/17] Extracting python37-3.7.9_1: .......... done
[10/17] Upgrading p5-HTML-Parser from 3.72 to 3.75...
[10/17] Extracting p5-HTML-Parser-3.75: .......... done
[11/17] Upgrading libxml2 from 2.9.10 to 2.9.10_1...
[11/17] Extracting libxml2-2.9.10_1: .......... done
[12/17] Upgrading ca_root_nss from 3.57 to 3.58...
[12/17] Extracting ca_root_nss-3.58: ........ done
[13/17] Upgrading sudo from 1.9.3 to 1.9.3p1...
[13/17] Extracting sudo-1.9.3p1: .......... done
You may need to manually remove /usr/local/etc/sudoers if it is no longer needed.
[14/17] Upgrading p5-CGI from 4.50 to 4.51...
[14/17] Extracting p5-CGI-4.51: .......... done
[15/17] Upgrading libgcrypt from 1.8.5 to 1.8.6...
[15/17] Extracting libgcrypt-1.8.6: .......... done
[16/17] Upgrading glib from 2.66.0_1,1 to 2.66.1_1,1...
[16/17] Extracting glib-2.66.1_1,1: .......... done
No schema files found: doing nothing.
[17/17] Upgrading curl from 7.72.0 to 7.73.0...
[17/17] Extracting curl-7.73.0: .......... done
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 4 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	arm-none-eabi-binutils: 2.33.1_3,1
	arm-none-eabi-gcc: 8.4.0_2
	mpc: 1.1.0_2
	mpfr: 4.1.0

Number of packages to be installed: 4

The process will require 148 MiB more space.
23 MiB to be downloaded.
[1/4] Fetching arm-none-eabi-gcc-8.4.0_2.txz: .......... done
[2/4] Fetching mpfr-4.1.0.txz: .......... done
[3/4] Fetching mpc-1.1.0_2.txz: .......... done
[4/4] Fetching arm-none-eabi-binutils-2.33.1_3,1.txz: .......... done
Checking integrity... done (0 conflicting)
[1/4] Installing mpfr-4.1.0...
[1/4] Extracting mpfr-4.1.0: .......... done
[2/4] Installing mpc-1.1.0_2...
[2/4] Extracting mpc-1.1.0_2: ......... done
[3/4] Installing arm-none-eabi-binutils-2.33.1_3,1...
[3/4] Extracting arm-none-eabi-binutils-2.33.1_3,1: .......... done
[4/4] Installing arm-none-eabi-gcc-8.4.0_2...
[4/4] Extracting arm-none-eabi-gcc-8.4.0_2: .......... done
=====
Message from arm-none-eabi-binutils-2.33.1_3,1:

--
===>   NOTICE:

The arm-none-eabi-binutils port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
[#326953] 2020/10/24 21:34:02 Cloning repositories
Cloning into 'salty'...
+ cd salty
+ git checkout -q 22a1567fa127ffc807dbd9d937190841458038e2
+ cd salty
+ git submodule update --init
Submodule 'c-api/libopencm3' (https://github.com/libopencm3/libopencm3) registered for path 'c-api/libopencm3'
Cloning into '/usr/home/build/salty/c-api/libopencm3'...
Submodule path 'c-api/libopencm3': checked out '08c5f2a1fb16b279907eb622ac043046d7a1a35c'
[#326953] 2020/10/24 21:34:09 Running task setup
[#326953] 2020/10/24 21:34:54 Running task build-tweetnacl
[#326953] 2020/10/24 21:35:33 Running task build-haase
[#326953] 2020/10/24 21:35:35 Running task test
[#326953] 2020/10/24 21:35:42 Processing post-success triggers...
[#326953] 2020/10/24 21:35:42 Sending webhook...
[#326953] 2020/10/24 21:35:43 Webhook response: 200
[#326953] 2020/10/24 21:35:43 Error updating GitHub status
setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
+ curl -sSf https://sh.rustup.rs
+ sh -s -- -y -q
info: downloading installer
Warning: Not enforcing strong cipher suites for TLS, this is potentially less secure
Warning: Not enforcing TLS v1.2, this is potentially less secure
info: profile set to 'default'
info: default host triple is x86_64-unknown-freebsd
info: syncing channel updates for 'stable-x86_64-unknown-freebsd'
info: latest update on 2020-10-08, rust version 1.47.0 (18bf6b4f0 2020-10-07)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: Defaulting to 500.0 MiB unpack ram
info: installing component 'clippy'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
info: default toolchain set to 'stable'

  stable installed - rustc 1.47.0 (18bf6b4f0 2020-10-07)


Rust is installed now. Great!

To get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
environment variable. Next time you log in this will be done
automatically.

To configure your current shell run source $HOME/.cargo/env
+ source /home/build/.cargo/env
++ export PATH=/home/build/.cargo/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/build/bin
++ PATH=/home/build/.cargo/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/build/bin
+ rustup target add thumbv7em-none-eabi
info: downloading component 'rust-std' for 'thumbv7em-none-eabi'
info: installing component 'rust-std' for 'thumbv7em-none-eabi'
info: Defaulting to 500.0 MiB unpack ram
build-tweetnacl
1
2
3
4
5
6
7
8
9
10
11
12
+ cd salty
+ source /home/build/.cargo/env
++ export PATH=/home/build/.cargo/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/build/bin
++ PATH=/home/build/.cargo/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/build/bin
+ RUSTFLAGS='-D warnings'
+ cargo build --release --features tweetnacl-on-cortex-m4 --target thumbv7em-none-eabi
    Updating crates.io index
 Downloading crates ...
  Downloaded subtle v2.3.0
   Compiling salty v0.1.0-alpha.2 (/usr/home/build/salty)
   Compiling subtle v2.3.0
    Finished release [optimized] target(s) in 37.75s
build-haase
1
2
3
4
5
6
7
8
+ cd salty
+ source /home/build/.cargo/env
++ export PATH=/home/build/.cargo/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/build/bin
++ PATH=/home/build/.cargo/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/build/bin
+ RUSTFLAGS='-D warnings'
+ cargo build --release --target thumbv7em-none-eabi
   Compiling salty v0.1.0-alpha.2 (/usr/home/build/salty)
    Finished release [optimized] target(s) in 1.45s
test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
+ cd salty
+ source /home/build/.cargo/env
++ export PATH=/home/build/.cargo/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/build/bin
++ PATH=/home/build/.cargo/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/build/bin
+ cargo test --release
 Downloading crates ...
  Downloaded hex-literal v0.2.1
  Downloaded proc-macro-hack v0.5.18
  Downloaded hex-literal-impl v0.2.2
   Compiling proc-macro-hack v0.5.18
   Compiling subtle v2.3.0
   Compiling salty v0.1.0-alpha.2 (/usr/home/build/salty)
   Compiling hex-literal-impl v0.2.2
   Compiling hex-literal v0.2.1
    Finished release [optimized] target(s) in 5.08s
     Running target/release/deps/salty-3f1c3dd2da372514

running 22 tests
test curve::tests::test_negation ... ok
test curve::tests::test_addition_vs_multiplication ... ok
test curve::tests::test_some_more ... ok
test field::tweetnacl::tests::test_imaginary ... ok
test curve::tests::test_neutral_is_neutral ... ok
test field::tweetnacl::tests::test_inversion ... ok
test field::tweetnacl::tests::test_negation ... ok
test field::tweetnacl::tests::test_one_plus_one ... ok
test field::tweetnacl::tests::test_one_times_zero ... ok
test field::tweetnacl::tests::test_square_roots ... ok
test field::tweetnacl::tests::test_two_times_three_is_six ... ok
test scalar29::test::add ... ok
test scalar29::test::montgomery_mul ... ok
test scalar29::test::from_bytes_wide ... ok
test scalar29::test::montgomery_mul_max ... ok
test scalar29::test::mul ... ok
test scalar29::test::mul_max ... ok
test scalar29::test::sub ... ok
test signature::tests::test_ed25519ph_with_rfc_8032_test_vector ... ok
test signature::tests::test_reduction_of_s_modulo_ell ... ok
test signature::tests::test_signature ... ok
test signature::tests::test_decompression ... ok

test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

   Doc-tests salty

running 5 tests
test src/lib.rs - (line 27) ... ok
test src/lib.rs - (line 35) ... ok
test src/lib.rs - (line 57) ... ok
test src/lib.rs - (line 44) ... ok
test src/lib.rs - (line 70) ... ok

test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

Build complete: success 2 months ago (took 3 minutes)