[INFO] fetching crate transfer_function 0.1.2... [INFO] testing transfer_function-0.1.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate transfer_function 0.1.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate transfer_function 0.1.2 [INFO] finished tweaking crates.io crate transfer_function 0.1.2 [INFO] tweaked toml for crates.io crate transfer_function 0.1.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate transfer_function 0.1.2 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 49b2c2e7bffa77563da251129163ed8caa3d3532b34ad31ef6f97ff1c3b0bfb7 [INFO] running `Command { std: "docker" "start" "-a" "49b2c2e7bffa77563da251129163ed8caa3d3532b34ad31ef6f97ff1c3b0bfb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49b2c2e7bffa77563da251129163ed8caa3d3532b34ad31ef6f97ff1c3b0bfb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49b2c2e7bffa77563da251129163ed8caa3d3532b34ad31ef6f97ff1c3b0bfb7", kill_on_drop: false }` [INFO] [stdout] 49b2c2e7bffa77563da251129163ed8caa3d3532b34ad31ef6f97ff1c3b0bfb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8d426eeef4ecda02532108e64061262e2ee8177ec91e0b41aa1609cf051cd113 [INFO] running `Command { std: "docker" "start" "-a" "8d426eeef4ecda02532108e64061262e2ee8177ec91e0b41aa1609cf051cd113", kill_on_drop: false }` [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling transfer_function v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.90s [INFO] running `Command { std: "docker" "inspect" "8d426eeef4ecda02532108e64061262e2ee8177ec91e0b41aa1609cf051cd113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d426eeef4ecda02532108e64061262e2ee8177ec91e0b41aa1609cf051cd113", kill_on_drop: false }` [INFO] [stdout] 8d426eeef4ecda02532108e64061262e2ee8177ec91e0b41aa1609cf051cd113 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] d88c05ab9f4ce05abdc834daa44fe1b239067b79dc21816b285dc9ec5810c172 [INFO] running `Command { std: "docker" "start" "-a" "d88c05ab9f4ce05abdc834daa44fe1b239067b79dc21816b285dc9ec5810c172", kill_on_drop: false }` [INFO] [stderr] Compiling transfer_function v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "d88c05ab9f4ce05abdc834daa44fe1b239067b79dc21816b285dc9ec5810c172", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d88c05ab9f4ce05abdc834daa44fe1b239067b79dc21816b285dc9ec5810c172", kill_on_drop: false }` [INFO] [stdout] d88c05ab9f4ce05abdc834daa44fe1b239067b79dc21816b285dc9ec5810c172 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] eee5b307b321bc9cd5b9a8a72633833c62968872c8dcff94c84f85cc12e6d31b [INFO] running `Command { std: "docker" "start" "-a" "eee5b307b321bc9cd5b9a8a72633833c62968872c8dcff94c84f85cc12e6d31b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/transfer_function-f31ad3884ec2df71) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stderr] Doc-tests transfer_function [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/transfer_function.rs - transfer_function::TransferFunctionS::to_z (line 76) ... FAILED [INFO] [stdout] test src/transfer_function.rs - transfer_function::TransferFunctionZ::tf_fourier (line 130) ... FAILED [INFO] [stdout] test src/transfer_function.rs - transfer_function::TransferFunctionS::tf (line 25) ... FAILED [INFO] [stdout] test src/transfer_function.rs - transfer_function::TransferFunctionZ::tf (line 101) ... FAILED [INFO] [stdout] test src/transfer_function.rs - transfer_function::TransferFunctionS::tf_fourier (line 53) ... FAILED [INFO] [stdout] test src/transfer_function.rs - transfer_function::TransferFunctionZ::to_s (line 154) ... FAILED [INFO] [stdout] test src/transfer_function/tf_z.rs - transfer_function::tf_z::TfZ (line 12) ... ok [INFO] [stdout] test src/transfer_function/tf_s.rs - transfer_function::tf_s::TfS (line 12) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/transfer_function.rs - transfer_function::TransferFunctionS::to_z (line 76) stdout ---- [INFO] [stdout] error[E0599]: no method named `to_z` found for enum `TfS` in the current scope [INFO] [stdout] --> src/transfer_function.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 8 | let hz = hs.to_z(44100.0); [INFO] [stdout] | ^^^^ method not found in `TfS<{float}>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/transfer_function.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn to_z(&self, rate: F) -> Self::Z; [INFO] [stdout] | ---- the method is available for `TfS<{float}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TransferFunctionS` which provides `to_z` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::transfer_function::TransferFunctionS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transfer_function.rs - transfer_function::TransferFunctionZ::tf_fourier (line 130) stdout ---- [INFO] [stdout] error[E0599]: no method named `tf_fourier` found for enum `TfZ` in the current scope [INFO] [stdout] --> src/transfer_function.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 12 | h.tf_fourier(TAU*(n as f32)/(N as f32)) [INFO] [stdout] | ^^^^^^^^^^ method not found in `TfZ<{float}>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/transfer_function.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn tf_fourier(&self, omega: F) -> Complex [INFO] [stdout] | ---------- the method is available for `TfZ<{float}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TransferFunctionZ` which provides `tf_fourier` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::transfer_function::TransferFunctionZ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transfer_function.rs - transfer_function::TransferFunctionS::tf (line 25) stdout ---- [INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `usize` [INFO] [stdout] --> src/transfer_function.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 11 | let hs = (-N..N).map(|n| [INFO] [stdout] | ^^ cannot apply unary operator `-` [INFO] [stdout] | [INFO] [stdout] = note: unsigned values cannot be negated [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `usize` [INFO] [stdout] --> src/transfer_function.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 12 | (-N..N).map(|m| [INFO] [stdout] | ^^ cannot apply unary operator `-` [INFO] [stdout] | [INFO] [stdout] = note: unsigned values cannot be negated [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tf` found for enum `TfS` in the current scope [INFO] [stdout] --> src/transfer_function.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 13 | h.tf(Complex::new( [INFO] [stdout] | --^^ method not found in `TfS<{float}>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/transfer_function.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn tf(&self, s: Complex) -> Complex; [INFO] [stdout] | -- the method is available for `TfS<{float}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TransferFunctionS` which provides `tf` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::transfer_function::TransferFunctionS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0600. [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transfer_function.rs - transfer_function::TransferFunctionZ::tf (line 101) stdout ---- [INFO] [stdout] error[E0599]: no method named `tf` found for enum `TfZ` in the current scope [INFO] [stdout] --> src/transfer_function.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 14 | h.tf(Complex::from_polar( [INFO] [stdout] | --^^ method not found in `TfZ<{float}>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/transfer_function.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | fn tf(&self, z: Complex) -> Complex; [INFO] [stdout] | -- the method is available for `TfZ<{float}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TransferFunctionZ` which provides `tf` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::transfer_function::TransferFunctionZ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transfer_function.rs - transfer_function::TransferFunctionS::tf_fourier (line 53) stdout ---- [INFO] [stdout] error[E0599]: no method named `tf_fourier` found for enum `TfS` in the current scope [INFO] [stdout] --> src/transfer_function.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 11 | h.tf_fourier(10.0*(n as f32)/(N as f32)) [INFO] [stdout] | ^^^^^^^^^^ method not found in `TfS<{float}>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/transfer_function.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn tf_fourier(&self, omega: F) -> Complex [INFO] [stdout] | ---------- the method is available for `TfS<{float}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TransferFunctionS` which provides `tf_fourier` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::transfer_function::TransferFunctionS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transfer_function.rs - transfer_function::TransferFunctionZ::to_s (line 154) stdout ---- [INFO] [stdout] error[E0599]: no method named `to_s` found for enum `TfZ` in the current scope [INFO] [stdout] --> src/transfer_function.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 8 | let hs = hz.to_s(44100.0); [INFO] [stdout] | ^^^^ method not found in `TfZ<{float}>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/transfer_function.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | fn to_s(&self, rate: F) -> Self::A; [INFO] [stdout] | ---- the method is available for `TfZ<{float}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TransferFunctionZ` which provides `to_s` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::transfer_function::TransferFunctionZ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/transfer_function.rs - transfer_function::TransferFunctionS::tf (line 25) [INFO] [stdout] src/transfer_function.rs - transfer_function::TransferFunctionS::tf_fourier (line 53) [INFO] [stdout] src/transfer_function.rs - transfer_function::TransferFunctionS::to_z (line 76) [INFO] [stdout] src/transfer_function.rs - transfer_function::TransferFunctionZ::tf (line 101) [INFO] [stdout] src/transfer_function.rs - transfer_function::TransferFunctionZ::tf_fourier (line 130) [INFO] [stdout] src/transfer_function.rs - transfer_function::TransferFunctionZ::to_s (line 154) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "eee5b307b321bc9cd5b9a8a72633833c62968872c8dcff94c84f85cc12e6d31b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eee5b307b321bc9cd5b9a8a72633833c62968872c8dcff94c84f85cc12e6d31b", kill_on_drop: false }` [INFO] [stdout] eee5b307b321bc9cd5b9a8a72633833c62968872c8dcff94c84f85cc12e6d31b