[INFO] fetching crate rft 0.1.0... [INFO] checking rft-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rft 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate rft 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rft 0.1.0 [INFO] finished tweaking crates.io crate rft 0.1.0 [INFO] tweaked toml for crates.io crate rft 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strided v0.2.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb2df8a68e3119445ad9e8cd0f16d82a0647ad7a09eb0c49374c4ecf4a6159eb [INFO] running `Command { std: "docker" "start" "-a" "bb2df8a68e3119445ad9e8cd0f16d82a0647ad7a09eb0c49374c4ecf4a6159eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb2df8a68e3119445ad9e8cd0f16d82a0647ad7a09eb0c49374c4ecf4a6159eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb2df8a68e3119445ad9e8cd0f16d82a0647ad7a09eb0c49374c4ecf4a6159eb", kill_on_drop: false }` [INFO] [stdout] bb2df8a68e3119445ad9e8cd0f16d82a0647ad7a09eb0c49374c4ecf4a6159eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f04274c623189829b0eecee5866c9ac8aae974f26ec4db74ee3e5c2aa9aa5bd [INFO] running `Command { std: "docker" "start" "-a" "4f04274c623189829b0eecee5866c9ac8aae974f26ec4db74ee3e5c2aa9aa5bd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking strided v0.2.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking rft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/spectrum/average/mod.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | mut output: MutStride); [INFO] [stdout] | ^^^^^^^^^^ help: remove `mut` from the parameter: `output` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/spectrum/average/mod.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | mut output: MutStride); [INFO] [stdout] | ^^^^^^^^^^ help: remove `mut` from the parameter: `output` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&{float}: Float` is not satisfied [INFO] [stdout] --> src/transform/cooley_tukey.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | let twiddle = num::Complex::from_polar(&1.0, [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 `num::Complex::::from_polar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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[E0277]: cannot multiply `num::Complex` by `num::Complex<&f32>` [INFO] [stdout] --> src/transform/cooley_tukey.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | factor = factor * twiddle; [INFO] [stdout] | ^ no implementation for `num::Complex * num::Complex<&f32>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul>` is not implemented for `num::Complex` [INFO] [stdout] = help: the following other types implement trait `Mul`: [INFO] [stdout] `&'a num::Complex` implements `Mul<&'b num::Complex>` [INFO] [stdout] `&'a num::Complex` implements `Mul` [INFO] [stdout] `&'a num::Complex` implements `Mul>` [INFO] [stdout] `&'b num::Complex` implements `Mul<&'a T>` [INFO] [stdout] `num::Complex` implements `Mul<&'a T>` [INFO] [stdout] `num::Complex` implements `Mul<&'a num::Complex>` [INFO] [stdout] `num::Complex` implements `Mul` [INFO] [stdout] `num::Complex` implements `Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&{float}: Float` is not satisfied [INFO] [stdout] --> src/transform/bluestein.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | t.push(num::Complex::from_polar(&1.0, [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 `num::Complex::::from_polar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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[E0277]: cannot multiply `num::Complex` by `num::Complex<&f32>` [INFO] [stdout] --> src/transform/bluestein.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | a.push(input[i].to_num() * t[i]); [INFO] [stdout] | ^ no implementation for `num::Complex * num::Complex<&f32>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul>` is not implemented for `num::Complex` [INFO] [stdout] = help: the following other types implement trait `Mul`: [INFO] [stdout] `&'a num::Complex` implements `Mul<&'b num::Complex>` [INFO] [stdout] `&'a num::Complex` implements `Mul` [INFO] [stdout] `&'a num::Complex` implements `Mul>` [INFO] [stdout] `&'b num::Complex` implements `Mul<&'a T>` [INFO] [stdout] `num::Complex` implements `Mul<&'a T>` [INFO] [stdout] `num::Complex` implements `Mul<&'a num::Complex>` [INFO] [stdout] `num::Complex` implements `Mul` [INFO] [stdout] `num::Complex` implements `Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `conj` exists for struct `Complex<&f32>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/transform/bluestein.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | b.push(t[cmp::min(i, next - i)].conj()); [INFO] [stdout] | ^^^^ method cannot be called on `Complex<&f32>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<&f32 as Neg>::Output = &f32` [INFO] [stdout] `&f32: Num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `num::Complex<&f32>: complex::Complex` is not satisfied [INFO] [stdout] --> src/transform/bluestein.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | output.mul(exp); [INFO] [stdout] | --- ^^^ the trait `Sample` is not implemented for `num::Complex<&f32>`, which is required by `num::Complex<&f32>: complex::Complex` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Sample`: [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] u8 [INFO] [stdout] note: required for `num::Complex<&f32>` to implement `complex::Complex` [INFO] [stdout] --> src/sample.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | impl Complex for S { [INFO] [stdout] | ------ ^^^^^^^ ^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `ComplexMut::mul` [INFO] [stdout] --> src/complex.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | fn mul(&mut self, value: &C) { [INFO] [stdout] | ^^^^^^^ required by this bound in `ComplexMut::mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&{float}: Float` is not satisfied [INFO] [stdout] --> src/transform/cooley_tukey.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | let twiddle = num::Complex::from_polar(&1.0, [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 `num::Complex::::from_polar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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] warning: unused import: `num::Zero` [INFO] [stdout] --> src/window/window.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num::Zero; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::Zero` [INFO] [stdout] --> src/window/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use num::Zero; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `num::Complex` by `num::Complex<&f32>` [INFO] [stdout] --> src/transform/cooley_tukey.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | factor = factor * twiddle; [INFO] [stdout] | ^ no implementation for `num::Complex * num::Complex<&f32>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul>` is not implemented for `num::Complex` [INFO] [stdout] = help: the following other types implement trait `Mul`: [INFO] [stdout] `&'a num::Complex` implements `Mul<&'b num::Complex>` [INFO] [stdout] `&'a num::Complex` implements `Mul` [INFO] [stdout] `&'a num::Complex` implements `Mul>` [INFO] [stdout] `&'b num::Complex` implements `Mul<&'a T>` [INFO] [stdout] `num::Complex` implements `Mul<&'a T>` [INFO] [stdout] `num::Complex` implements `Mul<&'a num::Complex>` [INFO] [stdout] `num::Complex` implements `Mul` [INFO] [stdout] `num::Complex` implements `Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&{float}: Float` is not satisfied [INFO] [stdout] --> src/transform/bluestein.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | t.push(num::Complex::from_polar(&1.0, [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 `num::Complex::::from_polar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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[E0277]: cannot multiply `num::Complex` by `num::Complex<&f32>` [INFO] [stdout] --> src/transform/bluestein.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | a.push(input[i].to_num() * t[i]); [INFO] [stdout] | ^ no implementation for `num::Complex * num::Complex<&f32>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul>` is not implemented for `num::Complex` [INFO] [stdout] = help: the following other types implement trait `Mul`: [INFO] [stdout] `&'a num::Complex` implements `Mul<&'b num::Complex>` [INFO] [stdout] `&'a num::Complex` implements `Mul` [INFO] [stdout] `&'a num::Complex` implements `Mul>` [INFO] [stdout] `&'b num::Complex` implements `Mul<&'a T>` [INFO] [stdout] `num::Complex` implements `Mul<&'a T>` [INFO] [stdout] `num::Complex` implements `Mul<&'a num::Complex>` [INFO] [stdout] `num::Complex` implements `Mul` [INFO] [stdout] `num::Complex` implements `Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `conj` exists for struct `Complex<&f32>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/transform/bluestein.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | b.push(t[cmp::min(i, next - i)].conj()); [INFO] [stdout] | ^^^^ method cannot be called on `Complex<&f32>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<&f32 as Neg>::Output = &f32` [INFO] [stdout] `&f32: Num` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rft` (lib) due to 8 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `num::Complex<&f32>: complex::Complex` is not satisfied [INFO] [stdout] --> src/transform/bluestein.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | output.mul(exp); [INFO] [stdout] | --- ^^^ the trait `Sample` is not implemented for `num::Complex<&f32>`, which is required by `num::Complex<&f32>: complex::Complex` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Sample`: [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] u8 [INFO] [stdout] note: required for `num::Complex<&f32>` to implement `complex::Complex` [INFO] [stdout] --> src/sample.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | impl Complex for S { [INFO] [stdout] | ------ ^^^^^^^ ^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `ComplexMut::mul` [INFO] [stdout] --> src/complex.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | fn mul(&mut self, value: &C) { [INFO] [stdout] | ^^^^^^^ required by this bound in `ComplexMut::mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::Zero` [INFO] [stdout] --> src/window/window.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num::Zero; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::Zero` [INFO] [stdout] --> src/window/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use num::Zero; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rft` (lib test) due to 8 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4f04274c623189829b0eecee5866c9ac8aae974f26ec4db74ee3e5c2aa9aa5bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f04274c623189829b0eecee5866c9ac8aae974f26ec4db74ee3e5c2aa9aa5bd", kill_on_drop: false }` [INFO] [stdout] 4f04274c623189829b0eecee5866c9ac8aae974f26ec4db74ee3e5c2aa9aa5bd