[INFO] fetching crate vptr 0.2.1... [INFO] checking vptr-0.2.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate vptr 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate vptr 0.2.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vptr 0.2.1 [INFO] finished tweaking crates.io crate vptr 0.2.1 [INFO] tweaked toml for crates.io crate vptr 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vptr-macros v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e48b4bb8cf43ad901c7e1ed3cb1e91cc3189872e4535ec28b192e9ea190e8bf0 [INFO] running `Command { std: "docker" "start" "-a" "e48b4bb8cf43ad901c7e1ed3cb1e91cc3189872e4535ec28b192e9ea190e8bf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e48b4bb8cf43ad901c7e1ed3cb1e91cc3189872e4535ec28b192e9ea190e8bf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e48b4bb8cf43ad901c7e1ed3cb1e91cc3189872e4535ec28b192e9ea190e8bf0", kill_on_drop: false }` [INFO] [stdout] e48b4bb8cf43ad901c7e1ed3cb1e91cc3189872e4535ec28b192e9ea190e8bf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f5c706b4c29262fd4ecdc1b253d2ffb37e5fc44a5f36ff0c71605371d2ddfa8 [INFO] running `Command { std: "docker" "start" "-a" "0f5c706b4c29262fd4ecdc1b253d2ffb37e5fc44a5f36ff0c71605371d2ddfa8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling vptr-macros v0.2.1 [INFO] [stderr] Checking vptr v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/lib.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/lib.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ThinBox` [INFO] [stdout] --> src/lib.rs:562:36 [INFO] [stdout] | [INFO] [stdout] 562 | pub use crate::{vptr, HasVPtr, ThinBox, ThinRef, ThinRefMut, VPtr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: could not evaluate static initializer [INFO] [stdout] --> src/lib.rs:573:5 [INFO] [stdout] | [INFO] [stdout] 573 | #[vptr(MyTrait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ out-of-bounds pointer arithmetic: null pointer is a dangling pointer (it has no provenance) [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `vptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: could not evaluate static initializer [INFO] [stdout] --> src/lib.rs:595:5 [INFO] [stdout] | [INFO] [stdout] 595 | #[vptr(MyTrait, SomeOtherTrait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ out-of-bounds pointer arithmetic: null pointer is a dangling pointer (it has no provenance) [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `vptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: could not evaluate static initializer [INFO] [stdout] --> src/lib.rs:653:5 [INFO] [stdout] | [INFO] [stdout] 653 | #[vptr(MyTrait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ out-of-bounds pointer arithmetic: null pointer is a dangling pointer (it has no provenance) [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `vptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: could not evaluate static initializer [INFO] [stdout] --> src/lib.rs:676:5 [INFO] [stdout] | [INFO] [stdout] 676 | #[vptr(MyTrait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ out-of-bounds pointer arithmetic: null pointer is a dangling pointer (it has no provenance) [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `vptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/lib.rs:488:18 [INFO] [stdout] | [INFO] [stdout] 488 | unsafe { Box::from_raw(ptr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 488 | unsafe { let _ = Box::from_raw(ptr); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: could not evaluate static initializer [INFO] [stdout] --> src/lib.rs:693:5 [INFO] [stdout] | [INFO] [stdout] 693 | #[vptr(MyTrait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ out-of-bounds pointer arithmetic: null pointer is a dangling pointer (it has no provenance) [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `vptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: could not evaluate static initializer [INFO] [stdout] --> src/lib.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 711 | #[vptr(std::fmt::Display)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ out-of-bounds pointer arithmetic: null pointer is a dangling pointer (it has no provenance) [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `vptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: could not evaluate static initializer [INFO] [stdout] --> src/lib.rs:736:9 [INFO] [stdout] | [INFO] [stdout] 736 | #[vptr("TraitWithGen")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ out-of-bounds pointer arithmetic: null pointer is a dangling pointer (it has no provenance) [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `vptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0080`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vptr` (lib test) due to 8 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0f5c706b4c29262fd4ecdc1b253d2ffb37e5fc44a5f36ff0c71605371d2ddfa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f5c706b4c29262fd4ecdc1b253d2ffb37e5fc44a5f36ff0c71605371d2ddfa8", kill_on_drop: false }` [INFO] [stdout] 0f5c706b4c29262fd4ecdc1b253d2ffb37e5fc44a5f36ff0c71605371d2ddfa8