[INFO] fetching crate codegen-rs 0.1.4... [INFO] testing codegen-rs-0.1.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate codegen-rs 0.1.4 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate codegen-rs 0.1.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 442b87995b2ef092aa9d202482366a53b684021ff7a07b1a7f14d27398cc36fb [INFO] running `Command { std: "docker" "start" "-a" "442b87995b2ef092aa9d202482366a53b684021ff7a07b1a7f14d27398cc36fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "442b87995b2ef092aa9d202482366a53b684021ff7a07b1a7f14d27398cc36fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "442b87995b2ef092aa9d202482366a53b684021ff7a07b1a7f14d27398cc36fb", kill_on_drop: false }` [INFO] [stdout] 442b87995b2ef092aa9d202482366a53b684021ff7a07b1a7f14d27398cc36fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac386929899565a18fe5ee53d5ff21cc2d896ddfa56e108de2985045521a50b3 [INFO] running `Command { std: "docker" "start" "-a" "ac386929899565a18fe5ee53d5ff21cc2d896ddfa56e108de2985045521a50b3", 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.52s [INFO] running `Command { std: "docker" "inspect" "ac386929899565a18fe5ee53d5ff21cc2d896ddfa56e108de2985045521a50b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac386929899565a18fe5ee53d5ff21cc2d896ddfa56e108de2985045521a50b3", kill_on_drop: false }` [INFO] [stdout] ac386929899565a18fe5ee53d5ff21cc2d896ddfa56e108de2985045521a50b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9f5085ec734138d7d72289f3806b0b5b372e259f47ce7e0937f2b7e5c00df95 [INFO] running `Command { std: "docker" "start" "-a" "f9f5085ec734138d7d72289f3806b0b5b372e259f47ce7e0937f2b7e5c00df95", kill_on_drop: false }` [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "f9f5085ec734138d7d72289f3806b0b5b372e259f47ce7e0937f2b7e5c00df95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9f5085ec734138d7d72289f3806b0b5b372e259f47ce7e0937f2b7e5c00df95", kill_on_drop: false }` [INFO] [stdout] f9f5085ec734138d7d72289f3806b0b5b372e259f47ce7e0937f2b7e5c00df95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8965b87f44b29c3f93f31b738cd0439fa61e3caac7d47d8a3a608fa61c657d69 [INFO] running `Command { std: "docker" "start" "-a" "8965b87f44b29c3f93f31b738cd0439fa61e3caac7d47d8a3a608fa61c657d69", 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.04s [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_struct ... ok [INFO] [stdout] test enum_with_allow ... ok [INFO] [stdout] test enum_with_multiple_allow ... ok [INFO] [stdout] test empty_scope ... ok [INFO] [stdout] test enum_with_non_exhaustive ... 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 module_mut ... ok [INFO] [stdout] test scoped_imports ... ok [INFO] [stdout] test impl_with_macros ... ok [INFO] [stdout] test get_or_new_module ... ok [INFO] [stdout] test single_fn ... ok [INFO] [stdout] test single_struct ... ok [INFO] [stdout] test struct_in_mod ... 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_allow ... ok [INFO] [stdout] test struct_with_generics_2 ... ok [INFO] [stdout] test struct_with_derive ... ok [INFO] [stdout] test struct_with_multiple_allow ... ok [INFO] [stdout] test struct_with_generics_3 ... ok [INFO] [stdout] test struct_with_pushed_field ... ok [INFO] [stdout] test struct_with_repr ... ok [INFO] [stdout] test struct_doc ... ok [INFO] [stdout] test single_struct_documented_field ... ok [INFO] [stdout] test trait_with_macros ... ok [INFO] [stdout] test two_structs ... ok [INFO] [stdout] test struct_with_generics_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests codegen_rs [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/function.rs - function::Function::extern_abi (line 191) ... ok [INFO] [stdout] test src/lib.rs - (line 15) ... ok [INFO] [stdout] test src/function.rs - function::Function::attr (line 177) ... 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" "8965b87f44b29c3f93f31b738cd0439fa61e3caac7d47d8a3a608fa61c657d69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8965b87f44b29c3f93f31b738cd0439fa61e3caac7d47d8a3a608fa61c657d69", kill_on_drop: false }` [INFO] [stdout] 8965b87f44b29c3f93f31b738cd0439fa61e3caac7d47d8a3a608fa61c657d69