[INFO] cloning repository https://github.com/lng2020/rustByExample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lng2020/rustByExample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flng2020%2FrustByExample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flng2020%2FrustByExample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f066ae79581755e868e248d3c3288fc3a4e60d7 [INFO] checking lng2020/rustByExample against master#4ecd70ddd1039a3954056c1071e40278048476fa for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flng2020%2FrustByExample" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lng2020/rustByExample on toolchain 4ecd70ddd1039a3954056c1071e40278048476fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lng2020/rustByExample [INFO] finished tweaking git repo https://github.com/lng2020/rustByExample [INFO] tweaked toml for git repo https://github.com/lng2020/rustByExample written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lng2020/rustByExample 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" "+4ecd70ddd1039a3954056c1071e40278048476fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/ch18/Cargo.toml: file `/workspace/builds/worker-7-tc1/source/ch18/question_mark.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `define_err` [INFO] [stderr] * `bin` target `question_mark` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] beb0de757687472e9de9f0b68d657dc46c2467a68ee0961e4f63621e71c29eb9 [INFO] running `Command { std: "docker" "start" "-a" "beb0de757687472e9de9f0b68d657dc46c2467a68ee0961e4f63621e71c29eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "beb0de757687472e9de9f0b68d657dc46c2467a68ee0961e4f63621e71c29eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "beb0de757687472e9de9f0b68d657dc46c2467a68ee0961e4f63621e71c29eb9", kill_on_drop: false }` [INFO] [stdout] beb0de757687472e9de9f0b68d657dc46c2467a68ee0961e4f63621e71c29eb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 272a43f8214e289e5a5caaa1b169e1663e086e2cb6e59a323497c734ec29ec21 [INFO] running `Command { std: "docker" "start" "-a" "272a43f8214e289e5a5caaa1b169e1663e086e2cb6e59a323497c734ec29ec21", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/ch18/Cargo.toml: file `/opt/rustwide/workdir/ch18/question_mark.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `define_err` [INFO] [stderr] * `bin` target `question_mark` [INFO] [stderr] Checking ch15 v0.1.0 (/opt/rustwide/workdir/ch15) [INFO] [stderr] Checking ch18 v0.1.0 (/opt/rustwide/workdir/ch18) [INFO] [stderr] Checking ch14 v0.1.0 (/opt/rustwide/workdir/ch14) [INFO] [stderr] Checking ch8 v0.1.0 (/opt/rustwide/workdir/ch8) [INFO] [stderr] Checking ch7 v0.1.0 (/opt/rustwide/workdir/ch7) [INFO] [stderr] Checking ch16 v0.1.0 (/opt/rustwide/workdir/ch16) [INFO] [stderr] Checking ch9 v0.1.0 (/opt/rustwide/workdir/ch9) [INFO] [stderr] Checking ch1 v0.1.0 (/opt/rustwide/workdir/ch1) [INFO] [stderr] Checking ch17 v0.1.0 (/opt/rustwide/workdir/ch17) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> ch15/drop.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let x = ToDrop; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ch3 v0.1.0 (/opt/rustwide/workdir/ch3) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ch15/structs.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | struct Borrowed<'a>(&'a i32); [INFO] [stdout] | -------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Borrowed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ch15/structs.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | Num(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Either` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - Num(i32), [INFO] [stdout] 13 + Num(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ch15/structs.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Ref(&'a i32), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Either` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - Ref(&'a i32), [INFO] [stdout] 14 + Ref(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `ch3/type_alias.rs`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ch3` (bin "type_alias") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "272a43f8214e289e5a5caaa1b169e1663e086e2cb6e59a323497c734ec29ec21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "272a43f8214e289e5a5caaa1b169e1663e086e2cb6e59a323497c734ec29ec21", kill_on_drop: false }` [INFO] [stdout] 272a43f8214e289e5a5caaa1b169e1663e086e2cb6e59a323497c734ec29ec21