[INFO] fetching crate pagan 0.2.1... [INFO] checking pagan-0.2.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate pagan 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate pagan 0.2.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pagan 0.2.1 [INFO] finished tweaking crates.io crate pagan 0.2.1 [INFO] tweaked toml for crates.io crate pagan 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 32 packages to latest compatible versions [INFO] [stderr] Adding colored v1.9.4 (available: v2.1.0) [INFO] [stderr] Adding gnuplot v0.0.24 (available: v0.0.43) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding simple_logger v0.5.0 (available: v5.0.0) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple_logger v0.5.0 [INFO] [stderr] Downloaded itertools-num v0.1.3 [INFO] [stderr] Downloaded gnuplot v0.0.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dc8faa8ff1959972a092c30c0ff412d43a96f57e8113a9c206c974fe2e8ef68 [INFO] running `Command { std: "docker" "start" "-a" "2dc8faa8ff1959972a092c30c0ff412d43a96f57e8113a9c206c974fe2e8ef68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dc8faa8ff1959972a092c30c0ff412d43a96f57e8113a9c206c974fe2e8ef68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dc8faa8ff1959972a092c30c0ff412d43a96f57e8113a9c206c974fe2e8ef68", kill_on_drop: false }` [INFO] [stdout] 2dc8faa8ff1959972a092c30c0ff412d43a96f57e8113a9c206c974fe2e8ef68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a86392c6891842a942b3ca88bc18176ecde7c76aad6f408138c2335246fd44bc [INFO] running `Command { std: "docker" "start" "-a" "a86392c6891842a942b3ca88bc18176ecde7c76aad6f408138c2335246fd44bc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking gnuplot v0.0.24 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking simple_logger v0.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pagan v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `gcc::Build`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | gcc::Build::new() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | gcc::Build::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking itertools-num v0.1.3 [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | box_syntax, fn_traits, unboxed_closures, pattern_parentheses, test, specialization, [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | box_syntax, fn_traits, unboxed_closures, pattern_parentheses, test, specialization, [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | optin_builtin_traits [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `auto_traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | optin_builtin_traits [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `auto_traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stdout] --> src/minuit/mod.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | impl !Sync for Minuit {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:2:73 [INFO] [stdout] | [INFO] [stdout] 2 | box_syntax, fn_traits, unboxed_closures, pattern_parentheses, test, specialization, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/terms/function.rs:183:43 [INFO] [stdout] | [INFO] [stdout] 183 | extern "rust-call" fn call_once(self, (x): (f64,)) -> Self::Output { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 183 - extern "rust-call" fn call_once(self, (x): (f64,)) -> Self::Output { [INFO] [stdout] 183 + extern "rust-call" fn call_once(self, x: (f64,)) -> Self::Output { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/terms/function.rs:192:47 [INFO] [stdout] | [INFO] [stdout] 192 | extern "rust-call" fn call_mut(&mut self, (x): (f64,)) -> f64 { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 192 - extern "rust-call" fn call_mut(&mut self, (x): (f64,)) -> f64 { [INFO] [stdout] 192 + extern "rust-call" fn call_mut(&mut self, x: (f64,)) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/terms/function.rs:201:39 [INFO] [stdout] | [INFO] [stdout] 201 | extern "rust-call" fn call(&self, (x): (f64,)) -> f64 { (self.func)(x.0, self.p.as_slice()) } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 - extern "rust-call" fn call(&self, (x): (f64,)) -> f64 { (self.func)(x.0, self.p.as_slice()) } [INFO] [stdout] 201 + extern "rust-call" fn call(&self, x: (f64,)) -> f64 { (self.func)(x.0, self.p.as_slice()) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stdout] --> src/minuit/mod.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | impl !Sync for Minuit {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:2:73 [INFO] [stdout] | [INFO] [stdout] 2 | box_syntax, fn_traits, unboxed_closures, pattern_parentheses, test, specialization, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/terms/function.rs:183:43 [INFO] [stdout] | [INFO] [stdout] 183 | extern "rust-call" fn call_once(self, (x): (f64,)) -> Self::Output { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 183 - extern "rust-call" fn call_once(self, (x): (f64,)) -> Self::Output { [INFO] [stdout] 183 + extern "rust-call" fn call_once(self, x: (f64,)) -> Self::Output { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/terms/function.rs:192:47 [INFO] [stdout] | [INFO] [stdout] 192 | extern "rust-call" fn call_mut(&mut self, (x): (f64,)) -> f64 { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 192 - extern "rust-call" fn call_mut(&mut self, (x): (f64,)) -> f64 { [INFO] [stdout] 192 + extern "rust-call" fn call_mut(&mut self, x: (f64,)) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/terms/function.rs:201:39 [INFO] [stdout] | [INFO] [stdout] 201 | extern "rust-call" fn call(&self, (x): (f64,)) -> f64 { (self.func)(x.0, self.p.as_slice()) } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 - extern "rust-call" fn call(&self, (x): (f64,)) -> f64 { (self.func)(x.0, self.p.as_slice()) } [INFO] [stdout] 201 + extern "rust-call" fn call(&self, x: (f64,)) -> f64 { (self.func)(x.0, self.p.as_slice()) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pattern_parentheses` has been stable since 1.31.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | box_syntax, fn_traits, unboxed_closures, pattern_parentheses, test, specialization, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/minuit/bits.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | pub futil: Rc<'f + Fn(f64, &[f64]) -> f64>, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 249 | pub futil: Rc f64>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pattern_parentheses` has been stable since 1.31.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | box_syntax, fn_traits, unboxed_closures, pattern_parentheses, test, specialization, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn draw<'a>(&mut self, _plt: &'a Draw2D) { _plt.draw2d(self.fig.axes2d()); } [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn draw<'a>(&mut self, _plt: &'a dyn Draw2D) { _plt.draw2d(self.fig.axes2d()); } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/minuit/bits.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | pub futil: Rc<'f + Fn(f64, &[f64]) -> f64>, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 249 | pub futil: Rc f64>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:21:48 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn draws<'a>(&mut self, plts: &'a [&'a Draw2D]) -> &mut gp::Axes2D { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn draws<'a>(&mut self, plts: &'a [&'a dyn Draw2D]) -> &mut gp::Axes2D { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn draw<'a>(&mut self, _plt: &'a Draw2D) { _plt.draw2d(self.fig.axes2d()); } [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn draw<'a>(&mut self, _plt: &'a dyn Draw2D) { _plt.draw2d(self.fig.axes2d()); } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/minuit/mod.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | data: &WithData, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 | data: &dyn WithData, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:21:48 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn draws<'a>(&mut self, plts: &'a [&'a Draw2D]) -> &mut gp::Axes2D { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn draws<'a>(&mut self, plts: &'a [&'a dyn Draw2D]) -> &mut gp::Axes2D { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/minuit/mod.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | data: &WithData, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 | data: &dyn WithData, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | (-0.5 * (x - 0.0).powi(2) / (3f64 * 3.0)).exp() [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/lib.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | RngDist::new(rng, -15.0, 15.0, &|x| { [INFO] [stdout] | _________^^^^^^^^^^^^___________________- [INFO] [stdout] 87 | | (-0.5 * (x - 0.0).powi(2) / (3f64 * 3.0)).exp() [INFO] [stdout] 88 | | }).squize(n) [INFO] [stdout] | |_________- argument #4 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/utility.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn new<'a, F: Fn(f64) -> f64>( [INFO] [stdout] | ^^^ [INFO] [stdout] 101 | rng: R, [INFO] [stdout] | ------ [INFO] [stdout] 102 | xmin: f64, [INFO] [stdout] | --------- [INFO] [stdout] 103 | xmax: f64, [INFO] [stdout] | --------- [INFO] [stdout] 104 | ndiv: usize, [INFO] [stdout] | ----------- [INFO] [stdout] 105 | func: &'a F, [INFO] [stdout] | ----------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 86 ~ RngDist::new(rng, -15.0, 15.0, /* usize */, &|x| { [INFO] [stdout] 87 + (-0.5 * (x - 0.0).powi(2) / (3f64 * 3.0)).exp() [INFO] [stdout] 88 ~ }).squize(n) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `squize` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 86 | / RngDist::new(rng, -15.0, 15.0, &|x| { [INFO] [stdout] 87 | | (-0.5 * (x - 0.0).powi(2) / (3f64 * 3.0)).exp() [INFO] [stdout] 88 | | }).squize(n) [INFO] [stdout] | | -^^^^^^ method not found in `Result, &str>` [INFO] [stdout] | |___________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `squize` exists on the type `utility::RngDist` [INFO] [stdout] --> src/utility.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn squize(mut self, n: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `utility::RngDist` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 88 | }).expect("REASON").squize(n) [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pagan` (lib) due to 4 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0282, E0557, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pagan` (lib test) due to 7 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a86392c6891842a942b3ca88bc18176ecde7c76aad6f408138c2335246fd44bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a86392c6891842a942b3ca88bc18176ecde7c76aad6f408138c2335246fd44bc", kill_on_drop: false }` [INFO] [stdout] a86392c6891842a942b3ca88bc18176ecde7c76aad6f408138c2335246fd44bc