[INFO] cloning repository https://github.com/thruc/rust-practic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thruc/rust-practic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthruc%2Frust-practic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthruc%2Frust-practic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bf87293f6791c7e8df61e7e99fb07e558c9a3bd [INFO] checking thruc/rust-practic against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthruc%2Frust-practic" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thruc/rust-practic on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thruc/rust-practic [INFO] finished tweaking git repo https://github.com/thruc/rust-practic [INFO] tweaked toml for git repo https://github.com/thruc/rust-practic written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thruc/rust-practic 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1caae62df67fa8cb359f172dd288433e9b59613cfca124de4a091b96fa773e93 [INFO] running `Command { std: "docker" "start" "-a" "1caae62df67fa8cb359f172dd288433e9b59613cfca124de4a091b96fa773e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1caae62df67fa8cb359f172dd288433e9b59613cfca124de4a091b96fa773e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1caae62df67fa8cb359f172dd288433e9b59613cfca124de4a091b96fa773e93", kill_on_drop: false }` [INFO] [stdout] 1caae62df67fa8cb359f172dd288433e9b59613cfca124de4a091b96fa773e93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8557dcd49e154595f548ca4ea24415e110f4ee9979018e90133a130b1dc031e7 [INFO] running `Command { std: "docker" "start" "-a" "8557dcd49e154595f548ca4ea24415e110f4ee9979018e90133a130b1dc031e7", kill_on_drop: false }` [INFO] [stderr] Checking rust-practic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/generics.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let p1 = Point { x: 1, y: 2 }; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/generics.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let p2 = Point { x: 1.0, y: 2.0 }; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/generics.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let p1 = Point { x: 1, y: 2 }; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/generics.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let p2 = Point { x: 1.0, y: 2.0 }; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user1` [INFO] [stdout] --> src/structs.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let user1 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/generics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 2 | x: T, [INFO] [stdout] | ^ [INFO] [stdout] 3 | y: T, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `largest_i32` is never used [INFO] [stdout] --> src/generics.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn largest_i32(list: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dummy3` is never used [INFO] [stdout] --> src/lifetime.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn dummy3() -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/stack_heap.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | Node(i32, Box), [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] 2 - Node(i32, Box), [INFO] [stdout] 2 + Node((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `sign_in_count`, and `active` are never read [INFO] [stdout] --> src/structs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | email: String, [INFO] [stdout] 5 | sign_in_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `headline`, `location`, `author`, and `content` are never read [INFO] [stdout] --> src/traits.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct NewsArticle { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 27 | headline: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reply` and `retweet` are never read [INFO] [stdout] --> src/traits.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct Tweet { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | reply: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | retweet: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/unit_test.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compare_area` is never used [INFO] [stdout] --> src/unit_test.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 6 | fn compare_area(&self, other: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `double_value` is never used [INFO] [stdout] --> src/unit_test.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn double_value(a: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `greeting` is never used [INFO] [stdout] --> src/unit_test.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn greeting(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user1` [INFO] [stdout] --> src/structs.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let user1 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/generics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 2 | x: T, [INFO] [stdout] | ^ [INFO] [stdout] 3 | y: T, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `largest_i32` is never used [INFO] [stdout] --> src/generics.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn largest_i32(list: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dummy3` is never used [INFO] [stdout] --> src/lifetime.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn dummy3() -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/stack_heap.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | Node(i32, Box), [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] 2 - Node(i32, Box), [INFO] [stdout] 2 + Node((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `sign_in_count`, and `active` are never read [INFO] [stdout] --> src/structs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | email: String, [INFO] [stdout] 5 | sign_in_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `headline`, `location`, `author`, and `content` are never read [INFO] [stdout] --> src/traits.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct NewsArticle { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 27 | headline: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reply` and `retweet` are never read [INFO] [stdout] --> src/traits.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct Tweet { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | reply: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | retweet: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "8557dcd49e154595f548ca4ea24415e110f4ee9979018e90133a130b1dc031e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8557dcd49e154595f548ca4ea24415e110f4ee9979018e90133a130b1dc031e7", kill_on_drop: false }` [INFO] [stdout] 8557dcd49e154595f548ca4ea24415e110f4ee9979018e90133a130b1dc031e7