[INFO] cloning repository https://github.com/tayorh27/intermediate-concepts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tayorh27/intermediate-concepts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftayorh27%2Fintermediate-concepts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftayorh27%2Fintermediate-concepts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32bc0ccecc2fb26f0dac34cda76d60ee235462e2 [INFO] checking tayorh27/intermediate-concepts against try#4c525d43052e921548191f82f6ed9e2f9e98dcb1 for pr-136988 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftayorh27%2Fintermediate-concepts" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tayorh27/intermediate-concepts on toolchain 4c525d43052e921548191f82f6ed9e2f9e98dcb1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tayorh27/intermediate-concepts [INFO] finished tweaking git repo https://github.com/tayorh27/intermediate-concepts [INFO] tweaked toml for git repo https://github.com/tayorh27/intermediate-concepts written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tayorh27/intermediate-concepts 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" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dfa07ddcc1278739025552fd35d1bc443738310d252df9d57e1adec06d3bae6 [INFO] running `Command { std: "docker" "start" "-a" "9dfa07ddcc1278739025552fd35d1bc443738310d252df9d57e1adec06d3bae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dfa07ddcc1278739025552fd35d1bc443738310d252df9d57e1adec06d3bae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dfa07ddcc1278739025552fd35d1bc443738310d252df9d57e1adec06d3bae6", kill_on_drop: false }` [INFO] [stdout] 9dfa07ddcc1278739025552fd35d1bc443738310d252df9d57e1adec06d3bae6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7188a3fd54cc2405c15c3b3c3ff6349996bb74dd36f377c9dce8df7116c37459 [INFO] running `Command { std: "docker" "start" "-a" "7188a3fd54cc2405c15c3b3c3ff6349996bb74dd36f377c9dce8df7116c37459", kill_on_drop: false }` [INFO] [stderr] Checking intermediate-concepts v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec1` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let rec1 = Rectangle{height: 1, width: 2}; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rec1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec1` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let rec1 = Rectangle{height: 1.65, width: 2.22}; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rec1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube1` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let cube1 = Cube{height: 1, width: 2, length: 3}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cube1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube1` [INFO] [stdout] --> src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let cube1 = Cube{height: 1.54, width: 2, length: 3.75}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cube1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/main.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | fn lookup_datatype(object: T) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | let x = closures_example_1(1, 3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `os_command` is never used [INFO] [stdout] --> src/main.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn os_command() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_handling_example` is never used [INFO] [stdout] --> src/main.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn error_handling_example(dir: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Option` is never used [INFO] [stdout] --> src/main.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | enum Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MResult` is never used [INFO] [stdout] --> src/main.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | enum MResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Custom` is never used [INFO] [stdout] --> src/main.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | enum Custom { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cube` is never constructed [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | struct Cube { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `struct_example` is never used [INFO] [stdout] --> src/main.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn struct_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closure_example_2` is never used [INFO] [stdout] --> src/main.rs:169:4 [INFO] [stdout] | [INFO] [stdout] 169 | fn closure_example_2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec1` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let rec1 = Rectangle{height: 1, width: 2}; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rec1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec1` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let rec1 = Rectangle{height: 1.65, width: 2.22}; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rec1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube1` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let cube1 = Cube{height: 1, width: 2, length: 3}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cube1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube1` [INFO] [stdout] --> src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let cube1 = Cube{height: 1.54, width: 2, length: 3.75}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cube1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/main.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | fn lookup_datatype(object: T) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | let x = closures_example_1(1, 3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `os_command` is never used [INFO] [stdout] --> src/main.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn os_command() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_handling_example` is never used [INFO] [stdout] --> src/main.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn error_handling_example(dir: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Option` is never used [INFO] [stdout] --> src/main.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | enum Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MResult` is never used [INFO] [stdout] --> src/main.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | enum MResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Custom` is never used [INFO] [stdout] --> src/main.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | enum Custom { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cube` is never constructed [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | struct Cube { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `struct_example` is never used [INFO] [stdout] --> src/main.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn struct_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closure_example_2` is never used [INFO] [stdout] --> src/main.rs:169:4 [INFO] [stdout] | [INFO] [stdout] 169 | fn closure_example_2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "7188a3fd54cc2405c15c3b3c3ff6349996bb74dd36f377c9dce8df7116c37459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7188a3fd54cc2405c15c3b3c3ff6349996bb74dd36f377c9dce8df7116c37459", kill_on_drop: false }` [INFO] [stdout] 7188a3fd54cc2405c15c3b3c3ff6349996bb74dd36f377c9dce8df7116c37459