[INFO] fetching crate pagan 0.2.1... [INFO] checking pagan-0.2.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate pagan 0.2.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate pagan 0.2.1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ac650d8597c02fa296c97d6f585cdc5070d300eade178a797b0fdf43d34cf0b [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" "1ac650d8597c02fa296c97d6f585cdc5070d300eade178a797b0fdf43d34cf0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ac650d8597c02fa296c97d6f585cdc5070d300eade178a797b0fdf43d34cf0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ac650d8597c02fa296c97d6f585cdc5070d300eade178a797b0fdf43d34cf0b", kill_on_drop: false }` [INFO] [stdout] 1ac650d8597c02fa296c97d6f585cdc5070d300eade178a797b0fdf43d34cf0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8efb68e33eca09aa7734b52a32ea7410ab75a5ee6fc7392c5880175c8b7b511f [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" "8efb68e33eca09aa7734b52a32ea7410ab75a5ee6fc7392c5880175c8b7b511f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking gnuplot v0.0.24 [INFO] [stderr] Compiling pagan v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.4.6 [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:5 [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:5 [INFO] [stdout] | [INFO] [stdout] 4 | gcc::Build::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking colored v1.9.3 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking simple_logger v0.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking itertools-num v0.1.3 [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] [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] [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: `#[warn(incomplete_features)]` on by default [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] [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] | ^^^^^^ help: use `dyn`: `dyn Draw2D` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^ help: use `dyn`: `dyn Draw2D` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn 'f + Fn(f64, &[f64]) -> f64` [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] | ^^^^^^^^ help: use `dyn`: `dyn WithData` [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] | ^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^ help: remove these parentheses [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] | ^^^ help: remove these parentheses [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: `#[warn(incomplete_features)]` on by default [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] [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] | ^^^^^^ help: use `dyn`: `dyn Draw2D` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^ help: use `dyn`: `dyn Draw2D` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn 'f + Fn(f64, &[f64]) -> f64` [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] | ^^^^^^^^ help: use `dyn`: `dyn WithData` [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] | ^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^ help: remove these parentheses [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] | ^^^ help: remove these parentheses [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] 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] | | | [INFO] [stdout] | | expected 5 arguments [INFO] [stdout] 87 | | (-0.5 * (x - 0.0).powi(2) / (3f64 * 3.0)).exp() [INFO] [stdout] 88 | | }).squize(n) [INFO] [stdout] | |_________- supplied 4 arguments [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `squize` found for enum `std::result::Result, &'static str>` in the current scope [INFO] [stdout] --> src/lib.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | }).squize(n) [INFO] [stdout] | ^^^^^^ method not found in `std::result::Result, &'static str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0557, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8efb68e33eca09aa7734b52a32ea7410ab75a5ee6fc7392c5880175c8b7b511f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8efb68e33eca09aa7734b52a32ea7410ab75a5ee6fc7392c5880175c8b7b511f", kill_on_drop: false }` [INFO] [stdout] 8efb68e33eca09aa7734b52a32ea7410ab75a5ee6fc7392c5880175c8b7b511f