[INFO] cloning repository https://github.com/trinitronx/rust-structs-rectangles [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trinitronx/rust-structs-rectangles" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrinitronx%2Frust-structs-rectangles", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrinitronx%2Frust-structs-rectangles'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2613bd45f90c6c9176e05fe8e02956f78046003d [INFO] checking trinitronx/rust-structs-rectangles against master#19f42cb9bb65555e7d95dab7d17573ae6c5d634c for pr-139087 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrinitronx%2Frust-structs-rectangles" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trinitronx/rust-structs-rectangles on toolchain 19f42cb9bb65555e7d95dab7d17573ae6c5d634c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trinitronx/rust-structs-rectangles [INFO] finished tweaking git repo https://github.com/trinitronx/rust-structs-rectangles [INFO] tweaked toml for git repo https://github.com/trinitronx/rust-structs-rectangles written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/trinitronx/rust-structs-rectangles 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" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aabc57558e74c1884f52977d17c8f9ce11d2351dc9a38d8ef6bad3e3ffce5cde [INFO] running `Command { std: "docker" "start" "-a" "aabc57558e74c1884f52977d17c8f9ce11d2351dc9a38d8ef6bad3e3ffce5cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aabc57558e74c1884f52977d17c8f9ce11d2351dc9a38d8ef6bad3e3ffce5cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aabc57558e74c1884f52977d17c8f9ce11d2351dc9a38d8ef6bad3e3ffce5cde", kill_on_drop: false }` [INFO] [stdout] aabc57558e74c1884f52977d17c8f9ce11d2351dc9a38d8ef6bad3e3ffce5cde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5010b4285b5a9bbbbf38593092cfb5339a3a5ef872b919cef1dba50b5773409 [INFO] running `Command { std: "docker" "start" "-a" "d5010b4285b5a9bbbbf38593092cfb5339a3a5ef872b919cef1dba50b5773409", kill_on_drop: false }` [INFO] [stderr] Checking rectangles v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `rect2` [INFO] [stdout] --> src/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let rect2 = Rectangle { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect2` [INFO] [stdout] --> src/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let rect2 = Rectangle { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 106 | struct DebugRectangle { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 107 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 108 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugRectangle` 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 `height` is never read [INFO] [stdout] --> src/main.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 254 | struct RectangleMethodWidth { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 255 | width: u32, [INFO] [stdout] 256 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RectangleMethodWidth` 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 `width` and `height` are never read [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 106 | struct DebugRectangle { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 107 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 108 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugRectangle` 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: method `area` is never used [INFO] [stdout] --> src/main.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 371 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 372 | fn area(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> src/main.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 254 | struct RectangleMethodWidth { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 255 | width: u32, [INFO] [stdout] 256 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RectangleMethodWidth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_hold` is never used [INFO] [stdout] --> src/main.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 377 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 378 | fn can_hold(&self, other: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `area` is never used [INFO] [stdout] --> src/main.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 371 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 372 | fn area(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_hold` is never used [INFO] [stdout] --> src/main.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 377 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 378 | fn can_hold(&self, other: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "d5010b4285b5a9bbbbf38593092cfb5339a3a5ef872b919cef1dba50b5773409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5010b4285b5a9bbbbf38593092cfb5339a3a5ef872b919cef1dba50b5773409", kill_on_drop: false }` [INFO] [stdout] d5010b4285b5a9bbbbf38593092cfb5339a3a5ef872b919cef1dba50b5773409