[INFO] fetching crate const-field-offset-macro 0.1.2... [INFO] testing const-field-offset-macro-0.1.2 against 1.59.0 for beta-1.60-1 [INFO] extracting crate const-field-offset-macro 0.1.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate const-field-offset-macro 0.1.2 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate const-field-offset-macro 0.1.2 [INFO] finished tweaking crates.io crate const-field-offset-macro 0.1.2 [INFO] tweaked toml for crates.io crate const-field-offset-macro 0.1.2 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27ac2d0be8733b24d75465416bc9f78fd5486bf5b08cfb69e8cdb1e7f5e21ddf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "27ac2d0be8733b24d75465416bc9f78fd5486bf5b08cfb69e8cdb1e7f5e21ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27ac2d0be8733b24d75465416bc9f78fd5486bf5b08cfb69e8cdb1e7f5e21ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27ac2d0be8733b24d75465416bc9f78fd5486bf5b08cfb69e8cdb1e7f5e21ddf", kill_on_drop: false }` [INFO] [stdout] 27ac2d0be8733b24d75465416bc9f78fd5486bf5b08cfb69e8cdb1e7f5e21ddf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f79a488bc940596d98a99af7317d25a5f25040d55d591b5b15f32212354ae378 [INFO] running `Command { std: "docker" "start" "-a" "f79a488bc940596d98a99af7317d25a5f25040d55d591b5b15f32212354ae378", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling const-field-offset-macro v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.11s [INFO] running `Command { std: "docker" "inspect" "f79a488bc940596d98a99af7317d25a5f25040d55d591b5b15f32212354ae378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f79a488bc940596d98a99af7317d25a5f25040d55d591b5b15f32212354ae378", kill_on_drop: false }` [INFO] [stdout] f79a488bc940596d98a99af7317d25a5f25040d55d591b5b15f32212354ae378 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48a4a4fbca556fbb59f19d7807edfcd9b46e55cb5090c18565e18a8ff926e519 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "48a4a4fbca556fbb59f19d7807edfcd9b46e55cb5090c18565e18a8ff926e519", kill_on_drop: false }` [INFO] [stderr] Compiling const-field-offset-macro v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "48a4a4fbca556fbb59f19d7807edfcd9b46e55cb5090c18565e18a8ff926e519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a4a4fbca556fbb59f19d7807edfcd9b46e55cb5090c18565e18a8ff926e519", kill_on_drop: false }` [INFO] [stdout] 48a4a4fbca556fbb59f19d7807edfcd9b46e55cb5090c18565e18a8ff926e519 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c7e743431c72e8098ffe9caa622e4afc286976969a315b07878dbfa679626cd1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c7e743431c72e8098ffe9caa622e4afc286976969a315b07878dbfa679626cd1", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/const_field_offset_macro-50fcfd83a9518a82) [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 - _PIN_NO_UNPIN (line 400) - compile fail ... ok [INFO] [stdout] test macro.rs - const_field_offset (line 28) ... FAILED [INFO] [stdout] test macro.rs - const_field_offset (line 102) ... FAILED [INFO] [stdout] test macro.rs - const_field_offset (line 56) ... FAILED [INFO] [stdout] test macro.rs - _NO_REPR_C (line 356) - compile fail ... ok [INFO] [stdout] test macro.rs - _REPR_PACKED (line 368) - compile fail ... ok [INFO] [stdout] test macro.rs - _PIN_NO_DROP (line 382) - compile fail ... ok [INFO] [stdout] test macro.rs - const_field_offset (line 77) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- macro.rs - const_field_offset (line 28) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `const_field_offset` [INFO] [stdout] --> macro.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 3 | use const_field_offset::FieldOffsets; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `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: cannot determine resolution for the derive macro `FieldOffsets` [INFO] [stdout] --> macro.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(FieldOffsets)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `FIELD_OFFSETS` found for struct `Foo` in the current scope [INFO] [stdout] --> macro.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 6 | struct Foo { [INFO] [stdout] | ---------- associated item `FIELD_OFFSETS` not found for this [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 3 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 102) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `const_field_offset` [INFO] [stdout] --> macro.rs:104: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 determine resolution for the derive macro `xxx::cfo::FieldOffsets` [INFO] [stdout] --> macro.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(xxx::cfo::FieldOffsets)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_field_offset` in this scope [INFO] [stdout] --> macro.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[const_field_offset(xxx::cfo)] [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] ---- macro.rs - const_field_offset (line 56) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `const_field_offset` [INFO] [stdout] --> macro.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 3 | use const_field_offset::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `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:59:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(FieldOffsets)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] const_field_offset_macro::FieldOffsets [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pin` in this scope [INFO] [stdout] --> macro.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[pin] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldOffset` in this scope [INFO] [stdout] --> macro.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 12 | const FIELD_2 : FieldOffset = Foo::FIELD_OFFSETS.field_2; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AllowPin` in this scope [INFO] [stdout] --> macro.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 12 | const FIELD_2 : FieldOffset = Foo::FIELD_OFFSETS.field_2; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `FIELD_OFFSETS` found for struct `Foo` in the current scope [INFO] [stdout] --> macro.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 7 | struct Foo { [INFO] [stdout] | ---------- associated item `FIELD_OFFSETS` not found for this [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 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- macro.rs - const_field_offset (line 77) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `const_field_offset` [INFO] [stdout] --> macro.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 3 | use const_field_offset::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `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:84:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(FieldOffsets)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] const_field_offset_macro::FieldOffsets [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pin_drop` in this scope [INFO] [stdout] --> macro.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[pin_drop] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinnedDrop` in this scope [INFO] [stdout] --> macro.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl PinnedDrop for Foo { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] macro.rs - const_field_offset (line 102) [INFO] [stdout] macro.rs - const_field_offset (line 28) [INFO] [stdout] macro.rs - const_field_offset (line 56) [INFO] [stdout] macro.rs - const_field_offset (line 77) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c7e743431c72e8098ffe9caa622e4afc286976969a315b07878dbfa679626cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7e743431c72e8098ffe9caa622e4afc286976969a315b07878dbfa679626cd1", kill_on_drop: false }` [INFO] [stdout] c7e743431c72e8098ffe9caa622e4afc286976969a315b07878dbfa679626cd1