[INFO] crate pagan 0.2.1 is already in cache [INFO] checking pagan-0.2.1 against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [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 c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "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" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--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] 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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14f7449ecd7dd0901ee95022a54f5c3b97e2d0ba7901f8de0c56445f65303f13 [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" "14f7449ecd7dd0901ee95022a54f5c3b97e2d0ba7901f8de0c56445f65303f13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14f7449ecd7dd0901ee95022a54f5c3b97e2d0ba7901f8de0c56445f65303f13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f7449ecd7dd0901ee95022a54f5c3b97e2d0ba7901f8de0c56445f65303f13", kill_on_drop: false }` [INFO] [stdout] 14f7449ecd7dd0901ee95022a54f5c3b97e2d0ba7901f8de0c56445f65303f13 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fb23ef3c5bda1a4526cfde0ea3dc1e29375d3a706e58e3c4cfb6e78572e2631 [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" "4fb23ef3c5bda1a4526cfde0ea3dc1e29375d3a706e58e3c4cfb6e78572e2631", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking gnuplot v0.0.24 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling pagan v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 item '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 atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand v0.4.6 [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] Checking itertools-num v0.1.3 [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: 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: 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] ... | [INFO] [stdout] 121 | | } [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____- defined here [INFO] [stdout] [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] [stdout] error: aborting due to 3 previous errors; 8 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: 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 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4fb23ef3c5bda1a4526cfde0ea3dc1e29375d3a706e58e3c4cfb6e78572e2631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fb23ef3c5bda1a4526cfde0ea3dc1e29375d3a706e58e3c4cfb6e78572e2631", kill_on_drop: false }` [INFO] [stdout] 4fb23ef3c5bda1a4526cfde0ea3dc1e29375d3a706e58e3c4cfb6e78572e2631