[INFO] cloning repository https://github.com/maxmallz/structs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxmallz/structs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxmallz%2Fstructs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxmallz%2Fstructs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26f864c9a3cb779a456c2fea3f2b07ccb4dcb61d [INFO] checking maxmallz/structs against 98fd715edd3a0a5aa8f2041d7e20a3143b0fc0d3 for pr-160235-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxmallz%2Fstructs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/maxmallz/structs [INFO] finished tweaking git repo https://github.com/maxmallz/structs [INFO] tweaked toml for git repo https://github.com/maxmallz/structs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/maxmallz/structs on toolchain 98fd715edd3a0a5aa8f2041d7e20a3143b0fc0d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+98fd715edd3a0a5aa8f2041d7e20a3143b0fc0d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/maxmallz/structs 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" "+98fd715edd3a0a5aa8f2041d7e20a3143b0fc0d3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 287104a47bccca0bbdb8e209d21969c88a7381698681f7f9d14143f0ef594f80 [INFO] running `Command { std: "docker" "start" "287104a47bccca0bbdb8e209d21969c88a7381698681f7f9d14143f0ef594f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "287104a47bccca0bbdb8e209d21969c88a7381698681f7f9d14143f0ef594f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "287104a47bccca0bbdb8e209d21969c88a7381698681f7f9d14143f0ef594f80" "/opt/rustwide/cargo-home/bin/cargo" "+98fd715edd3a0a5aa8f2041d7e20a3143b0fc0d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "287104a47bccca0bbdb8e209d21969c88a7381698681f7f9d14143f0ef594f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "287104a47bccca0bbdb8e209d21969c88a7381698681f7f9d14143f0ef594f80" "/opt/rustwide/cargo-home/bin/cargo" "+98fd715edd3a0a5aa8f2041d7e20a3143b0fc0d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking structs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `print` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{print, println}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `print` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{print, println}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_name` [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let old_name = super_user.username; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_admin_usernam` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let old_admin_usernam = admin_user.username; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_admin_usernam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `admin_user_02` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let admin_user_02 = User { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_admin_user_02` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email`, `sign_in_count`, and `active` are never read [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | username: String, [INFO] [stdout] 6 | sign_in_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | active: bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `square` is never used [INFO] [stdout] --> src/main.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Rectangle { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 27 | fn square(width: u64) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_name` [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let old_name = super_user.username; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_admin_usernam` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let old_admin_usernam = admin_user.username; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_admin_usernam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `admin_user_02` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let admin_user_02 = User { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_admin_user_02` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email`, `sign_in_count`, and `active` are never read [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | username: String, [INFO] [stdout] 6 | sign_in_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | active: bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `square` is never used [INFO] [stdout] --> src/main.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Rectangle { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 27 | fn square(width: u64) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "287104a47bccca0bbdb8e209d21969c88a7381698681f7f9d14143f0ef594f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "287104a47bccca0bbdb8e209d21969c88a7381698681f7f9d14143f0ef594f80", kill_on_drop: false }` [INFO] [stdout] 287104a47bccca0bbdb8e209d21969c88a7381698681f7f9d14143f0ef594f80