[INFO] cloning repository https://github.com/wasswarichard/media [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wasswarichard/media" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasswarichard%2Fmedia", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasswarichard%2Fmedia'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e23bfe745d1c840aea20a53994e9b4311167d9b5 [INFO] checking wasswarichard/media against master#3350c1eb3fd8fe1bee1ed4c76944d707bd256876 for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasswarichard%2Fmedia" "/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/wasswarichard/media on toolchain 3350c1eb3fd8fe1bee1ed4c76944d707bd256876 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wasswarichard/media [INFO] finished tweaking git repo https://github.com/wasswarichard/media [INFO] tweaked toml for git repo https://github.com/wasswarichard/media written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wasswarichard/media 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" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e22e18cd44ef8ac7b6ac8175313b7fd56e581b79874a163f4c4e31a6d076650 [INFO] running `Command { std: "docker" "start" "-a" "1e22e18cd44ef8ac7b6ac8175313b7fd56e581b79874a163f4c4e31a6d076650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e22e18cd44ef8ac7b6ac8175313b7fd56e581b79874a163f4c4e31a6d076650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e22e18cd44ef8ac7b6ac8175313b7fd56e581b79874a163f4c4e31a6d076650", kill_on_drop: false }` [INFO] [stdout] 1e22e18cd44ef8ac7b6ac8175313b7fd56e581b79874a163f4c4e31a6d076650 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 628df46301a3e005d206dc1a5f514be362a7002a479f8cf1ad39860e2e71028c [INFO] running `Command { std: "docker" "start" "-a" "628df46301a3e005d206dc1a5f514be362a7002a479f8cf1ad39860e2e71028c", kill_on_drop: false }` [INFO] [stderr] Checking media v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/content/media.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/content/media.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 13 | Media::Book { title, author } => { [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 16 | Media::Movie { title, director} => { [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 19 | Media::AudioBook { title } =>{ [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 22 | Media::Podcast(episode_number) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 28 | _ => { [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `author` are never read [INFO] [stdout] --> src/content/media.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | Book { title: String, author: String }, [INFO] [stdout] | ---- ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Media` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `director` are never read [INFO] [stdout] --> src/content/media.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | Movie { title: String, director: String }, [INFO] [stdout] | ----- ^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Media` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/content/media.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | AudioBook { title: String }, [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Media` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/content/media.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Podcast(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Media` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - Podcast(u32), [INFO] [stdout] 6 + Podcast(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/content/media.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Media { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 11 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/content/media.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/content/media.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 13 | Media::Book { title, author } => { [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 16 | Media::Movie { title, director} => { [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 19 | Media::AudioBook { title } =>{ [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 22 | Media::Podcast(episode_number) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 28 | _ => { [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `author` are never read [INFO] [stdout] --> src/content/media.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | Book { title: String, author: String }, [INFO] [stdout] | ---- ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Media` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `director` are never read [INFO] [stdout] --> src/content/media.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | Movie { title: String, director: String }, [INFO] [stdout] | ----- ^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Media` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/content/media.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | AudioBook { title: String }, [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Media` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/content/media.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Podcast(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Media` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - Podcast(u32), [INFO] [stdout] 6 + Podcast(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/content/media.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Media { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 11 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "628df46301a3e005d206dc1a5f514be362a7002a479f8cf1ad39860e2e71028c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "628df46301a3e005d206dc1a5f514be362a7002a479f8cf1ad39860e2e71028c", kill_on_drop: false }` [INFO] [stdout] 628df46301a3e005d206dc1a5f514be362a7002a479f8cf1ad39860e2e71028c