[INFO] fetching crate h1emu-core 1.2.8... [INFO] checking h1emu-core-1.2.8 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate h1emu-core 1.2.8 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate h1emu-core 1.2.8 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate h1emu-core 1.2.8 [INFO] finished tweaking crates.io crate h1emu-core 1.2.8 [INFO] tweaked toml for crates.io crate h1emu-core 1.2.8 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 79 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b54a2356054e616a6ed94d9c5328c6d99afcfb1acccd74e29a408c99d4860a16 [INFO] running `Command { std: "docker" "start" "-a" "b54a2356054e616a6ed94d9c5328c6d99afcfb1acccd74e29a408c99d4860a16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b54a2356054e616a6ed94d9c5328c6d99afcfb1acccd74e29a408c99d4860a16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b54a2356054e616a6ed94d9c5328c6d99afcfb1acccd74e29a408c99d4860a16", kill_on_drop: false }` [INFO] [stdout] b54a2356054e616a6ed94d9c5328c6d99afcfb1acccd74e29a408c99d4860a16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb0c4ccac61f981c639f92837c108477dbf57c4bf8f7e0b771af929c8a9c4030 [INFO] running `Command { std: "docker" "start" "-a" "bb0c4ccac61f981c639f92837c108477dbf57c4bf8f7e0b771af929c8a9c4030", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (5 fixes) [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking h1emu-core v1.2.8 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/soeprotocol.rs (10 fixes) [INFO] [stderr] Migrating benches/lib-bench.rs from 2021 edition to 2024 [INFO] [stderr] Fixed benches/../src/gatewayprotocol.rs (1 fix) [INFO] [stderr] Fixed benches/../src/soeprotocol.rs (3 fixes) [INFO] [stdout] warning: function `sat` is never used [INFO] [stdout] --> benches/../src/lib_utils.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn sat(x: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> benches/lib-bench.rs:434:5 [INFO] [stdout] | [INFO] [stdout] 434 | drop(data); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 24]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 434 - drop(data); [INFO] [stdout] 434 + let _ = data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> benches/lib-bench.rs:439:5 [INFO] [stdout] | [INFO] [stdout] 439 | drop(data); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 5]` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 439 - drop(data); [INFO] [stdout] 439 + let _ = data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.00s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking h1emu-core v1.2.8 (/tmp/fixit) [INFO] [stdout] error[E0425]: cannot find function `random` in this scope [INFO] [stdout] --> src/gatewayprotocol.rs:295:34 [INFO] [stdout] | [INFO] [stdout] 295 | let r: [u8; 4] = random(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 187 + use rand::random; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `random` in this scope [INFO] [stdout] --> src/gatewayprotocol.rs:303:34 [INFO] [stdout] | [INFO] [stdout] 303 | let r: [u8; 8] = random(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 187 + use rand::random; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:839:57 [INFO] [stdout] | [INFO] [stdout] 839 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::SessionRequest, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:854:57 [INFO] [stdout] | [INFO] [stdout] 854 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::SessionRequest, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorType` [INFO] [stdout] --> src/soeprotocol.rs:856:38 [INFO] [stdout] | [INFO] [stdout] 856 | assert_eq!(data_pack_opcode, ErrorType::Deserializing as u16) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::protocol_errors::ErrorType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:887:57 [INFO] [stdout] | [INFO] [stdout] 887 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::SessionReply, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:899:57 [INFO] [stdout] | [INFO] [stdout] 899 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::SessionReply, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorType` [INFO] [stdout] --> src/soeprotocol.rs:901:38 [INFO] [stdout] | [INFO] [stdout] 901 | assert_eq!(data_pack_opcode, ErrorType::Deserializing as u16) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::protocol_errors::ErrorType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:938:57 [INFO] [stdout] | [INFO] [stdout] 938 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::NetStatusRequest, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:953:57 [INFO] [stdout] | [INFO] [stdout] 953 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::NetStatusRequest, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorType` [INFO] [stdout] --> src/soeprotocol.rs:955:38 [INFO] [stdout] | [INFO] [stdout] 955 | assert_eq!(data_pack_opcode, ErrorType::Deserializing as u16) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::protocol_errors::ErrorType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:992:57 [INFO] [stdout] | [INFO] [stdout] 992 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::NetStatusReply, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:1007:57 [INFO] [stdout] | [INFO] [stdout] 1007 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::NetStatusRequest, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorType` [INFO] [stdout] --> src/soeprotocol.rs:1009:38 [INFO] [stdout] | [INFO] [stdout] 1009 | assert_eq!(data_pack_opcode, ErrorType::Deserializing as u16) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::protocol_errors::ErrorType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:1024:57 [INFO] [stdout] | [INFO] [stdout] 1024 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::Ping, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:1069:57 [INFO] [stdout] | [INFO] [stdout] 1069 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::OutOfOrder, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:1077:57 [INFO] [stdout] | [INFO] [stdout] 1077 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::OutOfOrder, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorType` [INFO] [stdout] --> src/soeprotocol.rs:1079:38 [INFO] [stdout] | [INFO] [stdout] 1079 | assert_eq!(data_pack_opcode, ErrorType::Deserializing as u16) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::protocol_errors::ErrorType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:1112:57 [INFO] [stdout] | [INFO] [stdout] 1112 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::Ack, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:1120:57 [INFO] [stdout] | [INFO] [stdout] 1120 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::Ack, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorType` [INFO] [stdout] --> src/soeprotocol.rs:1122:38 [INFO] [stdout] | [INFO] [stdout] 1122 | assert_eq!(data_pack_opcode, ErrorType::Deserializing as u16) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::protocol_errors::ErrorType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:1209:57 [INFO] [stdout] | [INFO] [stdout] 1209 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::MultiPacket, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:1228:57 [INFO] [stdout] | [INFO] [stdout] 1228 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::MultiPacket, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorType` [INFO] [stdout] --> src/soeprotocol.rs:1230:38 [INFO] [stdout] | [INFO] [stdout] 1230 | assert_eq!(data_pack_opcode, ErrorType::Deserializing as u16) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::protocol_errors::ErrorType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `append_crc` in this scope [INFO] [stdout] --> src/soeprotocol.rs:1295:9 [INFO] [stdout] | [INFO] [stdout] 1295 | append_crc(&mut data_to_parse, 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 808 + use crate::crc::append_crc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:1323:57 [INFO] [stdout] | [INFO] [stdout] 1323 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::Data, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:1335:57 [INFO] [stdout] | [INFO] [stdout] 1335 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::Ordered, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:1346:57 [INFO] [stdout] | [INFO] [stdout] 1346 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::Data, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorType` [INFO] [stdout] --> src/soeprotocol.rs:1348:38 [INFO] [stdout] | [INFO] [stdout] 1348 | assert_eq!(data_pack_opcode, ErrorType::Deserializing as u16) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::protocol_errors::ErrorType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:1408:57 [INFO] [stdout] | [INFO] [stdout] 1408 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::DataFragment, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoeOpcode` [INFO] [stdout] --> src/soeprotocol.rs:1419:57 [INFO] [stdout] | [INFO] [stdout] 1419 | let data_pack: Vec = soeprotocol_class.pack(SoeOpcode::DataFragment, data_to_pack); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SoeOpcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::soeprotocol::SoeOpcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorType` [INFO] [stdout] --> src/soeprotocol.rs:1421:38 [INFO] [stdout] | [INFO] [stdout] 1421 | assert_eq!(data_pack_opcode, ErrorType::Deserializing as u16) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 808 + use crate::protocol_errors::ErrorType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `h1emu-core` (lib test) due to 33 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `sat` is never used [INFO] [stdout] --> benches/../src/lib_utils.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn sat(x: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> benches/lib-bench.rs:434:5 [INFO] [stdout] | [INFO] [stdout] 434 | drop(data); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 24]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 434 - drop(data); [INFO] [stdout] 434 + let _ = data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> benches/lib-bench.rs:439:5 [INFO] [stdout] | [INFO] [stdout] 439 | drop(data); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 5]` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 439 - drop(data); [INFO] [stdout] 439 + let _ = data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "bb0c4ccac61f981c639f92837c108477dbf57c4bf8f7e0b771af929c8a9c4030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb0c4ccac61f981c639f92837c108477dbf57c4bf8f7e0b771af929c8a9c4030", kill_on_drop: false }` [INFO] [stdout] bb0c4ccac61f981c639f92837c108477dbf57c4bf8f7e0b771af929c8a9c4030