[INFO] fetching crate static_init 0.4.1... [INFO] checking static_init-0.4.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate static_init 0.4.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate static_init 0.4.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate static_init 0.4.1 [INFO] finished tweaking crates.io crate static_init 0.4.1 [INFO] tweaked toml for crates.io crate static_init 0.4.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded static_init_macro v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48ed3143108872cda1655061310270700b6ecccc65d3c365c5423b3641b32604 [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" "48ed3143108872cda1655061310270700b6ecccc65d3c365c5423b3641b32604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48ed3143108872cda1655061310270700b6ecccc65d3c365c5423b3641b32604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48ed3143108872cda1655061310270700b6ecccc65d3c365c5423b3641b32604", kill_on_drop: false }` [INFO] [stdout] 48ed3143108872cda1655061310270700b6ecccc65d3c365c5423b3641b32604 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--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] 511e7f10bb6a47d48f08536a7cbe4a31cb231f91abd6ad8d4d03bd3a671bf150 [INFO] running `Command { std: "docker" "start" "-a" "511e7f10bb6a47d48f08536a7cbe4a31cb231f91abd6ad8d4d03bd3a671bf150", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling static_init_macro v0.4.2 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Checking static_init v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `__set_init_prio` in crate `static_init` [INFO] [stdout] --> benches/macro.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | static W: AtomicI32 = unsafe { AtomicI32::new(0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StaticInfo` in crate `static_init` [INFO] [stdout] --> benches/macro.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | static W: AtomicI32 = unsafe { AtomicI32::new(0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__set_init_prio` in crate `static_init` [INFO] [stdout] --> benches/macro.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | static mut WM: AtomicI32 = unsafe { AtomicI32::new(0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StaticInfo` in crate `static_init` [INFO] [stdout] --> benches/macro.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | static mut WM: AtomicI32 = unsafe { AtomicI32::new(0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> benches/macro.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[dynamic(10)] [INFO] [stdout] | ^^^^^^^^^^^^^^ expected 0 arguments [INFO] [stdout] 14 | static W: AtomicI32 = unsafe { AtomicI32::new(0) }; [INFO] [stdout] | ---------------------------- supplied 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | pub const fn uninit() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> benches/macro.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[dynamic(10)] [INFO] [stdout] | ^^^^^^^^^^^^^^ expected 0 arguments [INFO] [stdout] 17 | static mut WM: AtomicI32 = unsafe { AtomicI32::new(0) }; [INFO] [stdout] | ---------------------------- supplied 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 229 | pub const fn uninit() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0422, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `static_init` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `__set_init_prio` in crate `static_init` [INFO] [stdout] --> tests/macro.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | static mut V0: A = unsafe { A::new(V1.0 - 5) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StaticInfo` in crate `static_init` [INFO] [stdout] --> tests/macro.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | static mut V0: A = unsafe { A::new(V1.0 - 5) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__set_init_prio` in crate `static_init` [INFO] [stdout] --> tests/macro.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | static mut V2: A = unsafe { A::new(12) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StaticInfo` in crate `static_init` [INFO] [stdout] --> tests/macro.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | static mut V2: A = unsafe { A::new(12) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__set_init_prio` in crate `static_init` [INFO] [stdout] --> tests/macro.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | static V1: A = unsafe { A::new(V2.0 - 2) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StaticInfo` in crate `static_init` [INFO] [stdout] --> tests/macro.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | static V1: A = unsafe { A::new(V2.0 - 2) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__set_init_prio` in crate `static_init` [INFO] [stdout] --> tests/macro.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | static mut V3: A = unsafe { A::new(12) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StaticInfo` in crate `static_init` [INFO] [stdout] --> tests/macro.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | static mut V3: A = unsafe { A::new(12) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__set_init_prio` in crate `static_init` [INFO] [stdout] --> tests/macro.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | static V4: A = unsafe { A::new(V2.0 - 2) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StaticInfo` in crate `static_init` [INFO] [stdout] --> tests/macro.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | static V4: A = unsafe { A::new(V2.0 - 2) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__set_init_prio` in crate `static_init` [INFO] [stdout] --> tests/macro.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | static V5: A = unsafe { A::new(V4.0 + 23) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StaticInfo` in crate `static_init` [INFO] [stdout] --> tests/macro.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | static V5: A = unsafe { A::new(V4.0 + 23) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StaticInfo` in crate `static_init` [INFO] [stdout] --> tests/macro.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | static V6: A = unsafe { A(33) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/macro.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | #[dynamic] [INFO] [stdout] | ^^^^^^^^^^ expected 0 arguments [INFO] [stdout] 81 | static mut V0: A = unsafe { A::new(V1.0 - 5) }; [INFO] [stdout] | --------------------------- supplied 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 229 | pub const fn uninit() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/macro.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | #[dynamic(20)] [INFO] [stdout] | ^^^^^^^^^^^^^^ expected 0 arguments [INFO] [stdout] 84 | static mut V2: A = unsafe { A::new(12) }; [INFO] [stdout] | --------------------- supplied 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 229 | pub const fn uninit() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/macro.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | #[dynamic(10)] [INFO] [stdout] | ^^^^^^^^^^^^^^ expected 0 arguments [INFO] [stdout] 87 | static V1: A = unsafe { A::new(V2.0 - 2) }; [INFO] [stdout] | --------------------------- supplied 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | pub const fn uninit() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/macro.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | #[dynamic(init = 20)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected 0 arguments [INFO] [stdout] 90 | static mut V3: A = unsafe { A::new(12) }; [INFO] [stdout] | --------------------- supplied 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 229 | pub const fn uninit() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/macro.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | #[dynamic(init = 10)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected 0 arguments [INFO] [stdout] 93 | static V4: A = unsafe { A::new(V2.0 - 2) }; [INFO] [stdout] | --------------------------- supplied 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | pub const fn uninit() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/macro.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | #[dynamic(init = 5, drop)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 0 arguments [INFO] [stdout] 96 | static V5: A = unsafe { A::new(V4.0 + 23) }; [INFO] [stdout] | ---------------------------- supplied 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | pub const fn uninit() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/macro.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[dynamic(drop)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected 1 argument [INFO] [stdout] 99 | static V6: A = unsafe { A(33) }; [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | supplied 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:275:18 [INFO] [stdout] | [INFO] [stdout] 275 | pub const fn from(v: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0422, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "511e7f10bb6a47d48f08536a7cbe4a31cb231f91abd6ad8d4d03bd3a671bf150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "511e7f10bb6a47d48f08536a7cbe4a31cb231f91abd6ad8d4d03bd3a671bf150", kill_on_drop: false }` [INFO] [stdout] 511e7f10bb6a47d48f08536a7cbe4a31cb231f91abd6ad8d4d03bd3a671bf150