[INFO] cloning repository https://github.com/wasif1024/rust-generics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wasif1024/rust-generics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasif1024%2Frust-generics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasif1024%2Frust-generics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd5e951fa18e82d6ccd4cefb934de8550fb3c20e [INFO] checking wasif1024/rust-generics against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasif1024%2Frust-generics" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wasif1024/rust-generics on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wasif1024/rust-generics [INFO] finished tweaking git repo https://github.com/wasif1024/rust-generics [INFO] tweaked toml for git repo https://github.com/wasif1024/rust-generics written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wasif1024/rust-generics 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0a639cb81621222e8cd2e7feeef2cc130c44e7294b4d7f52062ff1cedaac908 [INFO] running `Command { std: "docker" "start" "-a" "d0a639cb81621222e8cd2e7feeef2cc130c44e7294b4d7f52062ff1cedaac908", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0a639cb81621222e8cd2e7feeef2cc130c44e7294b4d7f52062ff1cedaac908", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0a639cb81621222e8cd2e7feeef2cc130c44e7294b4d7f52062ff1cedaac908", kill_on_drop: false }` [INFO] [stdout] d0a639cb81621222e8cd2e7feeef2cc130c44e7294b4d7f52062ff1cedaac908 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6a0dd853e2cb8674bef3c0aa3005c47cf2480626865a2cfb18f975687193faf [INFO] running `Command { std: "docker" "start" "-a" "b6a0dd853e2cb8674bef3c0aa3005c47cf2480626865a2cfb18f975687193faf", kill_on_drop: false }` [INFO] [stderr] Checking generics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `rect1` [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let rect1 = Rectangle{height: 1, width: 2}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect1` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let rect1 = Rectangle{height: 1.65, width: 2.22}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube1` [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | 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:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | 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:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | 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: function `option_example` is never used [INFO] [stdout] --> src/main.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn option_example(x: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_handling_example_1` is never used [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn error_handling_example_1(dir: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Custom` is never used [INFO] [stdout] --> src/main.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | enum Custom { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/main.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cube` is never constructed [INFO] [stdout] --> src/main.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct Cube { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `struct_example` is never used [INFO] [stdout] --> src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn struct_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect1` [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let rect1 = Rectangle{height: 1, width: 2}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect1` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let rect1 = Rectangle{height: 1.65, width: 2.22}; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube1` [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | 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:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | 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:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | 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: function `option_example` is never used [INFO] [stdout] --> src/main.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn option_example(x: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_handling_example_1` is never used [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn error_handling_example_1(dir: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Custom` is never used [INFO] [stdout] --> src/main.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | enum Custom { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/main.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cube` is never constructed [INFO] [stdout] --> src/main.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct Cube { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `struct_example` is never used [INFO] [stdout] --> src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn struct_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "b6a0dd853e2cb8674bef3c0aa3005c47cf2480626865a2cfb18f975687193faf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a0dd853e2cb8674bef3c0aa3005c47cf2480626865a2cfb18f975687193faf", kill_on_drop: false }` [INFO] [stdout] b6a0dd853e2cb8674bef3c0aa3005c47cf2480626865a2cfb18f975687193faf