[INFO] fetching crate const-field-offset-macro 0.1.2... [INFO] testing const-field-offset-macro-0.1.2 against 1.60.0 for beta-1.61-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.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", 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] af72fb2fa8eb13d6551eb6b5e2253a44a4b7225f1b119cc3904da81b96d7714d [INFO] running `Command { std: "docker" "start" "-a" "af72fb2fa8eb13d6551eb6b5e2253a44a4b7225f1b119cc3904da81b96d7714d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af72fb2fa8eb13d6551eb6b5e2253a44a4b7225f1b119cc3904da81b96d7714d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af72fb2fa8eb13d6551eb6b5e2253a44a4b7225f1b119cc3904da81b96d7714d", kill_on_drop: false }` [INFO] [stdout] af72fb2fa8eb13d6551eb6b5e2253a44a4b7225f1b119cc3904da81b96d7714d [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 236d45ce6f7d243bc17ed96e038a4e0c6dd9ac6da17d97bf39d4642519b17eea [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" "236d45ce6f7d243bc17ed96e038a4e0c6dd9ac6da17d97bf39d4642519b17eea", kill_on_drop: false }` [INFO] [stderr] Compiling const-field-offset-macro v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.66s [INFO] running `Command { std: "docker" "inspect" "236d45ce6f7d243bc17ed96e038a4e0c6dd9ac6da17d97bf39d4642519b17eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "236d45ce6f7d243bc17ed96e038a4e0c6dd9ac6da17d97bf39d4642519b17eea", kill_on_drop: false }` [INFO] [stdout] 236d45ce6f7d243bc17ed96e038a4e0c6dd9ac6da17d97bf39d4642519b17eea [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--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] a40c7ea32dfd0ef599d7d0dadf1484a1d2dc79a77b4d5b06b6322a74b3633e83 [INFO] running `Command { std: "docker" "start" "-a" "a40c7ea32dfd0ef599d7d0dadf1484a1d2dc79a77b4d5b06b6322a74b3633e83", 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.57s [INFO] running `Command { std: "docker" "inspect" "a40c7ea32dfd0ef599d7d0dadf1484a1d2dc79a77b4d5b06b6322a74b3633e83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a40c7ea32dfd0ef599d7d0dadf1484a1d2dc79a77b4d5b06b6322a74b3633e83", kill_on_drop: false }` [INFO] [stdout] a40c7ea32dfd0ef599d7d0dadf1484a1d2dc79a77b4d5b06b6322a74b3633e83 [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e7858bf6869e4cb76aff538851d9129779e967ce9b2d5f650b2feafba4d8edfd [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" "e7858bf6869e4cb76aff538851d9129779e967ce9b2d5f650b2feafba4d8edfd", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/const_field_offset_macro-f690aeb6a12cd070) [INFO] [stderr] Doc-tests const-field-offset-macro [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] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test macro.rs - _NO_REPR_C (line 356) - 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 29) ... FAILED [INFO] [stdout] test macro.rs - const_field_offset (line 79) ... FAILED [INFO] [stdout] test macro.rs - _REPR_PACKED (line 368) - compile fail ... ok [INFO] [stdout] test macro.rs - const_field_offset (line 104) ... FAILED [INFO] [stdout] test macro.rs - const_field_offset (line 58) ... FAILED [INFO] [stdout] test macro.rs - _PIN_NO_UNPIN (line 400) - compile fail ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- macro.rs - const_field_offset (line 29) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `const_field_offset` [INFO] [stdout] --> macro.rs:30: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:32: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:38: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 79) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `const_field_offset` [INFO] [stdout] --> macro.rs:80: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:86: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:87: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:92: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] ---- macro.rs - const_field_offset (line 104) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `const_field_offset` [INFO] [stdout] --> macro.rs:106: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:108: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:109: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 58) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `const_field_offset` [INFO] [stdout] --> macro.rs:59: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:61: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:62: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:68: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:68: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:68: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] [INFO] [stdout] failures: [INFO] [stdout] macro.rs - const_field_offset (line 104) [INFO] [stdout] macro.rs - const_field_offset (line 29) [INFO] [stdout] macro.rs - const_field_offset (line 58) [INFO] [stdout] macro.rs - const_field_offset (line 79) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "e7858bf6869e4cb76aff538851d9129779e967ce9b2d5f650b2feafba4d8edfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7858bf6869e4cb76aff538851d9129779e967ce9b2d5f650b2feafba4d8edfd", kill_on_drop: false }` [INFO] [stdout] e7858bf6869e4cb76aff538851d9129779e967ce9b2d5f650b2feafba4d8edfd