[INFO] cloning repository https://github.com/asutorufg/learnrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/asutorufg/learnrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasutorufg%2Flearnrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasutorufg%2Flearnrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f4b5c49a53a51f0a441b2b3a7ff37b0d8a08ce4 [INFO] checking asutorufg/learnrust/6f4b5c49a53a51f0a441b2b3a7ff37b0d8a08ce4 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasutorufg%2Flearnrust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/asutorufg/learnrust on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/asutorufg/learnrust [INFO] finished tweaking git repo https://github.com/asutorufg/learnrust [INFO] tweaked toml for git repo https://github.com/asutorufg/learnrust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/asutorufg/learnrust 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b95948ebbced591ed1684183f45415b52e4736b765a5e1d751f89c1c4c81d2f5 [INFO] running `Command { std: "docker" "start" "-a" "b95948ebbced591ed1684183f45415b52e4736b765a5e1d751f89c1c4c81d2f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b95948ebbced591ed1684183f45415b52e4736b765a5e1d751f89c1c4c81d2f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b95948ebbced591ed1684183f45415b52e4736b765a5e1d751f89c1c4c81d2f5", kill_on_drop: false }` [INFO] [stdout] b95948ebbced591ed1684183f45415b52e4736b765a5e1d751f89c1c4c81d2f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecd3e11092b3bd9c352c9633b73f17e1bdd8451a4f67b3e7495b7424c794c642 [INFO] running `Command { std: "docker" "start" "-a" "ecd3e11092b3bd9c352c9633b73f17e1bdd8451a4f67b3e7495b7424c794c642", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking futures-util v0.3.21 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hello-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `style` is never read [INFO] [stdout] --> src/sub_mod/hosting/iterator_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct Shoe { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 3 | size: u32, [INFO] [stdout] 4 | style: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shoe` 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: fields `0` and `1` are never read [INFO] [stdout] --> src/sub_mod/hosting/smartpointers_test.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | Con(u32, Box), [INFO] [stdout] | --- ^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 11 | Con((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/sub_mod/hosting/smartpointers_test.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | Cons(i32, Rc), [INFO] [stdout] | ---- ^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 98 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `b`, and `c` are never read [INFO] [stdout] --> src/sub_mod/hosting/test.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | struct Dd { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 82 | a: String, [INFO] [stdout] | ^ [INFO] [stdout] 83 | b: String, [INFO] [stdout] | ^ [INFO] [stdout] 84 | c: u64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Dd` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> src/sub_mod/hosting/trait_test.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 21 | a: T, [INFO] [stdout] | ^ [INFO] [stdout] 22 | b: T, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sub_mod/hosting/vector_test.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Int(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 31 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sub_mod/hosting/vector_test.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 32 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sub_mod/hosting/vector_test.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | Text(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 33 | Text(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect2` is never used [INFO] [stdout] --> src/sub_mod/stream/connect.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | pub async fn connect2() -> Result<(), ConnectError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect3` is never used [INFO] [stdout] --> src/sub_mod/stream/connect.rs:168:14 [INFO] [stdout] | [INFO] [stdout] 168 | pub async fn connect3() -> Result<(), ConnectError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `style` is never read [INFO] [stdout] --> src/sub_mod/hosting/iterator_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct Shoe { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 3 | size: u32, [INFO] [stdout] 4 | style: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shoe` 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: fields `0` and `1` are never read [INFO] [stdout] --> src/sub_mod/hosting/smartpointers_test.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | Con(u32, Box), [INFO] [stdout] | --- ^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 11 | Con((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/sub_mod/hosting/smartpointers_test.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | Cons(i32, Rc), [INFO] [stdout] | ---- ^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 98 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `b`, and `c` are never read [INFO] [stdout] --> src/sub_mod/hosting/test.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | struct Dd { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 82 | a: String, [INFO] [stdout] | ^ [INFO] [stdout] 83 | b: String, [INFO] [stdout] | ^ [INFO] [stdout] 84 | c: u64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Dd` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> src/sub_mod/hosting/trait_test.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 21 | a: T, [INFO] [stdout] | ^ [INFO] [stdout] 22 | b: T, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sub_mod/hosting/vector_test.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Int(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 31 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sub_mod/hosting/vector_test.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 32 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sub_mod/hosting/vector_test.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | Text(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 33 | Text(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect2` is never used [INFO] [stdout] --> src/sub_mod/stream/connect.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | pub async fn connect2() -> Result<(), ConnectError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect3` is never used [INFO] [stdout] --> src/sub_mod/stream/connect.rs:168:14 [INFO] [stdout] | [INFO] [stdout] 168 | pub async fn connect3() -> Result<(), ConnectError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.27s [INFO] running `Command { std: "docker" "inspect" "ecd3e11092b3bd9c352c9633b73f17e1bdd8451a4f67b3e7495b7424c794c642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecd3e11092b3bd9c352c9633b73f17e1bdd8451a4f67b3e7495b7424c794c642", kill_on_drop: false }` [INFO] [stdout] ecd3e11092b3bd9c352c9633b73f17e1bdd8451a4f67b3e7495b7424c794c642