[INFO] fetching crate stm32cubeprog-rs 0.0.4... [INFO] testing stm32cubeprog-rs-0.0.4 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate stm32cubeprog-rs 0.0.4 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate stm32cubeprog-rs 0.0.4 [INFO] finished tweaking crates.io crate stm32cubeprog-rs 0.0.4 [INFO] tweaked toml for crates.io crate stm32cubeprog-rs 0.0.4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stm32cubeprog-rs 0.0.4 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate stm32cubeprog-rs 0.0.4 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded widestring v1.0.2 [INFO] [stderr] Downloaded libloading v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c58e8ee660f61f7c0cf803fde9dd0668f5beb2bb848e43196f48056d5d6d9d50 [INFO] running `Command { std: "docker" "start" "-a" "c58e8ee660f61f7c0cf803fde9dd0668f5beb2bb848e43196f48056d5d6d9d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c58e8ee660f61f7c0cf803fde9dd0668f5beb2bb848e43196f48056d5d6d9d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c58e8ee660f61f7c0cf803fde9dd0668f5beb2bb848e43196f48056d5d6d9d50", kill_on_drop: false }` [INFO] [stdout] c58e8ee660f61f7c0cf803fde9dd0668f5beb2bb848e43196f48056d5d6d9d50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7ec11f0499452a8654fd384ab59b07187d1a97cf65731f3a19f41b3e31535c8 [INFO] running `Command { std: "docker" "start" "-a" "e7ec11f0499452a8654fd384ab59b07187d1a97cf65731f3a19f41b3e31535c8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling widestring v1.0.2 [INFO] [stderr] Compiling stm32cubeprog-rs v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.04s [INFO] running `Command { std: "docker" "inspect" "e7ec11f0499452a8654fd384ab59b07187d1a97cf65731f3a19f41b3e31535c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7ec11f0499452a8654fd384ab59b07187d1a97cf65731f3a19f41b3e31535c8", kill_on_drop: false }` [INFO] [stdout] e7ec11f0499452a8654fd384ab59b07187d1a97cf65731f3a19f41b3e31535c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66d72363d06ce4373bc162c25a9c02e2ed0dedaef8b3be8619f1c87f56008fec [INFO] running `Command { std: "docker" "start" "-a" "66d72363d06ce4373bc162c25a9c02e2ed0dedaef8b3be8619f1c87f56008fec", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling stm32cubeprog-rs v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "66d72363d06ce4373bc162c25a9c02e2ed0dedaef8b3be8619f1c87f56008fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66d72363d06ce4373bc162c25a9c02e2ed0dedaef8b3be8619f1c87f56008fec", kill_on_drop: false }` [INFO] [stdout] 66d72363d06ce4373bc162c25a9c02e2ed0dedaef8b3be8619f1c87f56008fec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a4e63b51b452545bbd074214d3856e19ef41b78303eb82475746dd2f3b62f5c4 [INFO] running `Command { std: "docker" "start" "-a" "a4e63b51b452545bbd074214d3856e19ef41b78303eb82475746dd2f3b62f5c4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stm32cubeprog_rs-b1ea81d3c916e8c8) [INFO] [stdout] [INFO] [stderr] Doc-tests stm32cubeprog_rs [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 23 | stlink.reset_mode(stm32cubeprog_rs::DebugResetMode::HardwareReset); [INFO] [stdout] | ^^^^^^^^^^ ----------------------------------------------- unexpected argument of type `DebugResetMode` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn reset_mode(&self) -> DebugResetMode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 23 - stlink.reset_mode(stm32cubeprog_rs::DebugResetMode::HardwareReset); [INFO] [stdout] 23 + stlink.reset_mode(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 24 | stlink.connection_mode(stm32cubeprog_rs::DebugConnectMode::UnderReset); [INFO] [stdout] | ^^^^^^^^^^^^^^^ ---------------------------------------------- unexpected argument of type `DebugConnectMode` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn connection_mode(&self) -> DebugConnectMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 24 - stlink.connection_mode(stm32cubeprog_rs::DebugConnectMode::UnderReset); [INFO] [stdout] 24 + stlink.connection_mode(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a4e63b51b452545bbd074214d3856e19ef41b78303eb82475746dd2f3b62f5c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e63b51b452545bbd074214d3856e19ef41b78303eb82475746dd2f3b62f5c4", kill_on_drop: false }` [INFO] [stdout] a4e63b51b452545bbd074214d3856e19ef41b78303eb82475746dd2f3b62f5c4