[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 master#03eb45452305f2d52348279d0caa5fc1f12c438d for pr-138176 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibrahimiddogan%2FBookProject" "/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/ibrahimiddogan/BookProject on toolchain 03eb45452305f2d52348279d0caa5fc1f12c438d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "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-4-tc1/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" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "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" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddc3c21afefc0d85fc3840d7b1c350255cd5a1c3ae7101e3733dfc5e8e60569b [INFO] running `Command { std: "docker" "start" "-a" "ddc3c21afefc0d85fc3840d7b1c350255cd5a1c3ae7101e3733dfc5e8e60569b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddc3c21afefc0d85fc3840d7b1c350255cd5a1c3ae7101e3733dfc5e8e60569b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddc3c21afefc0d85fc3840d7b1c350255cd5a1c3ae7101e3733dfc5e8e60569b", kill_on_drop: false }` [INFO] [stdout] ddc3c21afefc0d85fc3840d7b1c350255cd5a1c3ae7101e3733dfc5e8e60569b [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" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2243cc5eada0b2ead98503b503f0bd1f72cface9de8da962588e84a0a4a2da89 [INFO] running `Command { std: "docker" "start" "-a" "2243cc5eada0b2ead98503b503f0bd1f72cface9de8da962588e84a0a4a2da89", 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.21s [INFO] running `Command { std: "docker" "inspect" "2243cc5eada0b2ead98503b503f0bd1f72cface9de8da962588e84a0a4a2da89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2243cc5eada0b2ead98503b503f0bd1f72cface9de8da962588e84a0a4a2da89", kill_on_drop: false }` [INFO] [stdout] 2243cc5eada0b2ead98503b503f0bd1f72cface9de8da962588e84a0a4a2da89