[INFO] fetching crate codegen2 0.1.4... [INFO] checking codegen2-0.1.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate codegen2 0.1.4 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate codegen2 0.1.4 [INFO] finished tweaking crates.io crate codegen2 0.1.4 [INFO] tweaked toml for crates.io crate codegen2 0.1.4 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate codegen2 0.1.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 643bbf2ab3c6780bee7eb2a69ab50c018318e69d4afbbd4bee250f867c60e78c [INFO] running `Command { std: "docker" "start" "-a" "643bbf2ab3c6780bee7eb2a69ab50c018318e69d4afbbd4bee250f867c60e78c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "643bbf2ab3c6780bee7eb2a69ab50c018318e69d4afbbd4bee250f867c60e78c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "643bbf2ab3c6780bee7eb2a69ab50c018318e69d4afbbd4bee250f867c60e78c", kill_on_drop: false }` [INFO] [stdout] 643bbf2ab3c6780bee7eb2a69ab50c018318e69d4afbbd4bee250f867c60e78c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51a1c85b6833e4c9a05cb428e2ffc8daa0ed7b8f82a03d64f3862a8d6eee701d [INFO] running `Command { std: "docker" "start" "-a" "51a1c85b6833e4c9a05cb428e2ffc8daa0ed7b8f82a03d64f3862a8d6eee701d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking codegen2 v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: hidden lifetime parameters in types are deprecated [INFO] [stdout] --> src/type_def.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | fn fmt_allow(&self, fmt: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ expected lifetime parameter [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![warn(rust_2018_idioms)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_paths)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] help: indicate the anonymous lifetime [INFO] [stdout] | [INFO] [stdout] 110 | fn fmt_allow(&self, fmt: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hidden lifetime parameters in types are deprecated [INFO] [stdout] --> src/type_def.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | fn fmt_allow(&self, fmt: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ expected lifetime parameter [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![warn(rust_2018_idioms)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_paths)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] help: indicate the anonymous lifetime [INFO] [stdout] | [INFO] [stdout] 110 | fn fmt_allow(&self, fmt: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/import.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Import { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | line: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `docs` is never read [INFO] [stdout] --> src/module.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | docs: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` 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: field `docs` is never read [INFO] [stdout] --> src/scope.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 22 | /// Scope documentation [INFO] [stdout] 23 | docs: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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: field `macros` is never read [INFO] [stdout] --> src/trait.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Trait { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | macros: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trait` 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: field `line` is never read [INFO] [stdout] --> src/import.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Import { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | line: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.30s [INFO] [stdout] warning: field `docs` is never read [INFO] [stdout] --> src/module.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | docs: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` 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: field `docs` is never read [INFO] [stdout] --> src/scope.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 22 | /// Scope documentation [INFO] [stdout] 23 | docs: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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: field `macros` is never read [INFO] [stdout] --> src/trait.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Trait { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | macros: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "51a1c85b6833e4c9a05cb428e2ffc8daa0ed7b8f82a03d64f3862a8d6eee701d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51a1c85b6833e4c9a05cb428e2ffc8daa0ed7b8f82a03d64f3862a8d6eee701d", kill_on_drop: false }` [INFO] [stdout] 51a1c85b6833e4c9a05cb428e2ffc8daa0ed7b8f82a03d64f3862a8d6eee701d