[INFO] cloning repository https://github.com/devphaseX/rust-learning-activities [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devphaseX/rust-learning-activities" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdevphaseX%2Frust-learning-activities", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdevphaseX%2Frust-learning-activities'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3565c6ac527fbff951a3d457cba05d89b4e6dc6e [INFO] checking devphaseX/rust-learning-activities against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdevphaseX%2Frust-learning-activities" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/devphaseX/rust-learning-activities on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/devphaseX/rust-learning-activities [INFO] finished tweaking git repo https://github.com/devphaseX/rust-learning-activities [INFO] tweaked toml for git repo https://github.com/devphaseX/rust-learning-activities written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/devphaseX/rust-learning-activities 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58f4182f6fb55c59eb6fdd0c64b36d8d7adc41f0874dd799c2473ac280dbf793 [INFO] running `Command { std: "docker" "start" "-a" "58f4182f6fb55c59eb6fdd0c64b36d8d7adc41f0874dd799c2473ac280dbf793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58f4182f6fb55c59eb6fdd0c64b36d8d7adc41f0874dd799c2473ac280dbf793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f4182f6fb55c59eb6fdd0c64b36d8d7adc41f0874dd799c2473ac280dbf793", kill_on_drop: false }` [INFO] [stdout] 58f4182f6fb55c59eb6fdd0c64b36d8d7adc41f0874dd799c2473ac280dbf793 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e5703ffcc2c15f3f37a16b270a082f28dfe35b34305ebace361bcae6c55c72e [INFO] running `Command { std: "docker" "start" "-a" "9e5703ffcc2c15f3f37a16b270a082f28dfe35b34305ebace361bcae6c55c72e", kill_on_drop: false }` [INFO] [stderr] Checking activities v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crossbeam_channel` [INFO] [stdout] --> src/bin/a39.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crossbeam_channel::{unbounded, Receiver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `crossbeam_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/a39.rs:38:56 [INFO] [stdout] | [INFO] [stdout] 38 | fn spawn_light_thread(receiver: Receiver) -> JoinHandle { [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^ expected `JoinHandle`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `JoinHandle` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `activities` (bin "a39") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Rgb: TryFrom<&str>` is not satisfied [INFO] [stdout] --> src/bin/a37.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let actual = Rgb::try_from("#00cc66"); [INFO] [stdout] | ^^^ the trait `From<&str>` is not implemented for `Rgb`, which is required by `Rgb: TryFrom<_>` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [INFO] [stdout] = note: required for `Rgb` to implement `TryFrom<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rgb: From<&str>` is not satisfied [INFO] [stdout] --> src/bin/a37.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let actual = Rgb::try_from("#00cc66"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `Rgb`, which is required by `Rgb: TryFrom<&str>` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [INFO] [stdout] = note: required for `Rgb` to implement `TryFrom<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rgb: TryFrom<&str>` is not satisfied [INFO] [stdout] --> src/bin/a37.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | Rgb::try_from("#0011yy").is_err(), [INFO] [stdout] | ^^^ the trait `From<&str>` is not implemented for `Rgb`, which is required by `Rgb: TryFrom<_>` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [INFO] [stdout] = note: required for `Rgb` to implement `TryFrom<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rgb: From<&str>` is not satisfied [INFO] [stdout] --> src/bin/a37.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | Rgb::try_from("#0011yy").is_err(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `Rgb`, which is required by `Rgb: TryFrom<&str>` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [INFO] [stdout] = note: required for `Rgb` to implement `TryFrom<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rgb: TryFrom<&str>` is not satisfied [INFO] [stdout] --> src/bin/a37.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | Rgb::try_from("001100").is_err(), [INFO] [stdout] | ^^^ the trait `From<&str>` is not implemented for `Rgb`, which is required by `Rgb: TryFrom<_>` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [INFO] [stdout] = note: required for `Rgb` to implement `TryFrom<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rgb: From<&str>` is not satisfied [INFO] [stdout] --> src/bin/a37.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | Rgb::try_from("001100").is_err(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `Rgb`, which is required by `Rgb: TryFrom<&str>` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [INFO] [stdout] = note: required for `Rgb` to implement `TryFrom<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rgb: TryFrom<&str>` is not satisfied [INFO] [stdout] --> src/bin/a37.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | Rgb::try_from("#0011f").is_err(), [INFO] [stdout] | ^^^ the trait `From<&str>` is not implemented for `Rgb`, which is required by `Rgb: TryFrom<_>` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [INFO] [stdout] = note: required for `Rgb` to implement `TryFrom<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rgb: From<&str>` is not satisfied [INFO] [stdout] --> src/bin/a37.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | Rgb::try_from("#0011f").is_err(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `Rgb`, which is required by `Rgb: TryFrom<&str>` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [INFO] [stdout] = note: required for `Rgb` to implement `TryFrom<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/a23.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 11 | fn part_1() -> bool { [INFO] [stdout] | ---- expected `bool` because of return type [INFO] [stdout] ... [INFO] [stdout] 16 | maybe_access("admin") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option` [INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value [INFO] [stdout] | [INFO] [stdout] 16 | maybe_access("admin").is_some() [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rgb: TryFrom<&str>` is not satisfied [INFO] [stdout] --> src/bin/a37.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | Rgb::try_from("#0011ffa").is_err(), [INFO] [stdout] | ^^^ the trait `From<&str>` is not implemented for `Rgb`, which is required by `Rgb: TryFrom<_>` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [INFO] [stdout] = note: required for `Rgb` to implement `TryFrom<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rgb: From<&str>` is not satisfied [INFO] [stdout] --> src/bin/a37.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | Rgb::try_from("#0011ffa").is_err(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `Rgb`, which is required by `Rgb: TryFrom<&str>` [INFO] [stdout] | [INFO] [stdout] = note: required for `&str` to implement `Into` [INFO] [stdout] = note: required for `Rgb` to implement `TryFrom<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/a23.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 26 | fn part_3() -> Access { [INFO] [stdout] | ------ expected `Access` because of return type [INFO] [stdout] ... [INFO] [stdout] 29 | maybe_access("Alice") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `Access`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Access` [INFO] [stdout] found enum `Option` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 29 | maybe_access("Alice").expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `activities` (bin "a37" test) due to 11 previous errors [INFO] [stderr] error: could not compile `activities` (bin "a23" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "9e5703ffcc2c15f3f37a16b270a082f28dfe35b34305ebace361bcae6c55c72e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e5703ffcc2c15f3f37a16b270a082f28dfe35b34305ebace361bcae6c55c72e", kill_on_drop: false }` [INFO] [stdout] 9e5703ffcc2c15f3f37a16b270a082f28dfe35b34305ebace361bcae6c55c72e [INFO] checking devphaseX/rust-learning-activities against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdevphaseX%2Frust-learning-activities" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/devphaseX/rust-learning-activities on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/devphaseX/rust-learning-activities [INFO] finished tweaking git repo https://github.com/devphaseX/rust-learning-activities [INFO] tweaked toml for git repo https://github.com/devphaseX/rust-learning-activities written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/devphaseX/rust-learning-activities 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0b393686669c871106ab370da8a5a1e8688817aae9954fb7732fb31e0d511a6 [INFO] running `Command { std: "docker" "start" "-a" "f0b393686669c871106ab370da8a5a1e8688817aae9954fb7732fb31e0d511a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0b393686669c871106ab370da8a5a1e8688817aae9954fb7732fb31e0d511a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0b393686669c871106ab370da8a5a1e8688817aae9954fb7732fb31e0d511a6", kill_on_drop: false }` [INFO] [stdout] f0b393686669c871106ab370da8a5a1e8688817aae9954fb7732fb31e0d511a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24563158f0859c94459812f42ecb8d91ee5b0313c05ad1bd01493fb3aa5ef70f [INFO] running `Command { std: "docker" "start" "-a" "24563158f0859c94459812f42ecb8d91ee5b0313c05ad1bd01493fb3aa5ef70f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "24563158f0859c94459812f42ecb8d91ee5b0313c05ad1bd01493fb3aa5ef70f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24563158f0859c94459812f42ecb8d91ee5b0313c05ad1bd01493fb3aa5ef70f", kill_on_drop: false }` [INFO] [stdout] 24563158f0859c94459812f42ecb8d91ee5b0313c05ad1bd01493fb3aa5ef70f