[INFO] fetching crate nican 0.2.0... [INFO] testing nican-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate nican 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate nican 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate nican 0.2.0 [INFO] tweaked toml for crates.io crate nican 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nican 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nican 0.2.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rs-can v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5b981a61e2c216d600e62eed39600dbef20e36d4ca7a77e6f7c4e654c88252b [INFO] running `Command { std: "docker" "start" "-a" "c5b981a61e2c216d600e62eed39600dbef20e36d4ca7a77e6f7c4e654c88252b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5b981a61e2c216d600e62eed39600dbef20e36d4ca7a77e6f7c4e654c88252b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5b981a61e2c216d600e62eed39600dbef20e36d4ca7a77e6f7c4e654c88252b", kill_on_drop: false }` [INFO] [stdout] c5b981a61e2c216d600e62eed39600dbef20e36d4ca7a77e6f7c4e654c88252b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 037817c42db7725bd3c158beac3b4fba80f769f139ea4c87dd01b3adad773ac8 [INFO] running `Command { std: "docker" "start" "-a" "037817c42db7725bd3c158beac3b4fba80f769f139ea4c87dd01b3adad773ac8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling derive-getters v0.5.0 [INFO] [stderr] Compiling rs-can v0.2.0 [INFO] [stderr] Compiling nican v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/driver.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::{shared::minwindef::HMODULE, um::{errhandlingapi::GetLastError, libloaderapi::{LoadLibraryA, GetProcAddress}, winnt::LPCSTR}}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/driver.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::{shared::minwindef::HMODULE, um::{errhandlingapi::GetLastError, libloaderapi::{LoadLibraryA, GetProcAddress}, winnt::LPCSTR}}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: index out of bounds: the length is 1 but the index is 8 [INFO] [stdout] --> src/generator/nican.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | ["Size of NCTYPE_UINT64"][::std::mem::size_of::() - 8usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `api::_` failed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: index out of bounds: the length is 1 but the index is 4 [INFO] [stdout] --> src/generator/nican.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 488 | ["Size of NCTYPE_CAN_FRAME"][::std::mem::size_of::() - 14usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `api::_` failed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: index out of bounds: the length is 1 but the index is 12 [INFO] [stdout] --> src/generator/nican.rs:510:5 [INFO] [stdout] | [INFO] [stdout] 510 | ["Size of NCTYPE_CAN_FRAME_TIMED"][::std::mem::size_of::() - 22usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `api::_` failed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: index out of bounds: the length is 1 but the index is 12 [INFO] [stdout] --> src/generator/nican.rs:535:5 [INFO] [stdout] | [INFO] [stdout] 535 | ["Size of NCTYPE_CAN_STRUCT"][::std::mem::size_of::() - 22usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `api::_` failed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0080]: index out of bounds: the length is 1 but the index is 8 [INFO] [stdout] --> src/generator/nican.rs:568:5 [INFO] [stdout] | [INFO] [stdout] 568 | ["Size of NCTYPE_CAN_DATA_TIMED"][::std::mem::size_of::() - 16usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `api::_` failed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | ArbitrationId: arb_id, [INFO] [stdout] | ^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | let is_extended = (arb_id & NC_FL_CAN_ARBID_XTD) > 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `u64 & u32` [INFO] [stdout] --> src/api.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | let is_extended = (arb_id & NC_FL_CAN_ARBID_XTD) > 0; [INFO] [stdout] | ^ no implementation for `u64 & u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitAnd` is not implemented for `u64` [INFO] [stdout] = help: the following other types implement trait `BitAnd`: [INFO] [stdout] `&u64` implements `BitAnd` [INFO] [stdout] `&u64` implements `BitAnd` [INFO] [stdout] `u64` implements `BitAnd<&u64>` [INFO] [stdout] `u64` implements `BitAnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | CanMessage::new_remote(CanId::from_bits(arb_id, Some(is_extended)), dlc as usize) [INFO] [stdout] | ---------------- ^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rs-can-0.2.0/src/frame/identifier.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn from_bits(id: u32, force_extend: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 48 | CanMessage::new_remote(CanId::from_bits(arb_id.try_into().unwrap(), Some(is_extended)), dlc as usize) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | CanMessage::new(CanId::from_bits(arb_id, Some(is_extended)), self.Data.as_slice()) [INFO] [stdout] | ---------------- ^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rs-can-0.2.0/src/frame/identifier.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn from_bits(id: u32, force_extend: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 50 | CanMessage::new(CanId::from_bits(arb_id.try_into().unwrap(), Some(is_extended)), self.Data.as_slice()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0080, E0277, E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0080`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nican` (lib) due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "037817c42db7725bd3c158beac3b4fba80f769f139ea4c87dd01b3adad773ac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "037817c42db7725bd3c158beac3b4fba80f769f139ea4c87dd01b3adad773ac8", kill_on_drop: false }` [INFO] [stdout] 037817c42db7725bd3c158beac3b4fba80f769f139ea4c87dd01b3adad773ac8