[INFO] updating cached repository https://github.com/raul94a/rust-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa179c103f9dca8eae2d636456396cbe55071790 [INFO] checking raul94a/rust-playground/aa179c103f9dca8eae2d636456396cbe55071790 against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraul94a%2Frust-playground" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/raul94a/rust-playground [INFO] finished tweaking git repo https://github.com/raul94a/rust-playground [INFO] tweaked toml for git repo https://github.com/raul94a/rust-playground written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/raul94a/rust-playground on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/raul94a/rust-playground 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1b3ca6624cc9ede8fb432baf1ed0a6dcca321ca81b06fc5e21d2e8ec75cfbfe [INFO] running `Command { std: "docker" "start" "-a" "f1b3ca6624cc9ede8fb432baf1ed0a6dcca321ca81b06fc5e21d2e8ec75cfbfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1b3ca6624cc9ede8fb432baf1ed0a6dcca321ca81b06fc5e21d2e8ec75cfbfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1b3ca6624cc9ede8fb432baf1ed0a6dcca321ca81b06fc5e21d2e8ec75cfbfe", kill_on_drop: false }` [INFO] [stdout] f1b3ca6624cc9ede8fb432baf1ed0a6dcca321ca81b06fc5e21d2e8ec75cfbfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3602a7b227ba8a7982ecd8d42346727305a7c4387127f907fc6eb6defaa8c4cc [INFO] running `Command { std: "docker" "start" "-a" "3602a7b227ba8a7982ecd8d42346727305a7c4387127f907fc6eb6defaa8c4cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rust-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/square.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | let Point { x: x1, y: y1 } = top_left; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/square.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | let Point { x: x1, y: y1 } = top_left; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/square.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let Point { x: x2, y: y2 } = top_right; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y2` [INFO] [stdout] --> src/square.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | let Point { x: x2, y: y2 } = top_right; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x3` [INFO] [stdout] --> src/square.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | let Point { x: x3, y: y3 } = bottom_right; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y3` [INFO] [stdout] --> src/square.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | let Point { x: x3, y: y3 } = bottom_right; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x4` [INFO] [stdout] --> src/square.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | let Point { x: x4, y: y4 } = bottom_left; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y4` [INFO] [stdout] --> src/square.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let Point { x: x4, y: y4 } = bottom_left; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `len` is never read [INFO] [stdout] --> src/triangle.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let mut len = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bottom_left` is never read [INFO] [stdout] --> src/square.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Square { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | bottom_left: Point, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Square` 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: function `getPerimeter` should have a snake case name [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn getPerimeter(t: &T) -> f64{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_perimeter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/square.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | let Point { x: x1, y: y1 } = top_left; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/square.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | let Point { x: x1, y: y1 } = top_left; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/square.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let Point { x: x2, y: y2 } = top_right; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y2` [INFO] [stdout] --> src/square.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | let Point { x: x2, y: y2 } = top_right; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x3` [INFO] [stdout] --> src/square.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | let Point { x: x3, y: y3 } = bottom_right; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y3` [INFO] [stdout] --> src/square.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | let Point { x: x3, y: y3 } = bottom_right; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x4` [INFO] [stdout] --> src/square.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | let Point { x: x4, y: y4 } = bottom_left; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y4` [INFO] [stdout] --> src/square.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let Point { x: x4, y: y4 } = bottom_left; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `len` is never read [INFO] [stdout] --> src/triangle.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let mut len = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bottom_left` is never read [INFO] [stdout] --> src/square.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Square { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | bottom_left: Point, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Square` 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: function `getPerimeter` should have a snake case name [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn getPerimeter(t: &T) -> f64{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_perimeter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.90s [INFO] running `Command { std: "docker" "inspect" "3602a7b227ba8a7982ecd8d42346727305a7c4387127f907fc6eb6defaa8c4cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3602a7b227ba8a7982ecd8d42346727305a7c4387127f907fc6eb6defaa8c4cc", kill_on_drop: false }` [INFO] [stdout] 3602a7b227ba8a7982ecd8d42346727305a7c4387127f907fc6eb6defaa8c4cc