[INFO] cloning repository https://github.com/mehmetemincetin-06/booksystem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mehmetemincetin-06/booksystem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmehmetemincetin-06%2Fbooksystem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmehmetemincetin-06%2Fbooksystem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98934b3c4d8ccf236add1d30b5ab4226ee2084c0 [INFO] checking mehmetemincetin-06/booksystem against master#f2d69d5a7c04617d122facd0a7a5bdde0af928ae for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmehmetemincetin-06%2Fbooksystem" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mehmetemincetin-06/booksystem on toolchain f2d69d5a7c04617d122facd0a7a5bdde0af928ae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mehmetemincetin-06/booksystem [INFO] finished tweaking git repo https://github.com/mehmetemincetin-06/booksystem [INFO] tweaked toml for git repo https://github.com/mehmetemincetin-06/booksystem written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mehmetemincetin-06/booksystem 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" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b9937e383c954fb38c5a2375fd65e867a2d5051dbe56d6d0539ead7ea296ab8 [INFO] running `Command { std: "docker" "start" "-a" "8b9937e383c954fb38c5a2375fd65e867a2d5051dbe56d6d0539ead7ea296ab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b9937e383c954fb38c5a2375fd65e867a2d5051dbe56d6d0539ead7ea296ab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b9937e383c954fb38c5a2375fd65e867a2d5051dbe56d6d0539ead7ea296ab8", kill_on_drop: false }` [INFO] [stdout] 8b9937e383c954fb38c5a2375fd65e867a2d5051dbe56d6d0539ead7ea296ab8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3788672dc399432118d76881116bd00edd0ef5f76df61f9eba12d2a177517c7d [INFO] running `Command { std: "docker" "start" "-a" "3788672dc399432118d76881116bd00edd0ef5f76df61f9eba12d2a177517c7d", kill_on_drop: false }` [INFO] [stderr] Checking booksystem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | database.push((book.clone())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 - database.push((book.clone())); [INFO] [stdout] 49 + database.push(book.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | database.push((book.clone())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 - database.push((book.clone())); [INFO] [stdout] 49 + database.push(book.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Movie` is never constructed [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Movie{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `price` and `category` are never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Book { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 24 | name:String, [INFO] [stdout] 25 | price:u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | category:Catergory [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Book` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Science`, `Action`, `Adventure`, and `Criminal` are never constructed [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | enum Catergory{ [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 31 | Horror, [INFO] [stdout] 32 | Science, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | Action, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | Adventure, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | Criminal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Catergory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Movie` is never constructed [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Movie{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `price` and `category` are never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Book { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 24 | name:String, [INFO] [stdout] 25 | price:u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | category:Catergory [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Book` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Science`, `Action`, `Adventure`, and `Criminal` are never constructed [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | enum Catergory{ [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 31 | Horror, [INFO] [stdout] 32 | Science, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | Action, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | Adventure, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | Criminal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Catergory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "3788672dc399432118d76881116bd00edd0ef5f76df61f9eba12d2a177517c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3788672dc399432118d76881116bd00edd0ef5f76df61f9eba12d2a177517c7d", kill_on_drop: false }` [INFO] [stdout] 3788672dc399432118d76881116bd00edd0ef5f76df61f9eba12d2a177517c7d