[INFO] fetching crate codegen 0.2.0...
[INFO] checking codegen-0.2.0 against master#e59540968e0c6fc3c37d92a639b83fc8fcee5e81 for pr-114559
[INFO] extracting crate codegen 0.2.0 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate codegen 0.2.0 on toolchain e59540968e0c6fc3c37d92a639b83fc8fcee5e81
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e59540968e0c6fc3c37d92a639b83fc8fcee5e81" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate codegen 0.2.0
[INFO] finished tweaking crates.io crate codegen 0.2.0
[INFO] tweaked toml for crates.io crate codegen 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e59540968e0c6fc3c37d92a639b83fc8fcee5e81" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e59540968e0c6fc3c37d92a639b83fc8fcee5e81" "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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+e59540968e0c6fc3c37d92a639b83fc8fcee5e81" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dfb1a52b16109fdfbacdf2a5d0a1a83128718f604319e7082f4c4fb61424ec85
[INFO] running `Command { std: "docker" "start" "-a" "dfb1a52b16109fdfbacdf2a5d0a1a83128718f604319e7082f4c4fb61424ec85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfb1a52b16109fdfbacdf2a5d0a1a83128718f604319e7082f4c4fb61424ec85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfb1a52b16109fdfbacdf2a5d0a1a83128718f604319e7082f4c4fb61424ec85", kill_on_drop: false }`
[INFO] [stdout] dfb1a52b16109fdfbacdf2a5d0a1a83128718f604319e7082f4c4fb61424ec85
[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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+e59540968e0c6fc3c37d92a639b83fc8fcee5e81" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f4ddc3f79ffb6cbc42694461d3058dd1578f8a1f3ea88cdeb48e43f92e8df972
[INFO] running `Command { std: "docker" "start" "-a" "f4ddc3f79ffb6cbc42694461d3058dd1578f8a1f3ea88cdeb48e43f92e8df972", kill_on_drop: false }`
[INFO] [stderr]     Checking codegen v0.2.0 (/opt/rustwide/workdir)
[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<Docs>,
[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 `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/scope.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Scope {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 23 |     /// Scope documentation
[INFO] [stdout] 24 |     docs: Option<Docs>,
[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 `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<Docs>,
[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 `macros` is never read
[INFO] [stdout]   --> src/trait.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Trait {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     macros: Vec<String>,
[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 `docs` is never read
[INFO] [stdout]   --> src/scope.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Scope {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 23 |     /// Scope documentation
[INFO] [stdout] 24 |     docs: Option<Docs>,
[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:21:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Trait {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     macros: Vec<String>,
[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: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> tests/codegen.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |     field1.doc(doc.clone());
[INFO] [stdout]    |                   ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.25s
[INFO] running `Command { std: "docker" "inspect" "f4ddc3f79ffb6cbc42694461d3058dd1578f8a1f3ea88cdeb48e43f92e8df972", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4ddc3f79ffb6cbc42694461d3058dd1578f8a1f3ea88cdeb48e43f92e8df972", kill_on_drop: false }`
[INFO] [stdout] f4ddc3f79ffb6cbc42694461d3058dd1578f8a1f3ea88cdeb48e43f92e8df972
