[INFO] fetching crate const-field-offset-macro 0.1.5...
[INFO] testing const-field-offset-macro-0.1.5 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate const-field-offset-macro 0.1.5 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate const-field-offset-macro 0.1.5 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 269aeefb6bb85fc0c31f4939a3c99fca7fb3ad9bfd205de47c44cc3ead2a844e
[INFO] running `Command { std: "docker" "start" "-a" "269aeefb6bb85fc0c31f4939a3c99fca7fb3ad9bfd205de47c44cc3ead2a844e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "269aeefb6bb85fc0c31f4939a3c99fca7fb3ad9bfd205de47c44cc3ead2a844e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "269aeefb6bb85fc0c31f4939a3c99fca7fb3ad9bfd205de47c44cc3ead2a844e", kill_on_drop: false }`
[INFO] [stdout] 269aeefb6bb85fc0c31f4939a3c99fca7fb3ad9bfd205de47c44cc3ead2a844e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 8962729f30fe44b4dee212e6fe87b92ef6c5d3b78b7da8d4861ec74588490706
[INFO] running `Command { std: "docker" "start" "-a" "8962729f30fe44b4dee212e6fe87b92ef6c5d3b78b7da8d4861ec74588490706", kill_on_drop: false }`
[INFO] [stderr]    Compiling const-field-offset-macro v0.1.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.33s
[INFO] running `Command { std: "docker" "inspect" "8962729f30fe44b4dee212e6fe87b92ef6c5d3b78b7da8d4861ec74588490706", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8962729f30fe44b4dee212e6fe87b92ef6c5d3b78b7da8d4861ec74588490706", kill_on_drop: false }`
[INFO] [stdout] 8962729f30fe44b4dee212e6fe87b92ef6c5d3b78b7da8d4861ec74588490706
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] ee144735e23cd1f7730c6246ffd7212b12775123c3d96865f1aa97917dca7039
[INFO] running `Command { std: "docker" "start" "-a" "ee144735e23cd1f7730c6246ffd7212b12775123c3d96865f1aa97917dca7039", kill_on_drop: false }`
[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 0.81s
[INFO] running `Command { std: "docker" "inspect" "ee144735e23cd1f7730c6246ffd7212b12775123c3d96865f1aa97917dca7039", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee144735e23cd1f7730c6246ffd7212b12775123c3d96865f1aa97917dca7039", kill_on_drop: false }`
[INFO] [stdout] ee144735e23cd1f7730c6246ffd7212b12775123c3d96865f1aa97917dca7039
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 862d338a47267c5257ffdc7ffd8e32f9629fdbb332461138a8de6853ba68e670
[INFO] running `Command { std: "docker" "start" "-a" "862d338a47267c5257ffdc7ffd8e32f9629fdbb332461138a8de6853ba68e670", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests macro.rs (/opt/rustwide/target/debug/build/const-field-offset-macro/0c504f2c4293772f/deps/const_field_offset_macro-0c504f2c4293772f)
[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 - const_field_offset (line 23) ... FAILED
[INFO] [stdout] test macro.rs - const_field_offset (line 73) ... FAILED
[INFO] [stdout] test macro.rs - const_field_offset (line 98) ... FAILED
[INFO] [stdout] test macro.rs - _NO_REPR_C (line 346) - compile fail ... ok
[INFO] [stdout] test macro.rs - _PIN_NO_UNPIN (line 390) - compile fail ... ok
[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 - _PIN_NO_DROP (line 372) - compile fail ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 24 | 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] 24 | 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] 27 | struct Foo {
[INFO] [stdout]    | ---------- associated item `FIELD_OFFSETS` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 | 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] 74 | 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] 74 | 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] 80 | #[derive(FieldOffsets)]
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 73 + 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] 81 | #[pin_drop]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `pin_drop` is an attribute that can be used by the derive macro `FieldOffsets`, you might be missing a `derive` attribute
[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] ---- 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] 100 | 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] 103 | #[const_field_offset(xxx::cfo)]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `const_field_offset` is an attribute that can be used by the derive macro `FieldOffsets`, you might be missing a `derive` attribute
[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 52) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `const_field_offset`
[INFO] [stdout]   --> macro.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | 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] 53 | 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] 55 | #[derive(FieldOffsets)]
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 52 + 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] 56 | #[pin]
[INFO] [stdout]    |   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `pin` is an attribute that can be used by the derive macro `FieldOffsets`, you might be missing a `derive` attribute
[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] 57 | struct Foo {
[INFO] [stdout]    | ---------- associated item `FIELD_OFFSETS` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 62 | const FIELD_2 : FieldOffset<Foo, u32, AllowPin> = 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] 
[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.55s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "862d338a47267c5257ffdc7ffd8e32f9629fdbb332461138a8de6853ba68e670", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "862d338a47267c5257ffdc7ffd8e32f9629fdbb332461138a8de6853ba68e670", kill_on_drop: false }`
[INFO] [stdout] 862d338a47267c5257ffdc7ffd8e32f9629fdbb332461138a8de6853ba68e670
