[INFO] fetching crate salty 0.2.0-alpha.2... [INFO] checking salty-0.2.0-alpha.2 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate salty 0.2.0-alpha.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate salty 0.2.0-alpha.2 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config [INFO] started tweaking crates.io crate salty 0.2.0-alpha.2 [INFO] finished tweaking crates.io crate salty 0.2.0-alpha.2 [INFO] tweaked toml for crates.io crate salty 0.2.0-alpha.2 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hash32 v0.2.1 [INFO] [stderr] Downloaded heapless-bytes v0.3.0 [INFO] [stderr] Downloaded heapless v0.7.5 [INFO] [stderr] Downloaded cosey v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd08e1e2e20d67d5c21c26196bcdd67bfe92d6a4d19a7a1b328183d89c6616a9 [INFO] running `Command { std: "docker" "start" "-a" "cd08e1e2e20d67d5c21c26196bcdd67bfe92d6a4d19a7a1b328183d89c6616a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd08e1e2e20d67d5c21c26196bcdd67bfe92d6a4d19a7a1b328183d89c6616a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd08e1e2e20d67d5c21c26196bcdd67bfe92d6a4d19a7a1b328183d89c6616a9", kill_on_drop: false }` [INFO] [stdout] cd08e1e2e20d67d5c21c26196bcdd67bfe92d6a4d19a7a1b328183d89c6616a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed9e4dc145e8a8f7c3d80d7a947367710e0693691bc0fa66bd676477bf905e93 [INFO] running `Command { std: "docker" "start" "-a" "ed9e4dc145e8a8f7c3d80d7a947367710e0693691bc0fa66bd676477bf905e93", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling salty v0.2.0-alpha.2 (/tmp/fixit) [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Compiling hex-literal-impl v0.2.2 [INFO] [stderr] Checking hex-literal v0.2.1 [INFO] [stderr] Migrating tests/wycheproof_eddsa.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/wycheproof_x25519.rs from 2018 edition to 2021 [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 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: aborting due to 8 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] [stderr] error: could not compile `salty` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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_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: 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] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ed9e4dc145e8a8f7c3d80d7a947367710e0693691bc0fa66bd676477bf905e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed9e4dc145e8a8f7c3d80d7a947367710e0693691bc0fa66bd676477bf905e93", kill_on_drop: false }` [INFO] [stdout] ed9e4dc145e8a8f7c3d80d7a947367710e0693691bc0fa66bd676477bf905e93