[INFO] cloning repository https://github.com/d3lio/degu-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/d3lio/degu-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd3lio%2Fdegu-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd3lio%2Fdegu-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0273fd33cae9dcc6ef070c7afc922cbab57eb79 [INFO] checking d3lio/degu-lang against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd3lio%2Fdegu-lang" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/d3lio/degu-lang [INFO] finished tweaking git repo https://github.com/d3lio/degu-lang [INFO] tweaked toml for git repo https://github.com/d3lio/degu-lang written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/d3lio/degu-lang on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/d3lio/degu-lang 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdb46975dd3111ab0001ce08b7ed79cc66307fe8b58a26f4d7f0b4da51fdd470 [INFO] running `Command { std: "docker" "start" "-a" "cdb46975dd3111ab0001ce08b7ed79cc66307fe8b58a26f4d7f0b4da51fdd470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdb46975dd3111ab0001ce08b7ed79cc66307fe8b58a26f4d7f0b4da51fdd470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdb46975dd3111ab0001ce08b7ed79cc66307fe8b58a26f4d7f0b4da51fdd470", kill_on_drop: false }` [INFO] [stdout] cdb46975dd3111ab0001ce08b7ed79cc66307fe8b58a26f4d7f0b4da51fdd470 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bbf53f4420f9edfda861854027add4e29a4b25d56fa6c8066dae4a66b9827c5 [INFO] running `Command { std: "docker" "start" "-a" "8bbf53f4420f9edfda861854027add4e29a4b25d56fa6c8066dae4a66b9827c5", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking lexpar v0.1.0 (https://github.com/d3lio/lexpar#067ed17a) [INFO] [stderr] Checking syntax v0.1.0 (/opt/rustwide/workdir/src/syntax) [INFO] [stderr] Compiling llvm-sys v60.3.0 [INFO] [stderr] Checking llvm-wrap v0.1.0 (/opt/rustwide/workdir/src/llvm-wrap) [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/llvm-wrap/src/execution_engine.rs:94:58 [INFO] [stdout] | [INFO] [stdout] 94 | LLVMAddGlobalMapping(self.ptr, value.llvm_ref(), mem::transmute(addr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] = note: `#[warn(integer_to_ptr_transmutes)]` on by default [INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance [INFO] [stdout] | [INFO] [stdout] 94 - LLVMAddGlobalMapping(self.ptr, value.llvm_ref(), mem::transmute(addr)); [INFO] [stdout] 94 + LLVMAddGlobalMapping(self.ptr, value.llvm_ref(), std::ptr::with_exposed_provenance_mut::(addr)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/llvm-wrap/src/execution_engine.rs:94:58 [INFO] [stdout] | [INFO] [stdout] 94 | LLVMAddGlobalMapping(self.ptr, value.llvm_ref(), mem::transmute(addr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] = note: `#[warn(integer_to_ptr_transmutes)]` on by default [INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance [INFO] [stdout] | [INFO] [stdout] 94 - LLVMAddGlobalMapping(self.ptr, value.llvm_ref(), mem::transmute(addr)); [INFO] [stdout] 94 + LLVMAddGlobalMapping(self.ptr, value.llvm_ref(), std::ptr::with_exposed_provenance_mut::(addr)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir/src/compiler) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/llvm-wrap/tests/e2e_main_sum.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | extern fn print_u32(value: u32) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/llvm-wrap/tests/e2e_main_sum.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | let main: extern fn() = unsafe { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/llvm-wrap/tests/e2e_main_sum.rs:126:61 [INFO] [stdout] | [INFO] [stdout] 126 | ee.add_global_mapping(print_f.as_value(), print_u32 as usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 126 | ee.add_global_mapping(print_f.as_value(), print_u32 as *const () as usize); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/llvm-wrap/tests/e2e_main_sum.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(OUTPUT, Some(6)); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compiler/src/compiler/standard.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern fn print_number(value: f64) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compiler/src/compiler/mod.rs:336:19 [INFO] [stdout] | [INFO] [stdout] 336 | let main: extern fn() = unsafe { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compiler/src/compiler/standard.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern fn print_number(value: f64) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/compiler/src/compiler/mod.rs:336:19 [INFO] [stdout] | [INFO] [stdout] 336 | let main: extern fn() = unsafe { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/compiler/src/compiler/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct CompilerError { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 50 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/compiler/src/compiler/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct CompilerError { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 50 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/compiler/src/compiler/standard.rs:25:80 [INFO] [stdout] | [INFO] [stdout] 25 | self.ee.add_global_mapping(print_number_f.as_value(), print_number as usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 25 | self.ee.add_global_mapping(print_number_f.as_value(), print_number as *const () as usize); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/compiler/src/compiler/standard.rs:25:80 [INFO] [stdout] | [INFO] [stdout] 25 | self.ee.add_global_mapping(print_number_f.as_value(), print_number as usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 25 | self.ee.add_global_mapping(print_number_f.as_value(), print_number as *const () as usize); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.52s [INFO] running `Command { std: "docker" "inspect" "8bbf53f4420f9edfda861854027add4e29a4b25d56fa6c8066dae4a66b9827c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bbf53f4420f9edfda861854027add4e29a4b25d56fa6c8066dae4a66b9827c5", kill_on_drop: false }` [INFO] [stdout] 8bbf53f4420f9edfda861854027add4e29a4b25d56fa6c8066dae4a66b9827c5