[INFO] fetching crate transfer_function 0.1.2... [INFO] testing transfer_function-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate transfer_function 0.1.2 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate transfer_function 0.1.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 773b6d2e71c3044edbf3a9270ff527eb756728e0267dccef67c846e748eb9b6b [INFO] running `Command { std: "docker" "start" "-a" "773b6d2e71c3044edbf3a9270ff527eb756728e0267dccef67c846e748eb9b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "773b6d2e71c3044edbf3a9270ff527eb756728e0267dccef67c846e748eb9b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "773b6d2e71c3044edbf3a9270ff527eb756728e0267dccef67c846e748eb9b6b", kill_on_drop: false }` [INFO] [stdout] 773b6d2e71c3044edbf3a9270ff527eb756728e0267dccef67c846e748eb9b6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83b559be591a9890b9a635b5fd7e1fd93245303e8ed88e1cb0e5b506b6c3475c [INFO] running `Command { std: "docker" "start" "-a" "83b559be591a9890b9a635b5fd7e1fd93245303e8ed88e1cb0e5b506b6c3475c", 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 4.35s [INFO] running `Command { std: "docker" "inspect" "83b559be591a9890b9a635b5fd7e1fd93245303e8ed88e1cb0e5b506b6c3475c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83b559be591a9890b9a635b5fd7e1fd93245303e8ed88e1cb0e5b506b6c3475c", kill_on_drop: false }` [INFO] [stdout] 83b559be591a9890b9a635b5fd7e1fd93245303e8ed88e1cb0e5b506b6c3475c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 870fba14f4b7eb550fa3e1012c1161a65365ad4739c30a130650b23cbb620069 [INFO] running `Command { std: "docker" "start" "-a" "870fba14f4b7eb550fa3e1012c1161a65365ad4739c30a130650b23cbb620069", 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.50s [INFO] running `Command { std: "docker" "inspect" "870fba14f4b7eb550fa3e1012c1161a65365ad4739c30a130650b23cbb620069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "870fba14f4b7eb550fa3e1012c1161a65365ad4739c30a130650b23cbb620069", kill_on_drop: false }` [INFO] [stdout] 870fba14f4b7eb550fa3e1012c1161a65365ad4739c30a130650b23cbb620069 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad05354793c555ce084e9f76dde1354e40e25ed9fecd58a83344e8ff982863f3 [INFO] running `Command { std: "docker" "start" "-a" "ad05354793c555ce084e9f76dde1354e40e25ed9fecd58a83344e8ff982863f3", 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] [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::TransferFunctionZ::to_s (line 154) ... FAILED [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/tf_s.rs - transfer_function::tf_s::TfS (line 12) ... ok [INFO] [stdout] test src/transfer_function/tf_z.rs - transfer_function::tf_z::TfZ (line 12) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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] [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" "ad05354793c555ce084e9f76dde1354e40e25ed9fecd58a83344e8ff982863f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad05354793c555ce084e9f76dde1354e40e25ed9fecd58a83344e8ff982863f3", kill_on_drop: false }` [INFO] [stdout] ad05354793c555ce084e9f76dde1354e40e25ed9fecd58a83344e8ff982863f3