[INFO] fetching crate codegen-rs 0.1.4... [INFO] testing codegen-rs-0.1.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate codegen-rs 0.1.4 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate codegen-rs 0.1.4 [INFO] finished tweaking crates.io crate codegen-rs 0.1.4 [INFO] tweaked toml for crates.io crate codegen-rs 0.1.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate codegen-rs 0.1.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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.12.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 099db8a39c2765955281fbf1617c0a26380d29ff50e2173c82bccd8d2ece48bd [INFO] running `Command { std: "docker" "start" "-a" "099db8a39c2765955281fbf1617c0a26380d29ff50e2173c82bccd8d2ece48bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "099db8a39c2765955281fbf1617c0a26380d29ff50e2173c82bccd8d2ece48bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "099db8a39c2765955281fbf1617c0a26380d29ff50e2173c82bccd8d2ece48bd", kill_on_drop: false }` [INFO] [stdout] 099db8a39c2765955281fbf1617c0a26380d29ff50e2173c82bccd8d2ece48bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7421afda2c4a727b81eea1d72457bdcf231bab2ea4f3517e47cc18fde890b0df [INFO] running `Command { std: "docker" "start" "-a" "7421afda2c4a727b81eea1d72457bdcf231bab2ea4f3517e47cc18fde890b0df", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling codegen-rs v0.1.4 (/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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.40s [INFO] running `Command { std: "docker" "inspect" "7421afda2c4a727b81eea1d72457bdcf231bab2ea4f3517e47cc18fde890b0df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7421afda2c4a727b81eea1d72457bdcf231bab2ea4f3517e47cc18fde890b0df", kill_on_drop: false }` [INFO] [stdout] 7421afda2c4a727b81eea1d72457bdcf231bab2ea4f3517e47cc18fde890b0df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77808496ad59f0dabc06a7fec77cd89daa8f48ffc8290ecfd703a3bacd3a9e69 [INFO] running `Command { std: "docker" "start" "-a" "77808496ad59f0dabc06a7fec77cd89daa8f48ffc8290ecfd703a3bacd3a9e69", kill_on_drop: false }` [INFO] [stderr] Compiling codegen-rs v0.1.4 (/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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "77808496ad59f0dabc06a7fec77cd89daa8f48ffc8290ecfd703a3bacd3a9e69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77808496ad59f0dabc06a7fec77cd89daa8f48ffc8290ecfd703a3bacd3a9e69", kill_on_drop: false }` [INFO] [stdout] 77808496ad59f0dabc06a7fec77cd89daa8f48ffc8290ecfd703a3bacd3a9e69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a71d95a69eb941c1760408047e1e6c74fd3a33e871bf94ef9713ceac1c817db4 [INFO] running `Command { std: "docker" "start" "-a" "a71d95a69eb941c1760408047e1e6c74fd3a33e871bf94ef9713ceac1c817db4", kill_on_drop: false }` [INFO] [stderr] warning: field `line` is never read [INFO] [stderr] --> src/import.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct Import { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 4 | line: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Import` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `docs` is never read [INFO] [stderr] --> src/module.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Module { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 23 | docs: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Module` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `docs` is never read [INFO] [stderr] --> src/scope.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct Scope { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 22 | /// Scope documentation [INFO] [stderr] 23 | docs: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Scope` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `macros` is never read [INFO] [stderr] --> src/trait.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Trait { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | macros: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Trait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `codegen-rs` (lib) generated 4 warnings [INFO] [stderr] warning: `codegen-rs` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/codegen_rs-2d61cf88fa93f417) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/codegen.rs (/opt/rustwide/target/debug/deps/codegen-c257d6dbce7e42cb) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test empty_scope ... ok [INFO] [stdout] test empty_struct ... ok [INFO] [stdout] test enum_with_repr ... ok [INFO] [stdout] test enum_with_variant_doc ... ok [INFO] [stdout] test function_with_async ... ok [INFO] [stdout] test enum_with_allow ... ok [INFO] [stdout] test impl_with_macros ... ok [INFO] [stdout] test module_mut ... ok [INFO] [stdout] test enum_with_non_exhaustive ... ok [INFO] [stdout] test single_fn ... ok [INFO] [stdout] test get_or_new_module ... ok [INFO] [stdout] test scoped_imports ... ok [INFO] [stdout] test single_struct ... ok [INFO] [stdout] test struct_doc ... ok [INFO] [stdout] test single_struct_documented_field ... ok [INFO] [stdout] test struct_mod_import ... ok [INFO] [stdout] test struct_where_clause_2 ... ok [INFO] [stdout] test struct_where_clause_1 ... ok [INFO] [stdout] test struct_with_derive ... ok [INFO] [stdout] test struct_with_generics_3 ... ok [INFO] [stdout] test struct_with_generics_1 ... ok [INFO] [stdout] test struct_with_allow ... ok [INFO] [stdout] test struct_with_multiple_allow ... ok [INFO] [stdout] test trait_with_macros ... ok [INFO] [stdout] test struct_with_pushed_field ... ok [INFO] [stdout] test struct_with_generics_2 ... ok [INFO] [stdout] test struct_with_repr ... ok [INFO] [stdout] test two_structs ... ok [INFO] [stdout] test struct_in_mod ... ok [INFO] [stdout] test enum_with_multiple_allow ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests codegen_rs [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/function.rs - function::Function::attr (line 177) ... ok [INFO] [stdout] test src/function.rs - function::Function::extern_abi (line 191) ... ok [INFO] [stdout] test src/lib.rs - (line 15) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a71d95a69eb941c1760408047e1e6c74fd3a33e871bf94ef9713ceac1c817db4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a71d95a69eb941c1760408047e1e6c74fd3a33e871bf94ef9713ceac1c817db4", kill_on_drop: false }` [INFO] [stdout] a71d95a69eb941c1760408047e1e6c74fd3a33e871bf94ef9713ceac1c817db4