[INFO] cloning repository https://github.com/pulkitgangwar/rust-media-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pulkitgangwar/rust-media-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpulkitgangwar%2Frust-media-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpulkitgangwar%2Frust-media-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2411fe083eb36459c22296eb366fe8be32d1fb59 [INFO] checking pulkitgangwar/rust-media-example against master#613bdd49978298648ed05ace086bd1ecad54b44a for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpulkitgangwar%2Frust-media-example" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pulkitgangwar/rust-media-example on toolchain 613bdd49978298648ed05ace086bd1ecad54b44a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pulkitgangwar/rust-media-example [INFO] finished tweaking git repo https://github.com/pulkitgangwar/rust-media-example [INFO] tweaked toml for git repo https://github.com/pulkitgangwar/rust-media-example written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pulkitgangwar/rust-media-example 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" "+613bdd49978298648ed05ace086bd1ecad54b44a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e65c4439a02e5b452cd12242adb74146e097f13f1f018c07ab3ca5b55a74992 [INFO] running `Command { std: "docker" "start" "-a" "8e65c4439a02e5b452cd12242adb74146e097f13f1f018c07ab3ca5b55a74992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e65c4439a02e5b452cd12242adb74146e097f13f1f018c07ab3ca5b55a74992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e65c4439a02e5b452cd12242adb74146e097f13f1f018c07ab3ca5b55a74992", kill_on_drop: false }` [INFO] [stdout] 8e65c4439a02e5b452cd12242adb74146e097f13f1f018c07ab3ca5b55a74992 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bedde85c6873448b26a6f157d96bc9eb0c842024c1f21fd52542d5058eba1488 [INFO] running `Command { std: "docker" "start" "-a" "bedde85c6873448b26a6f157d96bc9eb0c842024c1f21fd52542d5058eba1488", kill_on_drop: false }` [INFO] [stderr] Checking media v0.1.0 (/opt/rustwide/workdir) [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: variants `Movie`, `Audiobook`, `Podcast`, and `Placeholder` are never constructed [INFO] [stdout] --> src/content/media.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Media { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | Book { title: String, author: String }, [INFO] [stdout] 4 | Movie { title: String, director: String }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Audiobook { title: String }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | Podcast(u32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | Placeholder, [INFO] [stdout] | ^^^^^^^^^^^ [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: 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: 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: variants `Movie`, `Audiobook`, `Podcast`, and `Placeholder` are never constructed [INFO] [stdout] --> src/content/media.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Media { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | Book { title: String, author: String }, [INFO] [stdout] 4 | Movie { title: String, director: String }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Audiobook { title: String }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | Podcast(u32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | Placeholder, [INFO] [stdout] | ^^^^^^^^^^^ [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: 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.21s [INFO] running `Command { std: "docker" "inspect" "bedde85c6873448b26a6f157d96bc9eb0c842024c1f21fd52542d5058eba1488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bedde85c6873448b26a6f157d96bc9eb0c842024c1f21fd52542d5058eba1488", kill_on_drop: false }` [INFO] [stdout] bedde85c6873448b26a6f157d96bc9eb0c842024c1f21fd52542d5058eba1488