[INFO] fetching crate repr_offset 0.2.2... [INFO] checking repr_offset-0.2.2 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate repr_offset 0.2.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate repr_offset 0.2.2 [INFO] finished tweaking crates.io crate repr_offset 0.2.2 [INFO] tweaked toml for crates.io crate repr_offset 0.2.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate repr_offset 0.2.2 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce137a16f5785e6757db143beaffbcf8ca784d97cb3cbaad98e64e4c2a20e512 [INFO] running `Command { std: "docker" "start" "-a" "ce137a16f5785e6757db143beaffbcf8ca784d97cb3cbaad98e64e4c2a20e512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce137a16f5785e6757db143beaffbcf8ca784d97cb3cbaad98e64e4c2a20e512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce137a16f5785e6757db143beaffbcf8ca784d97cb3cbaad98e64e4c2a20e512", kill_on_drop: false }` [INFO] [stdout] ce137a16f5785e6757db143beaffbcf8ca784d97cb3cbaad98e64e4c2a20e512 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0d1692510023613fbcf896a26dfddead8da58472afbd9c4c5eca1a587c1e2d2 [INFO] running `Command { std: "docker" "start" "-a" "b0d1692510023613fbcf896a26dfddead8da58472afbd9c4c5eca1a587c1e2d2", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tstr_proc_macros v0.2.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking tstr v0.2.4 [INFO] [stderr] Checking repr_offset v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling core_extensions v0.1.20 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling as_derive_utils v0.8.3 [INFO] [stderr] Compiling repr_offset_derive v0.2.0 [INFO] [stdout] error: tests must be run with the "testing" feature [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 271 | compile_error! { "tests must be run with the \"testing\" feature" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::types_for_tests` [INFO] [stdout] --> src/struct_field_offset.rs:1814:16 [INFO] [stdout] | [INFO] [stdout] 1814 | use crate::types_for_tests::StructPacked; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `types_for_tests` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | pub mod types_for_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `testing` feature [INFO] [stdout] --> src/lib.rs:256:7 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `repr_offset` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b0d1692510023613fbcf896a26dfddead8da58472afbd9c4c5eca1a587c1e2d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0d1692510023613fbcf896a26dfddead8da58472afbd9c4c5eca1a587c1e2d2", kill_on_drop: false }` [INFO] [stdout] b0d1692510023613fbcf896a26dfddead8da58472afbd9c4c5eca1a587c1e2d2