[INFO] fetching crate lunka 0.12.0... [INFO] checking lunka-0.12.0 against master#5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa for pr-149901 [INFO] extracting crate lunka 0.12.0 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lunka 0.12.0 on toolchain 5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "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" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded current_platform v0.2.0 [INFO] [stderr] Downloaded lunka-src v54.8.0 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e13d668ba41a75ee482276303fa18dc0e79a291cc7944958db83709536d9d5a [INFO] running `Command { std: "docker" "start" "-a" "7e13d668ba41a75ee482276303fa18dc0e79a291cc7944958db83709536d9d5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e13d668ba41a75ee482276303fa18dc0e79a291cc7944958db83709536d9d5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e13d668ba41a75ee482276303fa18dc0e79a291cc7944958db83709536d9d5a", kill_on_drop: false }` [INFO] [stdout] 7e13d668ba41a75ee482276303fa18dc0e79a291cc7944958db83709536d9d5a [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16b5d54700310955523c1cf146951fbe00902b10f8b9161d993905e06419c38f [INFO] running `Command { std: "docker" "start" "-a" "16b5d54700310955523c1cf146951fbe00902b10f8b9161d993905e06419c38f", kill_on_drop: false }` [INFO] [stderr] Compiling current_platform v0.2.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] 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] For more information about this error, try `rustc --explain E0133`. [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] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.26s [INFO] running `Command { std: "docker" "inspect" "16b5d54700310955523c1cf146951fbe00902b10f8b9161d993905e06419c38f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16b5d54700310955523c1cf146951fbe00902b10f8b9161d993905e06419c38f", kill_on_drop: false }` [INFO] [stdout] 16b5d54700310955523c1cf146951fbe00902b10f8b9161d993905e06419c38f