[INFO] fetching crate salty 0.2.0-alpha.1... [INFO] checking salty-0.2.0-alpha.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate salty 0.2.0-alpha.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate salty 0.2.0-alpha.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate salty 0.2.0-alpha.1 [INFO] finished tweaking crates.io crate salty 0.2.0-alpha.1 [INFO] tweaked toml for crates.io crate salty 0.2.0-alpha.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cosey v0.2.0 [INFO] [stderr] Downloaded heapless v0.6.1 [INFO] [stderr] Downloaded heapless-bytes v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4d164653e4d2b9892a6721e09752bb8b306e661bfac97f8487f572b683dc21e7 [INFO] running `Command { std: "docker" "start" "-a" "4d164653e4d2b9892a6721e09752bb8b306e661bfac97f8487f572b683dc21e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d164653e4d2b9892a6721e09752bb8b306e661bfac97f8487f572b683dc21e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d164653e4d2b9892a6721e09752bb8b306e661bfac97f8487f572b683dc21e7", kill_on_drop: false }` [INFO] [stdout] 4d164653e4d2b9892a6721e09752bb8b306e661bfac97f8487f572b683dc21e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61cc120b9683e967211e56561fb2e14d7ac0c9a1d92f2c86bc435f6dc90acc9c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "61cc120b9683e967211e56561fb2e14d7ac0c9a1d92f2c86bc435f6dc90acc9c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling salty v0.2.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling hex-literal-impl v0.2.2 [INFO] [stderr] Checking hex-literal v0.2.1 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wycheproof` [INFO] [stdout] --> tests/wycheproof_eddsa.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use wycheproof::wycheproof::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wycheproof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wycheproof_gen` [INFO] [stdout] --> tests/wycheproof_eddsa.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use wycheproof_gen::test_wycheproof; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `wycheproof_gen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test_wycheproof` [INFO] [stdout] --> tests/wycheproof_eddsa.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[test_wycheproof("tests/eddsa_test.json", "eddsa_verify_schema.json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wycheproof` [INFO] [stdout] --> tests/wycheproof_x25519.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use wycheproof::wycheproof::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wycheproof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wycheproof_gen` [INFO] [stdout] --> tests/wycheproof_x25519.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use wycheproof_gen::test_wycheproof; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `wycheproof_gen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test_wycheproof` [INFO] [stdout] --> tests/wycheproof_x25519.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[test_wycheproof("tests/x25519_test.json", "xdh_comp_schema.json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExpectedResult` [INFO] [stdout] --> tests/wycheproof_eddsa.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | ExpectedResult::Valid => assert!(valid), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ExpectedResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExpectedResult` [INFO] [stdout] --> tests/wycheproof_eddsa.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | ExpectedResult::Invalid => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ExpectedResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExpectedResult` [INFO] [stdout] --> tests/wycheproof_eddsa.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | ExpectedResult::Acceptable => assert!(true), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ExpectedResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in this scope [INFO] [stdout] --> tests/wycheproof_eddsa.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | fn eddsa_test_case(test_key: &Key, test_data: &SignatureTestVector) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SignatureTestVector` in this scope [INFO] [stdout] --> tests/wycheproof_eddsa.rs:13:52 [INFO] [stdout] | [INFO] [stdout] 13 | fn eddsa_test_case(test_key: &Key, test_data: &SignatureTestVector) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExpectedResult` [INFO] [stdout] --> tests/wycheproof_x25519.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | ExpectedResult::Valid => assert!(valid), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ExpectedResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExpectedResult` [INFO] [stdout] --> tests/wycheproof_x25519.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | ExpectedResult::Invalid => assert!(!valid), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ExpectedResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExpectedResult` [INFO] [stdout] --> tests/wycheproof_x25519.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | ExpectedResult::Acceptable => assert!(true), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ExpectedResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XdhTestVector` in this scope [INFO] [stdout] --> tests/wycheproof_x25519.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | fn x25519_test_case(curve: &str, test_data: &XdhTestVector) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode` in crate `hex` [INFO] [stdout] --> src/agreement.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | hex::decode(little_endian_hex_digits).unwrap().try_into().unwrap() [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 143 | use core::num::flt2dec::decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode` in crate `hex` [INFO] [stdout] --> src/agreement.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 227 | assert_eq!(hex::encode(k), "422c8e7a6227d7bca1350b3e2bb7279f7897b87bb6854b783c60e80311ae3079"); [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode` in crate `hex` [INFO] [stdout] --> src/agreement.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | assert_eq!(hex::encode(k), "684cf59ba83309552800ef566f2f4d3c1c3887c49360e3875f2eb94d99532c51"); [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `salty` [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `core::convert::TryInto` [INFO] [stdout] --> src/agreement.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "61cc120b9683e967211e56561fb2e14d7ac0c9a1d92f2c86bc435f6dc90acc9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61cc120b9683e967211e56561fb2e14d7ac0c9a1d92f2c86bc435f6dc90acc9c", kill_on_drop: false }` [INFO] [stdout] 61cc120b9683e967211e56561fb2e14d7ac0c9a1d92f2c86bc435f6dc90acc9c