[INFO] fetching crate const-field-offset-macro 0.1.5... [INFO] testing const-field-offset-macro-0.1.5 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate const-field-offset-macro 0.1.5 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate const-field-offset-macro 0.1.5 [INFO] finished tweaking crates.io crate const-field-offset-macro 0.1.5 [INFO] tweaked toml for crates.io crate const-field-offset-macro 0.1.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate const-field-offset-macro 0.1.5 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [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-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9273bdae62c395191159a4766b5029ebb04e045adc5c58615413e7fc4282a6e8 [INFO] running `Command { std: "docker" "start" "-a" "9273bdae62c395191159a4766b5029ebb04e045adc5c58615413e7fc4282a6e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9273bdae62c395191159a4766b5029ebb04e045adc5c58615413e7fc4282a6e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9273bdae62c395191159a4766b5029ebb04e045adc5c58615413e7fc4282a6e8", kill_on_drop: false }` [INFO] [stdout] 9273bdae62c395191159a4766b5029ebb04e045adc5c58615413e7fc4282a6e8 [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: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] 6d6a7607543a9bc501ed9cab3f591adcbc16186315aec953b7a99fa4dd8b2781 [INFO] running `Command { std: "docker" "start" "-a" "6d6a7607543a9bc501ed9cab3f591adcbc16186315aec953b7a99fa4dd8b2781", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling const-field-offset-macro v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.11s [INFO] running `Command { std: "docker" "inspect" "6d6a7607543a9bc501ed9cab3f591adcbc16186315aec953b7a99fa4dd8b2781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d6a7607543a9bc501ed9cab3f591adcbc16186315aec953b7a99fa4dd8b2781", kill_on_drop: false }` [INFO] [stdout] 6d6a7607543a9bc501ed9cab3f591adcbc16186315aec953b7a99fa4dd8b2781 [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: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] bc4c82632cdef49b0b78880b911e77d00b732dc3f589381b6798a2eda1971f4a [INFO] running `Command { std: "docker" "start" "-a" "bc4c82632cdef49b0b78880b911e77d00b732dc3f589381b6798a2eda1971f4a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling const-field-offset-macro v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.86s [INFO] running `Command { std: "docker" "inspect" "bc4c82632cdef49b0b78880b911e77d00b732dc3f589381b6798a2eda1971f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc4c82632cdef49b0b78880b911e77d00b732dc3f589381b6798a2eda1971f4a", kill_on_drop: false }` [INFO] [stdout] bc4c82632cdef49b0b78880b911e77d00b732dc3f589381b6798a2eda1971f4a [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 08e5b2b3615b405a9c40f221902c534c524d474e4bbd2a35c1bcf29ca68f08d3 [INFO] running `Command { std: "docker" "start" "-a" "08e5b2b3615b405a9c40f221902c534c524d474e4bbd2a35c1bcf29ca68f08d3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests macro.rs (/opt/rustwide/target/debug/deps/const_field_offset_macro-63d3e79b1bbe986d) [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] Doc-tests const_field_offset_macro [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test macro.rs - _REPR_PACKED (line 358) - compile fail ... ok [INFO] [stdout] test macro.rs - const_field_offset (line 52) ... FAILED [INFO] [stdout] test macro.rs - const_field_offset (line 98) ... FAILED [INFO] [stdout] test macro.rs - const_field_offset (line 23) ... FAILED [INFO] [stdout] test macro.rs - _PIN_NO_DROP (line 372) - compile fail ... ok [INFO] [stdout] test macro.rs - _NO_REPR_C (line 346) - compile fail ... ok [INFO] [stdout] test macro.rs - const_field_offset (line 73) ... FAILED [INFO] [stdout] test macro.rs - _PIN_NO_UNPIN (line 390) - compile fail ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- macro.rs - const_field_offset (line 52) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `const_field_offset` [INFO] [stdout] --> macro.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 3 | use const_field_offset::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `const_field_offset` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use const_field_offset_macro::*; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FieldOffsets` in this scope [INFO] [stdout] --> macro.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(FieldOffsets)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use const_field_offset_macro::FieldOffsets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pin` in this scope [INFO] [stdout] --> macro.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[pin] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `FIELD_OFFSETS` found for struct `Foo` in the current scope [INFO] [stdout] --> macro.rs:62:56 [INFO] [stdout] | [INFO] [stdout] 7 | struct Foo { [INFO] [stdout] | ---------- associated item `FIELD_OFFSETS` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 12 | const FIELD_2 : FieldOffset = Foo::FIELD_OFFSETS.field_2; [INFO] [stdout] | ^^^^^^^^^^^^^ associated item not found in `Foo` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- macro.rs - const_field_offset (line 98) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `const_field_offset` [INFO] [stdout] --> macro.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 4 | mod xxx { pub use const_field_offset as cfo; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `const_field_offset` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_field_offset` in this scope [INFO] [stdout] --> macro.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[const_field_offset(xxx::cfo)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- macro.rs - const_field_offset (line 23) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `const_field_offset` [INFO] [stdout] --> macro.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 3 | use const_field_offset::FieldOffsets; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `const_field_offset` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use const_field_offset_macro::FieldOffsets; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `FIELD_OFFSETS` found for struct `Foo` in the current scope [INFO] [stdout] --> macro.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 6 | struct Foo { [INFO] [stdout] | ---------- associated item `FIELD_OFFSETS` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 11 | const FOO : usize = Foo::FIELD_OFFSETS.field_2.get_byte_offset(); [INFO] [stdout] | ^^^^^^^^^^^^^ associated item not found in `Foo` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- macro.rs - const_field_offset (line 73) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `const_field_offset` [INFO] [stdout] --> macro.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 3 | use const_field_offset::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `const_field_offset` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use const_field_offset_macro::*; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FieldOffsets` in this scope [INFO] [stdout] --> macro.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(FieldOffsets)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use const_field_offset_macro::FieldOffsets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pin_drop` in this scope [INFO] [stdout] --> macro.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[pin_drop] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] macro.rs - const_field_offset (line 23) [INFO] [stdout] macro.rs - const_field_offset (line 52) [INFO] [stdout] macro.rs - const_field_offset (line 73) [INFO] [stdout] macro.rs - const_field_offset (line 98) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "08e5b2b3615b405a9c40f221902c534c524d474e4bbd2a35c1bcf29ca68f08d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08e5b2b3615b405a9c40f221902c534c524d474e4bbd2a35c1bcf29ca68f08d3", kill_on_drop: false }` [INFO] [stdout] 08e5b2b3615b405a9c40f221902c534c524d474e4bbd2a35c1bcf29ca68f08d3