[INFO] fetching crate resistor-calc 0.1.0... [INFO] testing resistor-calc-0.1.0 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate resistor-calc 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate resistor-calc 0.1.0 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate resistor-calc 0.1.0 [INFO] finished tweaking crates.io crate resistor-calc 0.1.0 [INFO] tweaked toml for crates.io crate resistor-calc 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v1.2.4 [INFO] [stderr] Downloaded itertools v0.7.11 [INFO] [stderr] Downloaded either v1.6.1 [INFO] [stderr] Downloaded lazy_static v1.0.2 [INFO] [stderr] Downloaded fnv v1.0.7 [INFO] [stderr] Downloaded meval v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5bdef08551945c68b035285a8fa61329a2fcbb8177ab5f3e02d98ba06925898 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f5bdef08551945c68b035285a8fa61329a2fcbb8177ab5f3e02d98ba06925898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5bdef08551945c68b035285a8fa61329a2fcbb8177ab5f3e02d98ba06925898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5bdef08551945c68b035285a8fa61329a2fcbb8177ab5f3e02d98ba06925898", kill_on_drop: false }` [INFO] [stdout] f5bdef08551945c68b035285a8fa61329a2fcbb8177ab5f3e02d98ba06925898 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9589f59e2095889ef4951919a013352f910749266c0d998edc2b9c52f8b1247d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9589f59e2095889ef4951919a013352f910749266c0d998edc2b9c52f8b1247d", kill_on_drop: false }` [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.0.2 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling meval v0.1.0 [INFO] [stderr] Compiling resistor-calc v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> bool` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&meval::Context) -> Option` [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 issue #80165 [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `Command { std: "docker" "inspect" "9589f59e2095889ef4951919a013352f910749266c0d998edc2b9c52f8b1247d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9589f59e2095889ef4951919a013352f910749266c0d998edc2b9c52f8b1247d", kill_on_drop: false }` [INFO] [stdout] 9589f59e2095889ef4951919a013352f910749266c0d998edc2b9c52f8b1247d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6b5f5d6d873d9f9ac6cf135124d1eef737a9b140675026a9b3cdde92cda79717 [INFO] running `Command { std: "docker" "start" "-a" "6b5f5d6d873d9f9ac6cf135124d1eef737a9b140675026a9b3cdde92cda79717", kill_on_drop: false }` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> bool` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&meval::Context) -> Option` [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 issue #80165 [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] [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/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: 7 warnings emitted [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> bool` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&meval::Context) -> Option` [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 issue #80165 [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "6b5f5d6d873d9f9ac6cf135124d1eef737a9b140675026a9b3cdde92cda79717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b5f5d6d873d9f9ac6cf135124d1eef737a9b140675026a9b3cdde92cda79717", kill_on_drop: false }` [INFO] [stdout] 6b5f5d6d873d9f9ac6cf135124d1eef737a9b140675026a9b3cdde92cda79717 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cefc0ad12093f912e6e51f980c9f3e9b3b493dc1869796f859ac4f00d3e50202 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cefc0ad12093f912e6e51f980c9f3e9b3b493dc1869796f859ac4f00d3e50202", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> bool` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&meval::Context) -> Option` [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 issue #80165 [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: `#[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/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/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: 7 warnings emitted [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64) -> bool` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&meval::Context) -> Option` [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 issue #80165 [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: `#[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/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/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: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/resistor_calc-b1d5e3be49215284) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/resistor_calc-1cb11e99c05f0589) [INFO] [stdout] [INFO] [stderr] Doc-tests resistor-calc [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 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 3 tests [INFO] [stdout] test src/lib.rs - (line 17) - compile ... ok [INFO] [stdout] test src/lib.rs - RCalc::new (line 244) ... ok [INFO] [stdout] test src/lib.rs - RSet::r (line 163) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.80s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cefc0ad12093f912e6e51f980c9f3e9b3b493dc1869796f859ac4f00d3e50202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cefc0ad12093f912e6e51f980c9f3e9b3b493dc1869796f859ac4f00d3e50202", kill_on_drop: false }` [INFO] [stdout] cefc0ad12093f912e6e51f980c9f3e9b3b493dc1869796f859ac4f00d3e50202