[INFO] fetching crate waveform_space 0.1.2... [INFO] checking waveform_space-0.1.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate waveform_space 0.1.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate waveform_space 0.1.2 [INFO] finished tweaking crates.io crate waveform_space 0.1.2 [INFO] tweaked toml for crates.io crate waveform_space 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate waveform_space 0.1.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding num v0.1.43 (available: v0.4.3) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] [stderr] Adding rustfft v1.0.1 (available: v6.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d84a49d808dd1829b8fce58209743bdf0216da6df918e754569fce4773202f8 [INFO] running `Command { std: "docker" "start" "-a" "7d84a49d808dd1829b8fce58209743bdf0216da6df918e754569fce4773202f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d84a49d808dd1829b8fce58209743bdf0216da6df918e754569fce4773202f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d84a49d808dd1829b8fce58209743bdf0216da6df918e754569fce4773202f8", kill_on_drop: false }` [INFO] [stdout] 7d84a49d808dd1829b8fce58209743bdf0216da6df918e754569fce4773202f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c3c04270743d8742a5c1e30e4a12bc992747ff0c54e1bc125a2ddeb2c39f5ce [INFO] running `Command { std: "docker" "start" "-a" "1c3c04270743d8742a5c1e30e4a12bc992747ff0c54e1bc125a2ddeb2c39f5ce", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking stream-dct v0.1.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-rational v0.1.43 [INFO] [stderr] Checking rustfft v1.0.1 [INFO] [stdout] error[E0277]: the trait bound `&{float}: Float` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustfft-1.0.1/src/lib.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|phase| Complex::from_polar(&1.0, &phase)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Float` is not implemented for `&{float}` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Float`: [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] note: required by a bound in `Complex::::from_polar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-complex-0.4.6/src/lib.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | impl Complex { [INFO] [stdout] | ^^^^^ required by this bound in `Complex::::from_polar` [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn from_polar(r: T, theta: T) -> Self { [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustfft-1.0.1/src/lib.rs:39:69 [INFO] [stdout] | [INFO] [stdout] 39 | .map(|c| Complex {re: FromPrimitive::from_f32(c.re).unwrap(), [INFO] [stdout] | ----------------------- ^^^^ expected `f32`, found `&f32` [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/num-traits-0.2.19/src/cast.rs:475:8 [INFO] [stdout] | [INFO] [stdout] 475 | fn from_f32(n: f32) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 39 | .map(|c| Complex {re: FromPrimitive::from_f32(*c.re).unwrap(), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustfft-1.0.1/src/lib.rs:40:69 [INFO] [stdout] | [INFO] [stdout] 40 | ... im: FromPrimitive::from_f32(c.im).unwrap()}) [INFO] [stdout] | ----------------------- ^^^^ expected `f32`, found `&f32` [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/num-traits-0.2.19/src/cast.rs:475:8 [INFO] [stdout] | [INFO] [stdout] 475 | fn from_f32(n: f32) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 40 | im: FromPrimitive::from_f32(*c.im).unwrap()}) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&_: Float` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustfft-1.0.1/src/lib.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | let twiddle = Complex::from_polar(&One::one(), &angle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Float` is not implemented for `&_` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Float`: [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] note: required by a bound in `Complex::::from_polar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-complex-0.4.6/src/lib.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | impl Complex { [INFO] [stdout] | ^^^^^ required by this bound in `Complex::::from_polar` [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn from_polar(r: T, theta: T) -> Self { [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `Complex<&T>` by `Complex` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustfft-1.0.1/src/lib.rs:138:33 [INFO] [stdout] | [INFO] [stdout] 138 | sum = sum + twiddle * x; [INFO] [stdout] | ------- ^ - Complex [INFO] [stdout] | | [INFO] [stdout] | Complex<&T> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `Complex<&T>` doesn't implement `Mul>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-complex-0.4.6/src/lib.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Complex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not implement `Mul>` [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 130 | pub fn dft(signal: &[Complex], spectrum: &mut [Complex]) where Complex<&T>: Mul> { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustfft` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1c3c04270743d8742a5c1e30e4a12bc992747ff0c54e1bc125a2ddeb2c39f5ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c3c04270743d8742a5c1e30e4a12bc992747ff0c54e1bc125a2ddeb2c39f5ce", kill_on_drop: false }` [INFO] [stdout] 1c3c04270743d8742a5c1e30e4a12bc992747ff0c54e1bc125a2ddeb2c39f5ce