[INFO] cloning repository https://github.com/ibrahimiddogan/BookProject [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ibrahimiddogan/BookProject" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibrahimiddogan%2FBookProject", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibrahimiddogan%2FBookProject'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18630d31f4ea60c60540b9014e2441fc7a769920 [INFO] checking ibrahimiddogan/BookProject against try#ef5216c337126ffe24d074826f4023948c4a9b8e for pr-137033 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibrahimiddogan%2FBookProject" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ibrahimiddogan/BookProject on toolchain ef5216c337126ffe24d074826f4023948c4a9b8e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ibrahimiddogan/BookProject [INFO] finished tweaking git repo https://github.com/ibrahimiddogan/BookProject [INFO] tweaked toml for git repo https://github.com/ibrahimiddogan/BookProject written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ibrahimiddogan/BookProject 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" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fae75ce99a44dcd6e38837f5f86fbeb64dbfd2b7d2e518b5d30dcc939ade2fd5 [INFO] running `Command { std: "docker" "start" "-a" "fae75ce99a44dcd6e38837f5f86fbeb64dbfd2b7d2e518b5d30dcc939ade2fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fae75ce99a44dcd6e38837f5f86fbeb64dbfd2b7d2e518b5d30dcc939ade2fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fae75ce99a44dcd6e38837f5f86fbeb64dbfd2b7d2e518b5d30dcc939ade2fd5", kill_on_drop: false }` [INFO] [stdout] fae75ce99a44dcd6e38837f5f86fbeb64dbfd2b7d2e518b5d30dcc939ade2fd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e372ee73fc811d4741205e5382a5ba43e984e543f9dbdfeb9afdce83092e3c29 [INFO] running `Command { std: "docker" "start" "-a" "e372ee73fc811d4741205e5382a5ba43e984e543f9dbdfeb9afdce83092e3c29", kill_on_drop: false }` [INFO] [stderr] Checking booksystem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Movie` is never constructed [INFO] [stdout] --> src/main.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Movie { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `publish_year` and `category` are never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct Book { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | publish_year:u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | category:Category [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 `Scince`, `Action`, and `Adventure` are never constructed [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | enum Category { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 41 | Horror, [INFO] [stdout] 42 | Scince, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | Action, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | Adventure, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Category` 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: function `get_by_name` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_by_name(name:String,database:&mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Movie` is never constructed [INFO] [stdout] --> src/main.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Movie { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `publish_year` and `category` are never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct Book { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | publish_year:u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | category:Category [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 `Scince`, `Action`, and `Adventure` are never constructed [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | enum Category { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 41 | Horror, [INFO] [stdout] 42 | Scince, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | Action, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | Adventure, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Category` 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: function `get_by_name` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_by_name(name:String,database:&mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "e372ee73fc811d4741205e5382a5ba43e984e543f9dbdfeb9afdce83092e3c29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e372ee73fc811d4741205e5382a5ba43e984e543f9dbdfeb9afdce83092e3c29", kill_on_drop: false }` [INFO] [stdout] e372ee73fc811d4741205e5382a5ba43e984e543f9dbdfeb9afdce83092e3c29