[INFO] fetching crate pagan 0.2.1... [INFO] checking pagan-0.2.1 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate pagan 0.2.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate pagan 0.2.1 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple_logger v0.5.0 [INFO] [stderr] Downloaded gnuplot v0.0.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 011cc508305478c030d2203ea0eb596634f710550b538c026f735b40bcd8b6ee [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" "011cc508305478c030d2203ea0eb596634f710550b538c026f735b40bcd8b6ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "011cc508305478c030d2203ea0eb596634f710550b538c026f735b40bcd8b6ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "011cc508305478c030d2203ea0eb596634f710550b538c026f735b40bcd8b6ee", kill_on_drop: false }` [INFO] [stdout] 011cc508305478c030d2203ea0eb596634f710550b538c026f735b40bcd8b6ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 207fb3e794597db4d2491fbe3831e00694dcc81c27997163fb0c2fa09e2a2785 [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" "207fb3e794597db4d2491fbe3831e00694dcc81c27997163fb0c2fa09e2a2785", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking gnuplot v0.0.24 [INFO] [stderr] Checking num-traits v0.2.12 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking simple_logger v0.5.0 [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: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 itertools-num v0.1.3 [INFO] [stdout] warning: 2 warnings emitted [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] [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[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] [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] 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] ::: src/utility.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | / pub fn new<'a, F: Fn(f64) -> f64>( [INFO] [stdout] 101 | | rng: R, [INFO] [stdout] 102 | | xmin: f64, [INFO] [stdout] 103 | | xmax: f64, [INFO] [stdout] 104 | | ndiv: usize, [INFO] [stdout] 105 | | func: &'a F, [INFO] [stdout] 106 | | ) -> Result { [INFO] [stdout] | |___________________________________- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [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] [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: aborting due to 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, 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" "207fb3e794597db4d2491fbe3831e00694dcc81c27997163fb0c2fa09e2a2785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "207fb3e794597db4d2491fbe3831e00694dcc81c27997163fb0c2fa09e2a2785", kill_on_drop: false }` [INFO] [stdout] 207fb3e794597db4d2491fbe3831e00694dcc81c27997163fb0c2fa09e2a2785