[INFO] cloning repository https://github.com/thexeondev/magic-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thexeondev/magic-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthexeondev%2Fmagic-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthexeondev%2Fmagic-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24abc716d8e100c6d649d1bc852845e34647fae8 [INFO] testing thexeondev/magic-rs against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthexeondev%2Fmagic-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/thexeondev/magic-rs [INFO] finished tweaking git repo https://github.com/thexeondev/magic-rs [INFO] tweaked toml for git repo https://github.com/thexeondev/magic-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thexeondev/magic-rs on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thexeondev/magic-rs 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mimalloc v0.1.44 [INFO] [stderr] Downloaded tracing-android v0.2.0 [INFO] [stderr] Downloaded proc-maps v0.4.0 [INFO] [stderr] Downloaded rbase64 v2.0.3 [INFO] [stderr] Downloaded libproc v0.14.10 [INFO] [stderr] Downloaded rusqlite v0.34.0 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.40 [INFO] [stderr] Downloaded libsqlite3-sys v0.32.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5438ec8c45ce14e9a89a1d06d88494378111f68737ffbc13dfa5b889862eef2 [INFO] running `Command { std: "docker" "start" "-a" "c5438ec8c45ce14e9a89a1d06d88494378111f68737ffbc13dfa5b889862eef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5438ec8c45ce14e9a89a1d06d88494378111f68737ffbc13dfa5b889862eef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5438ec8c45ce14e9a89a1d06d88494378111f68737ffbc13dfa5b889862eef2", kill_on_drop: false }` [INFO] [stdout] c5438ec8c45ce14e9a89a1d06d88494378111f68737ffbc13dfa5b889862eef2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3eb7fa955e2bfa82a5762a1029cb842a40a01519dca9a6753ba6ec67ab474514 [INFO] running `Command { std: "docker" "start" "-a" "3eb7fa955e2bfa82a5762a1029cb842a40a01519dca9a6753ba6ec67ab474514", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling proc-maps v0.4.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling jni-sys v0.3.0 [INFO] [stderr] Compiling android_log-sys v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling libmimalloc-sys v0.1.40 [INFO] [stderr] Compiling libsqlite3-sys v0.32.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling mimalloc v0.1.44 [INFO] [stderr] Compiling rbase64 v2.0.3 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling jni v0.21.1 [INFO] [stderr] Compiling tracing-android v0.2.0 [INFO] [stderr] Compiling rusqlite v0.34.0 [INFO] [stderr] Compiling libserver v0.0.1 (/opt/rustwide/workdir/libserver) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libserver/src/ffi_util.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | ((addr as i32) & !(page_size - 1)) as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `i32`, found `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `i32 & i64` [INFO] [stdout] --> libserver/src/ffi_util.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | ((addr as i32) & !(page_size - 1)) as *mut c_void, [INFO] [stdout] | ^ no implementation for `i32 & i64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitAnd` is not implemented for `i32` [INFO] [stdout] = help: the following other types implement trait `BitAnd`: [INFO] [stdout] `&i32` implements `BitAnd` [INFO] [stdout] `&i32` implements `BitAnd` [INFO] [stdout] `i32` implements `BitAnd<&i32>` [INFO] [stdout] `i32` implements `BitAnd>` [INFO] [stdout] `i32` implements `BitAnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libserver/src/resources.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | LogicJSONNode(resource_manager_get_json( [INFO] [stdout] | ------------------------- arguments to this function are incorrect [INFO] [stdout] 11 | CString::new(path).unwrap().as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*const i8` [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u8` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] note: function defined here [INFO] [stdout] --> libserver/src/resources.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | import!(resource_manager_get_json(path: *const u8) -> *const u8 = 0x18A750 + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: libserver/src/ffi_util.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn $name($($arg_name: $arg_type,)*) -> $ret_type { [INFO] [stdout] | -------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libserver/src/sc_string.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | string_ctor(sc_string, CString::new(value.as_ref()).unwrap().as_ptr()); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*const i8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u8` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] note: function defined here [INFO] [stdout] --> libserver/src/sc_string.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | import!(string_ctor(ptr: *const u8, data: *const u8) -> () = 0x176748 + 1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: libserver/src/ffi_util.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn $name($($arg_name: $arg_type,)*) -> $ret_type { [INFO] [stdout] | -------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libserver/src/sc_string.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | CStr::from_ptr(c_string).to_string_lossy().to_string() [INFO] [stdout] | -------------- ^^^^^^^^ expected `*const i8`, found `*const u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found raw pointer `*const u8` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ffi/c_str.rs:255:25 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> libserver/src/sc_string.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | CStr::from_ptr(self.0.wrapping_add(8) as *const u8) [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found raw pointer `*const u8` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ffi/c_str.rs:255:25 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libserver` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "3eb7fa955e2bfa82a5762a1029cb842a40a01519dca9a6753ba6ec67ab474514", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eb7fa955e2bfa82a5762a1029cb842a40a01519dca9a6753ba6ec67ab474514", kill_on_drop: false }` [INFO] [stdout] 3eb7fa955e2bfa82a5762a1029cb842a40a01519dca9a6753ba6ec67ab474514