[INFO] fetching crate lunka 0.12.0... [INFO] checking lunka-0.12.0 against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901-1 [INFO] extracting crate lunka 0.12.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate lunka 0.12.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate lunka 0.12.0 [INFO] tweaked toml for crates.io crate lunka 0.12.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lunka 0.12.0 on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lunka 0.12.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 220c4c571d26e345e155afdf6f6870abbca71041d70d871dc9f725fcccf9577a [INFO] running `Command { std: "docker" "start" "-a" "220c4c571d26e345e155afdf6f6870abbca71041d70d871dc9f725fcccf9577a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "220c4c571d26e345e155afdf6f6870abbca71041d70d871dc9f725fcccf9577a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "220c4c571d26e345e155afdf6f6870abbca71041d70d871dc9f725fcccf9577a", kill_on_drop: false }` [INFO] [stdout] 220c4c571d26e345e155afdf6f6870abbca71041d70d871dc9f725fcccf9577a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07f23c7568cc33dd76e025153abc6e0bcedc7b606f668e3f2bfdfa32a9c285ef [INFO] running `Command { std: "docker" "start" "-a" "07f23c7568cc33dd76e025153abc6e0bcedc7b606f668e3f2bfdfa32a9c285ef", kill_on_drop: false }` [INFO] [stderr] Compiling current_platform v0.2.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling lunka-src v54.8.0 [INFO] [stderr] Compiling lunka v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `c_int_enum` [INFO] [stdout] --> src/cdef/mod.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 202 | pub(crate) use c_int_enum; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_int_enum` [INFO] [stdout] --> src/cdef/mod.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 202 | pub(crate) use c_int_enum; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/cdef/auxlib.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 49 | pub func: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/cdef/auxlib.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ---------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 49 | pub func: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/cdef/auxlib.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | --- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 49 | pub func: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/cdef/auxlib.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 49 | pub func: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/cdef/auxlib.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ---------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 49 | pub func: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/cdef/auxlib.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | --- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 49 | pub func: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: constructing invalid value at [0].name: encountered uninitialized memory, but expected a raw pointer [INFO] [stdout] --> examples/hello_lib.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | const LIBRARY: LuaLibrary<1> = lua_library! { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 18 | | hello: l_hello [INFO] [stdout] 19 | | }; [INFO] [stdout] | |_^ evaluation of `LIBRARY` failed inside this call [INFO] [stdout] | [INFO] [stdout] note: inside `Library::<'_, 1>::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/reg.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | let mut dest: [Reg; N] = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the failure occurred here [INFO] [stdout] = note: this error originates in the macro `lua_library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0080`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lunka` (example "hello_lib") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0080]: constructing invalid value at [0]: encountered uninitialized memory, but expected a raw pointer [INFO] [stdout] --> examples/string_enum.rs:20:55 [INFO] [stdout] | [INFO] [stdout] 20 | const OPTIONS: &'static LuaAuxOptions<'static, 4> = &LuaAuxOptions::new([ [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 21 | | c"udp", [INFO] [stdout] 22 | | c"tcp", [INFO] [stdout] 23 | | c"unix udp", [INFO] [stdout] 24 | | c"unix tcp", [INFO] [stdout] 25 | | ]); [INFO] [stdout] | |______^ evaluation of `>::OPTIONS` failed inside this call [INFO] [stdout] | [INFO] [stdout] note: inside `AuxOptions::<'_, 4>::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/aux_options.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | let mut dest: [*const c_char; N] = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the failure occurred here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: erroneous constant encountered [INFO] [stdout] --> examples/string_enum.rs:20:54 [INFO] [stdout] | [INFO] [stdout] 20 | const OPTIONS: &'static LuaAuxOptions<'static, 4> = &LuaAuxOptions::new([ [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 21 | | c"udp", [INFO] [stdout] 22 | | c"tcp", [INFO] [stdout] 23 | | c"unix udp", [INFO] [stdout] 24 | | c"unix tcp", [INFO] [stdout] 25 | | ]); [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::hint::unreachable_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> examples/string_enum.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | _ => ::core::hint::unreachable_unchecked(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> examples/string_enum.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe fn from_index_unchecked(index: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0080, E0133. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0080`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lunka` (example "string_enum") due to 1 previous error; 1 warning emitted [INFO] [stdout] error[E0080]: constructing invalid value at [0].name: encountered uninitialized memory, but expected a raw pointer [INFO] [stdout] --> examples/os2.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | const LIBRARY: LuaLibrary<1> = lua_library! { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 55 | | metadata: l_metadata [INFO] [stdout] 56 | | }; [INFO] [stdout] | |_^ evaluation of `LIBRARY` failed inside this call [INFO] [stdout] | [INFO] [stdout] note: inside `Library::<'_, 1>::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/reg.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | let mut dest: [Reg; N] = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the failure occurred here [INFO] [stdout] = note: this error originates in the macro `lua_library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `lunka::Managed::<'_>::set_field` is unsafe and requires unsafe block [INFO] [stdout] --> examples/os2.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | mg.set_field(-2, c"type"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> examples/os2.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | unsafe extern "C-unwind" fn l_metadata(l: *mut LuaState) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `lunka::Managed::<'_>::set_field` is unsafe and requires unsafe block [INFO] [stdout] --> examples/os2.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | mg.set_field(-2, c"len"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `lunka::Managed::<'_>::set_field` is unsafe and requires unsafe block [INFO] [stdout] --> examples/os2.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | mg.set_field(-2, c"modified"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `lunka::Thread::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> examples/os2.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | let lua = LuaThread::from_ptr(l); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> examples/os2.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe extern "C-unwind" fn luaopen_os2(l: *mut LuaState) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0080, E0133. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0080`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lunka` (example "os2") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "07f23c7568cc33dd76e025153abc6e0bcedc7b606f668e3f2bfdfa32a9c285ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f23c7568cc33dd76e025153abc6e0bcedc7b606f668e3f2bfdfa32a9c285ef", kill_on_drop: false }` [INFO] [stdout] 07f23c7568cc33dd76e025153abc6e0bcedc7b606f668e3f2bfdfa32a9c285ef