[INFO] fetching crate codegen-rs 0.1.4... [INFO] testing codegen-rs-0.1.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate codegen-rs 0.1.4 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate codegen-rs 0.1.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d1ce55d111097f97931194fca60f09a5c6c0199fe6a0bc2c2a7da35d0a63a64 [INFO] running `Command { std: "docker" "start" "-a" "1d1ce55d111097f97931194fca60f09a5c6c0199fe6a0bc2c2a7da35d0a63a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d1ce55d111097f97931194fca60f09a5c6c0199fe6a0bc2c2a7da35d0a63a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d1ce55d111097f97931194fca60f09a5c6c0199fe6a0bc2c2a7da35d0a63a64", kill_on_drop: false }` [INFO] [stdout] 1d1ce55d111097f97931194fca60f09a5c6c0199fe6a0bc2c2a7da35d0a63a64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 09d300d9c1b46168434b889e2a4c5d0dcf0ac50ac977872b6818734a020970b4 [INFO] running `Command { std: "docker" "start" "-a" "09d300d9c1b46168434b889e2a4c5d0dcf0ac50ac977872b6818734a020970b4", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling hashbrown v0.12.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)]` 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 2.09s [INFO] running `Command { std: "docker" "inspect" "09d300d9c1b46168434b889e2a4c5d0dcf0ac50ac977872b6818734a020970b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09d300d9c1b46168434b889e2a4c5d0dcf0ac50ac977872b6818734a020970b4", kill_on_drop: false }` [INFO] [stdout] 09d300d9c1b46168434b889e2a4c5d0dcf0ac50ac977872b6818734a020970b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1aa7f5e5468ba4e9b48d26c409ec7149146b25dab61e0e573c8215abac720e39 [INFO] running `Command { std: "docker" "start" "-a" "1aa7f5e5468ba4e9b48d26c409ec7149146b25dab61e0e573c8215abac720e39", 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)]` 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] [stderr] Compiling codegen-rs v0.1.4 (/opt/rustwide/workdir) [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] [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.93s [INFO] running `Command { std: "docker" "inspect" "1aa7f5e5468ba4e9b48d26c409ec7149146b25dab61e0e573c8215abac720e39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aa7f5e5468ba4e9b48d26c409ec7149146b25dab61e0e573c8215abac720e39", kill_on_drop: false }` [INFO] [stdout] 1aa7f5e5468ba4e9b48d26c409ec7149146b25dab61e0e573c8215abac720e39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7978ce6bf0b2baaa8ee8d64a6cd4e7175e2e3ba27fd8be54ecd4b70a6b6e3145 [INFO] running `Command { std: "docker" "start" "-a" "7978ce6bf0b2baaa8ee8d64a6cd4e7175e2e3ba27fd8be54ecd4b70a6b6e3145", 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)]` 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.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/codegen_rs-51aa6d834253a3d0) [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/x86_64-unknown-linux-musl/debug/deps/codegen-26dc11aa3a4a3d0b) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test empty_scope ... ok [INFO] [stdout] test enum_with_multiple_allow ... 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 impl_with_macros ... ok [INFO] [stdout] test single_fn ... ok [INFO] [stdout] test scoped_imports ... ok [INFO] [stdout] test single_struct ... ok [INFO] [stdout] test single_struct_documented_field ... ok [INFO] [stdout] test struct_in_mod ... ok [INFO] [stdout] test struct_doc ... ok [INFO] [stdout] test struct_mod_import ... ok [INFO] [stdout] test empty_struct ... ok [INFO] [stdout] test struct_where_clause_1 ... ok [INFO] [stdout] test module_mut ... ok [INFO] [stdout] test get_or_new_module ... ok [INFO] [stdout] test struct_where_clause_2 ... ok [INFO] [stdout] test struct_with_derive ... ok [INFO] [stdout] test struct_with_generics_2 ... ok [INFO] [stdout] test struct_with_multiple_allow ... ok [INFO] [stdout] test enum_with_allow ... ok [INFO] [stdout] test two_structs ... ok [INFO] [stdout] test trait_with_macros ... ok [INFO] [stdout] test struct_with_allow ... ok [INFO] [stdout] test struct_with_generics_3 ... ok [INFO] [stdout] test struct_with_repr ... ok [INFO] [stdout] test struct_with_pushed_field ... 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.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7978ce6bf0b2baaa8ee8d64a6cd4e7175e2e3ba27fd8be54ecd4b70a6b6e3145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7978ce6bf0b2baaa8ee8d64a6cd4e7175e2e3ba27fd8be54ecd4b70a6b6e3145", kill_on_drop: false }` [INFO] [stdout] 7978ce6bf0b2baaa8ee8d64a6cd4e7175e2e3ba27fd8be54ecd4b70a6b6e3145