[INFO] cloning repository https://github.com/esteblock/pba-cryptography-group-6-activity-2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/esteblock/pba-cryptography-group-6-activity-2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Festeblock%2Fpba-cryptography-group-6-activity-2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Festeblock%2Fpba-cryptography-group-6-activity-2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 126f916ace59147cdf9ddbc295518554720a2369 [INFO] checking esteblock/pba-cryptography-group-6-activity-2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Festeblock%2Fpba-cryptography-group-6-activity-2" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/esteblock/pba-cryptography-group-6-activity-2 [INFO] finished tweaking git repo https://github.com/esteblock/pba-cryptography-group-6-activity-2 [INFO] tweaked toml for git repo https://github.com/esteblock/pba-cryptography-group-6-activity-2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/esteblock/pba-cryptography-group-6-activity-2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/esteblock/pba-cryptography-group-6-activity-2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8646d60bd5873688e2ad6aaf2ed15644a7695df0d853201c558384eae94d4d2 [INFO] running `Command { std: "docker" "start" "-a" "a8646d60bd5873688e2ad6aaf2ed15644a7695df0d853201c558384eae94d4d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8646d60bd5873688e2ad6aaf2ed15644a7695df0d853201c558384eae94d4d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8646d60bd5873688e2ad6aaf2ed15644a7695df0d853201c558384eae94d4d2", kill_on_drop: false }` [INFO] [stdout] a8646d60bd5873688e2ad6aaf2ed15644a7695df0d853201c558384eae94d4d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c54519088a558d6fdd8636216a55415da25ccdcaa6f81e5422c59f1b45231d60 [INFO] running `Command { std: "docker" "start" "-a" "c54519088a558d6fdd8636216a55415da25ccdcaa6f81e5422c59f1b45231d60", kill_on_drop: false }` [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.3 [INFO] [stderr] Checking aes v0.8.1 [INFO] [stderr] Checking aes-modes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `aes_modes` [INFO] [stdout] --> src/main.rs:434:2 [INFO] [stdout] | [INFO] [stdout] 434 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aes-modes` (bin "aes-modes") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition value: `optional-tests` [INFO] [stdout] --> src/main.rs:356:20 [INFO] [stdout] | [INFO] [stdout] 356 | #[cfg_attr(not(feature = "optional-tests"), ignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `optional-tests` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `optional-tests` [INFO] [stdout] --> src/main.rs:365:20 [INFO] [stdout] | [INFO] [stdout] 365 | #[cfg_attr(not(feature = "optional-tests"), ignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `optional-tests` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `optional-tests` [INFO] [stdout] --> src/main.rs:382:20 [INFO] [stdout] | [INFO] [stdout] 382 | #[cfg_attr(not(feature = "optional-tests"), ignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `optional-tests` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `optional-tests` [INFO] [stdout] --> src/main.rs:393:20 [INFO] [stdout] | [INFO] [stdout] 393 | #[cfg_attr(not(feature = "optional-tests"), ignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `optional-tests` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `optional-tests` [INFO] [stdout] --> src/main.rs:406:20 [INFO] [stdout] | [INFO] [stdout] 406 | #[cfg_attr(not(feature = "optional-tests"), ignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `optional-tests` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `optional-tests` [INFO] [stdout] --> src/main.rs:421:20 [INFO] [stdout] | [INFO] [stdout] 421 | #[cfg_attr(not(feature = "optional-tests"), ignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `optional-tests` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> src/main.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | hex::encode(encrypted) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> src/main.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | hex::decode("12d4105e43c4426e1f3e9455bb39c8fc0a4667637c9de8bad43ee801d313a555") [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aes-modes` (bin "aes-modes" test) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c54519088a558d6fdd8636216a55415da25ccdcaa6f81e5422c59f1b45231d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c54519088a558d6fdd8636216a55415da25ccdcaa6f81e5422c59f1b45231d60", kill_on_drop: false }` [INFO] [stdout] c54519088a558d6fdd8636216a55415da25ccdcaa6f81e5422c59f1b45231d60