[INFO] cloning repository https://github.com/Wang-Ji20/acousticdi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wang-Ji20/acousticdi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWang-Ji20%2Facousticdi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWang-Ji20%2Facousticdi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6dfcc7b9a133aa1c1f06275f259e7cd28445bab4 [INFO] checking Wang-Ji20/acousticdi/6dfcc7b9a133aa1c1f06275f259e7cd28445bab4 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWang-Ji20%2Facousticdi" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Wang-Ji20/acousticdi 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] started tweaking git repo https://github.com/Wang-Ji20/acousticdi [INFO] finished tweaking git repo https://github.com/Wang-Ji20/acousticdi [INFO] tweaked toml for git repo https://github.com/Wang-Ji20/acousticdi written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Wang-Ji20/acousticdi 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 532fe758d3e9e7e8f2c04f40bf1feae404bdd305c17e2e6bd3bdabef502f2850 [INFO] running `Command { std: "docker" "start" "-a" "532fe758d3e9e7e8f2c04f40bf1feae404bdd305c17e2e6bd3bdabef502f2850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "532fe758d3e9e7e8f2c04f40bf1feae404bdd305c17e2e6bd3bdabef502f2850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "532fe758d3e9e7e8f2c04f40bf1feae404bdd305c17e2e6bd3bdabef502f2850", kill_on_drop: false }` [INFO] [stdout] 532fe758d3e9e7e8f2c04f40bf1feae404bdd305c17e2e6bd3bdabef502f2850 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b23a51f31d6e0fef69f3a91087ce6941c3606fab56dadb222778a84eb81b184f [INFO] running `Command { std: "docker" "start" "-a" "b23a51f31d6e0fef69f3a91087ce6941c3606fab56dadb222778a84eb81b184f", 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] Compiling libc v0.2.151 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.72 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking dasp_ring_buffer v0.11.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rustfft v6.1.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.78 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking dasp_window v0.11.1 [INFO] [stderr] Checking strider v0.1.3 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking apodize v1.0.0 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking dasp_peak v0.11.0 [INFO] [stderr] Checking dasp_rms v0.11.0 [INFO] [stderr] Checking dasp_interpolate v0.11.0 [INFO] [stderr] Checking dasp_slice v0.11.0 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking dasp_envelope v0.11.0 [INFO] [stderr] Checking dasp_signal v0.11.0 [INFO] [stderr] Checking dasp v0.11.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking primal-check v0.3.3 [INFO] [stderr] Checking transpose v0.2.2 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking alsa v0.7.1 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ruststft v0.3.1 [INFO] [stderr] Checking acousticdi v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/physics.rs (1 fix) [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stderr] Fixed src/recorder.rs (2 fixes) [INFO] [stderr] Fixed src/transmission.rs (1 fix) [INFO] [stdout] warning: unused variable: `votes` [INFO] [stdout] --> src/transmission.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | votes, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `votes: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_DATA` is never used [INFO] [stdout] --> src/lib.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const TEST_DATA: &str = "WHAT is truth? said jesting Pilate and would not stay for an answer. Certainly there be that delight"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `take_samples` and `demodulate_data` are never used [INFO] [stdout] --> src/transmission.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Receiver { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | fn take_samples(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn demodulate_data(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/recorder.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | sleep(Duration::from_secs(3)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::time::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/recorder.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | sleep(Duration::from_secs(3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `output_wav` in this scope [INFO] [stdout] --> src/physics.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | output_wav(&v, "preamble.wav"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 + use crate::output_wav; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `output_wav` in this scope [INFO] [stdout] --> src/physics.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | output_wav(&v, "always0.wav"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 + use crate::output_wav; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `votes` [INFO] [stdout] --> src/transmission.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | votes, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `votes: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [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 `acousticdi` (lib test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b23a51f31d6e0fef69f3a91087ce6941c3606fab56dadb222778a84eb81b184f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b23a51f31d6e0fef69f3a91087ce6941c3606fab56dadb222778a84eb81b184f", kill_on_drop: false }` [INFO] [stdout] b23a51f31d6e0fef69f3a91087ce6941c3606fab56dadb222778a84eb81b184f