[INFO] cloning repository https://github.com/lovubuntu/rust-retelecast [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lovubuntu/rust-retelecast" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flovubuntu%2Frust-retelecast", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flovubuntu%2Frust-retelecast'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4ee3775e64b6cc5fb4fc23f4c571f698ef5ecd6 [INFO] checking lovubuntu/rust-retelecast against master#90384941aae4ea38de00e4702b50757e9b882a19 for pr-138340 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flovubuntu%2Frust-retelecast" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lovubuntu/rust-retelecast on toolchain 90384941aae4ea38de00e4702b50757e9b882a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lovubuntu/rust-retelecast [INFO] finished tweaking git repo https://github.com/lovubuntu/rust-retelecast [INFO] tweaked toml for git repo https://github.com/lovubuntu/rust-retelecast written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lovubuntu/rust-retelecast 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" "+90384941aae4ea38de00e4702b50757e9b882a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+90384941aae4ea38de00e4702b50757e9b882a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89ffa9d7a331d3f6dbfd0cc3339780e2dbfbbf395c0cfdd66276d5e9646036b6 [INFO] running `Command { std: "docker" "start" "-a" "89ffa9d7a331d3f6dbfd0cc3339780e2dbfbbf395c0cfdd66276d5e9646036b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89ffa9d7a331d3f6dbfd0cc3339780e2dbfbbf395c0cfdd66276d5e9646036b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89ffa9d7a331d3f6dbfd0cc3339780e2dbfbbf395c0cfdd66276d5e9646036b6", kill_on_drop: false }` [INFO] [stdout] 89ffa9d7a331d3f6dbfd0cc3339780e2dbfbbf395c0cfdd66276d5e9646036b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+90384941aae4ea38de00e4702b50757e9b882a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5aac5607ef75d568197d294c4940198d2b4270cdf30194264acec357fe25e6d2 [INFO] running `Command { std: "docker" "start" "-a" "5aac5607ef75d568197d294c4940198d2b4270cdf30194264acec357fe25e6d2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking smallvec v0.4.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Checking backtrace v0.3.54 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking ferris-says v0.2.0 [INFO] [stderr] Checking retelecast v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `seasonal_fruit` is never read [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Breakfast { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 4 | pub bread: String, [INFO] [stdout] 5 | seasonal_fruit: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Breakfast` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn eat_at_restaurant() { [INFO] [stdout] | -------------------------- move the `impl` block outside of this function `eat_at_restaurant` [INFO] [stdout] ... [INFO] [stdout] 25 | impl back_of_house::Appetizer { [INFO] [stdout] | ^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Appetizer` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seasonal_fruit` is never read [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Breakfast { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 4 | pub bread: String, [INFO] [stdout] 5 | seasonal_fruit: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Breakfast` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn eat_at_restaurant() { [INFO] [stdout] | -------------------------- move the `impl` block outside of this function `eat_at_restaurant` [INFO] [stdout] ... [INFO] [stdout] 25 | impl back_of_house::Appetizer { [INFO] [stdout] | ^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Appetizer` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(num) => (num), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - Ok(num) => (num), [INFO] [stdout] 35 + Ok(num) => num, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(num) => (num), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - Ok(num) => (num), [INFO] [stdout] 35 + Ok(num) => num, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.15s [INFO] running `Command { std: "docker" "inspect" "5aac5607ef75d568197d294c4940198d2b4270cdf30194264acec357fe25e6d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aac5607ef75d568197d294c4940198d2b4270cdf30194264acec357fe25e6d2", kill_on_drop: false }` [INFO] [stdout] 5aac5607ef75d568197d294c4940198d2b4270cdf30194264acec357fe25e6d2