[INFO] fetching crate transfer_function 0.1.2...
[INFO] testing transfer_function-0.1.2 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate transfer_function 0.1.2 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate transfer_function 0.1.2 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 840b8ff383bd989aa59fef3ed3dca6b190e409f66a3268a8b9cb9a8e8025da3c
[INFO] running `Command { std: "docker" "start" "-a" "840b8ff383bd989aa59fef3ed3dca6b190e409f66a3268a8b9cb9a8e8025da3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "840b8ff383bd989aa59fef3ed3dca6b190e409f66a3268a8b9cb9a8e8025da3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "840b8ff383bd989aa59fef3ed3dca6b190e409f66a3268a8b9cb9a8e8025da3c", kill_on_drop: false }`
[INFO] [stdout] 840b8ff383bd989aa59fef3ed3dca6b190e409f66a3268a8b9cb9a8e8025da3c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 51e4ce5b0bc671ba626215130a96c231fda7c11c2ba395009b9308ce3ca4ad2d
[INFO] running `Command { std: "docker" "start" "-a" "51e4ce5b0bc671ba626215130a96c231fda7c11c2ba395009b9308ce3ca4ad2d", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num-iter v0.1.45
[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 8.40s
[INFO] running `Command { std: "docker" "inspect" "51e4ce5b0bc671ba626215130a96c231fda7c11c2ba395009b9308ce3ca4ad2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51e4ce5b0bc671ba626215130a96c231fda7c11c2ba395009b9308ce3ca4ad2d", kill_on_drop: false }`
[INFO] [stdout] 51e4ce5b0bc671ba626215130a96c231fda7c11c2ba395009b9308ce3ca4ad2d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be1f2ae92e979ee30d9546979306f40870e59e7f2fd327d42adbeed97db883ec
[INFO] running `Command { std: "docker" "start" "-a" "be1f2ae92e979ee30d9546979306f40870e59e7f2fd327d42adbeed97db883ec", 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.84s
[INFO] running `Command { std: "docker" "inspect" "be1f2ae92e979ee30d9546979306f40870e59e7f2fd327d42adbeed97db883ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be1f2ae92e979ee30d9546979306f40870e59e7f2fd327d42adbeed97db883ec", kill_on_drop: false }`
[INFO] [stdout] be1f2ae92e979ee30d9546979306f40870e59e7f2fd327d42adbeed97db883ec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8c16cbf946b48a202e8cd12a9b8f0c6c9daaa57aa381cff76d87bcfc7528d353
[INFO] running `Command { std: "docker" "start" "-a" "8c16cbf946b48a202e8cd12a9b8f0c6c9daaa57aa381cff76d87bcfc7528d353", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/transfer_function-30579bc0056a5c35)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::it_works ... ok
[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] [stderr]    Doc-tests transfer_function
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/transfer_function.rs - transfer_function::TransferFunctionS::tf (line 25) ... 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.rs - transfer_function::TransferFunctionZ::tf_fourier (line 130) ... FAILED
[INFO] [stdout] test src/transfer_function/tf_z.rs - transfer_function::tf_z::TfZ (line 12) ... ok
[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 (line 101) ... FAILED
[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::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<F>) -> Complex<F>;
[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::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<F>
[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] ---- 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<F>
[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::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 (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<F>) -> Complex<F>;
[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] 
[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.39s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "8c16cbf946b48a202e8cd12a9b8f0c6c9daaa57aa381cff76d87bcfc7528d353", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c16cbf946b48a202e8cd12a9b8f0c6c9daaa57aa381cff76d87bcfc7528d353", kill_on_drop: false }`
[INFO] [stdout] 8c16cbf946b48a202e8cd12a9b8f0c6c9daaa57aa381cff76d87bcfc7528d353
