[INFO] cloning repository https://github.com/HarkonenBade/resistor-calc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HarkonenBade/resistor-calc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarkonenBade%2Fresistor-calc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarkonenBade%2Fresistor-calc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a65d37586a27598c2ef5e9567b17272054d7e9c [INFO] testing HarkonenBade/resistor-calc against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarkonenBade%2Fresistor-calc" "/workspace/builds/worker-115/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-115/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HarkonenBade/resistor-calc on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HarkonenBade/resistor-calc [INFO] finished tweaking git repo https://github.com/HarkonenBade/resistor-calc [INFO] tweaked toml for git repo https://github.com/HarkonenBade/resistor-calc written to /workspace/builds/worker-115/source/Cargo.toml [INFO] crate git repo https://github.com/HarkonenBade/resistor-calc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86696e5db505776cc017c7643f291941ae9f05d4b198a773bdd744ba6e7a4f83 [INFO] running `Command { std: "docker" "start" "-a" "86696e5db505776cc017c7643f291941ae9f05d4b198a773bdd744ba6e7a4f83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86696e5db505776cc017c7643f291941ae9f05d4b198a773bdd744ba6e7a4f83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86696e5db505776cc017c7643f291941ae9f05d4b198a773bdd744ba6e7a4f83", kill_on_drop: false }` [INFO] [stdout] 86696e5db505776cc017c7643f291941ae9f05d4b198a773bdd744ba6e7a4f83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a575f6ed679c43db73a285ff92829a19ec4febf38e9c4dcdf5607ff69978010 [INFO] running `Command { std: "docker" "start" "-a" "4a575f6ed679c43db73a285ff92829a19ec4febf38e9c4dcdf5607ff69978010", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling meval v0.1.0 [INFO] [stderr] Compiling resistor-calc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expr_builder.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static!( [INFO] [stdout] 8 | | static ref RNAMES: Vec = (1..=100).map(|i| format!("R{}", i)).collect(); [INFO] [stdout] 9 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expr_builder.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Cmp(Box bool>, meval::Expr, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - Cmp(Box bool>, meval::Expr, f64), [INFO] [stdout] 12 + Cmp(Box bool>, meval::Expr, f64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expr_builder.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | fn cmp_bound_fn(&mut self) -> Box Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - fn cmp_bound_fn(&mut self) -> Box Option> { [INFO] [stdout] 86 + fn cmp_bound_fn(&mut self) -> Box Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 37s [INFO] running `Command { std: "docker" "inspect" "4a575f6ed679c43db73a285ff92829a19ec4febf38e9c4dcdf5607ff69978010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a575f6ed679c43db73a285ff92829a19ec4febf38e9c4dcdf5607ff69978010", kill_on_drop: false }` [INFO] [stdout] 4a575f6ed679c43db73a285ff92829a19ec4febf38e9c4dcdf5607ff69978010 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d4026895ae06d284f1f414dfbeff349affd49587aeb7379831c7fe9099f53b3 [INFO] running `Command { std: "docker" "start" "-a" "8d4026895ae06d284f1f414dfbeff349affd49587aeb7379831c7fe9099f53b3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling resistor-calc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expr_builder.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static!( [INFO] [stdout] 8 | | static ref RNAMES: Vec = (1..=100).map(|i| format!("R{}", i)).collect(); [INFO] [stdout] 9 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expr_builder.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Cmp(Box bool>, meval::Expr, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - Cmp(Box bool>, meval::Expr, f64), [INFO] [stdout] 12 + Cmp(Box bool>, meval::Expr, f64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expr_builder.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | fn cmp_bound_fn(&mut self) -> Box Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - fn cmp_bound_fn(&mut self) -> Box Option> { [INFO] [stdout] 86 + fn cmp_bound_fn(&mut self) -> Box Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/expr_builder.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static!( [INFO] [stdout] 8 | | static ref RNAMES: Vec = (1..=100).map(|i| format!("R{}", i)).collect(); [INFO] [stdout] 9 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expr_builder.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Cmp(Box bool>, meval::Expr, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - Cmp(Box bool>, meval::Expr, f64), [INFO] [stdout] 12 + Cmp(Box bool>, meval::Expr, f64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expr_builder.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | fn cmp_bound_fn(&mut self) -> Box Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - fn cmp_bound_fn(&mut self) -> Box Option> { [INFO] [stdout] 86 + fn cmp_bound_fn(&mut self) -> Box Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.59s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/resistor_calc-01a7dbc0b156e088) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/resistor_calc-a1625335f803766f) [INFO] running `Command { std: "docker" "inspect" "8d4026895ae06d284f1f414dfbeff349affd49587aeb7379831c7fe9099f53b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d4026895ae06d284f1f414dfbeff349affd49587aeb7379831c7fe9099f53b3", kill_on_drop: false }` [INFO] [stdout] 8d4026895ae06d284f1f414dfbeff349affd49587aeb7379831c7fe9099f53b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fffa12bbe8234b055a30af1c7108afc2fda1dc497f64b99d251a8e98451d2cef [INFO] running `Command { std: "docker" "start" "-a" "fffa12bbe8234b055a30af1c7108afc2fda1dc497f64b99d251a8e98451d2cef", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / lazy_static! { [INFO] [stderr] 69 | | /// RSeries constant for the E3 standard series [INFO] [stderr] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stderr] 71 | | /// RSeries constant for the E6 standard series [INFO] [stderr] ... | [INFO] [stderr] 79 | | ); [INFO] [stderr] 80 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / lazy_static! { [INFO] [stderr] 69 | | /// RSeries constant for the E3 standard series [INFO] [stderr] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stderr] 71 | | /// RSeries constant for the E6 standard series [INFO] [stderr] ... | [INFO] [stderr] 79 | | ); [INFO] [stderr] 80 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/expr_builder.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / lazy_static!( [INFO] [stderr] 8 | | static ref RNAMES: Vec = (1..=100).map(|i| format!("R{}", i)).collect(); [INFO] [stderr] 9 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/expr_builder.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | Cmp(Box bool>, meval::Expr, f64), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 12 - Cmp(Box bool>, meval::Expr, f64), [INFO] [stderr] 12 + Cmp(Box bool>, meval::Expr, f64), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/expr_builder.rs:86:39 [INFO] [stderr] | [INFO] [stderr] 86 | fn cmp_bound_fn(&mut self) -> Box Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 86 - fn cmp_bound_fn(&mut self) -> Box Option> { [INFO] [stderr] 86 + fn cmp_bound_fn(&mut self) -> Box Option> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `resistor-calc` (lib) generated 7 warnings (2 duplicates) [INFO] [stderr] warning: `resistor-calc` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/resistor_calc-01a7dbc0b156e088) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/resistor_calc-a1625335f803766f) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests resistor-calc [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 16) - compile ... ok [INFO] [stdout] test src/lib.rs - RSeries::new (line 100) ... ok [INFO] [stdout] test src/lib.rs - RCalc::new (line 251) ... ok [INFO] [stdout] test src/lib.rs - RSet::r (line 170) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fffa12bbe8234b055a30af1c7108afc2fda1dc497f64b99d251a8e98451d2cef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fffa12bbe8234b055a30af1c7108afc2fda1dc497f64b99d251a8e98451d2cef", kill_on_drop: false }` [INFO] [stdout] fffa12bbe8234b055a30af1c7108afc2fda1dc497f64b99d251a8e98451d2cef