[INFO] fetching crate vector_calculus 0.1.0... [INFO] testing vector_calculus-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate vector_calculus 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate vector_calculus 0.1.0 [INFO] finished tweaking crates.io crate vector_calculus 0.1.0 [INFO] tweaked toml for crates.io crate vector_calculus 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vector_calculus 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 590f49286af288e409b635303b2c020d759d4681c84aa2f9e9b80695f760a43b [INFO] running `Command { std: "docker" "start" "-a" "590f49286af288e409b635303b2c020d759d4681c84aa2f9e9b80695f760a43b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "590f49286af288e409b635303b2c020d759d4681c84aa2f9e9b80695f760a43b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "590f49286af288e409b635303b2c020d759d4681c84aa2f9e9b80695f760a43b", kill_on_drop: false }` [INFO] [stdout] 590f49286af288e409b635303b2c020d759d4681c84aa2f9e9b80695f760a43b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6eba27037b13a5822a4798404a293e031c90e8c50bb3e39d3b121ac44dc3b821 [INFO] running `Command { std: "docker" "start" "-a" "6eba27037b13a5822a4798404a293e031c90e8c50bb3e39d3b121ac44dc3b821", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling vector_calculus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `int_montecarlo` [INFO] [stdout] --> src/lib.rs:2024:14 [INFO] [stdout] | [INFO] [stdout] 2024 | macro_rules! int_montecarlo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `E` and `PI` [INFO] [stdout] --> src/lib.rs:2736:24 [INFO] [stdout] | [INFO] [stdout] 2736 | use std::f64::consts::{PI, E}; [INFO] [stdout] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:479:24 [INFO] [stdout] | [INFO] [stdout] 479 | Function::OneD(f) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/lib.rs:2096:25 [INFO] [stdout] | [INFO] [stdout] 2096 | let mut y = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ft` is never read [INFO] [stdout] --> src/lib.rs:2176:13 [INFO] [stdout] | [INFO] [stdout] 2176 | let mut ft:Boxf64> = Box::new(|_:f64| f64::NAN); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:2522:30 [INFO] [stdout] | [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `x` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:587:26 [INFO] [stdout] | [INFO] [stdout] 587 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2522 - surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] 2522 + surface_integral(&f!(C, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lib.rs:2522:33 [INFO] [stdout] | [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `y` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:587:34 [INFO] [stdout] | [INFO] [stdout] 587 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2522 - surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] 2522 + surface_integral(&f!(x, C, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/lib.rs:2522:36 [INFO] [stdout] | [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `z` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:587:42 [INFO] [stdout] | [INFO] [stdout] 587 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2522 - surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] 2522 + surface_integral(&f!(x, y, C, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G` is never used [INFO] [stdout] --> src/lib.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | const G:f64 = 6.6743e-11; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C` is never used [INFO] [stdout] --> src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | const C:f64 = 299_792_458.0; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `potential` is never used [INFO] [stdout] --> src/lib.rs:814:8 [INFO] [stdout] | [INFO] [stdout] 813 | impl VectorFunction { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 814 | fn potential(&self, args:Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1389:13 [INFO] [stdout] | [INFO] [stdout] 1389 | fn wrap(&self) -> _SuperSet; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1389 | fn wrap(&self) -> _SuperSet<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1392:13 [INFO] [stdout] | [INFO] [stdout] 1392 | fn wrap(&self) -> _SuperSet { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1392 | fn wrap(&self) -> _SuperSet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1397:13 [INFO] [stdout] | [INFO] [stdout] 1397 | fn wrap(&self) -> _SuperSet { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1397 | fn wrap(&self) -> _SuperSet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2136:13 [INFO] [stdout] | [INFO] [stdout] 2136 | fn wrap(&self) -> __G; [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2136 | fn wrap(&self) -> __G<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2139:13 [INFO] [stdout] | [INFO] [stdout] 2139 | fn wrap(&self) -> __G { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2139 | fn wrap(&self) -> __G<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2144:13 [INFO] [stdout] | [INFO] [stdout] 2144 | fn wrap(&self) -> __G { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2144 | fn wrap(&self) -> __G<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2311:14 [INFO] [stdout] | [INFO] [stdout] 2311 | fn wwrap(&self) -> __W; [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2311 | fn wwrap(&self) -> __W<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2314:14 [INFO] [stdout] | [INFO] [stdout] 2314 | fn wwrap(&self) -> __W { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2314 | fn wwrap(&self) -> __W<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2319:14 [INFO] [stdout] | [INFO] [stdout] 2319 | fn wwrap(&self) -> __W { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2319 | fn wwrap(&self) -> __W<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2324:14 [INFO] [stdout] | [INFO] [stdout] 2324 | fn wwrap(&self) -> __W { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2324 | fn wwrap(&self) -> __W<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2329:14 [INFO] [stdout] | [INFO] [stdout] 2329 | fn wwrap(&self) -> __W { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2329 | fn wwrap(&self) -> __W<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2334:14 [INFO] [stdout] | [INFO] [stdout] 2334 | fn wwrap(&self) -> __W { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2334 | fn wwrap(&self) -> __W<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&VectorFunction` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:2648:22 [INFO] [stdout] | [INFO] [stdout] 2648 | let f = f.clone().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.46s [INFO] running `Command { std: "docker" "inspect" "6eba27037b13a5822a4798404a293e031c90e8c50bb3e39d3b121ac44dc3b821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eba27037b13a5822a4798404a293e031c90e8c50bb3e39d3b121ac44dc3b821", kill_on_drop: false }` [INFO] [stdout] 6eba27037b13a5822a4798404a293e031c90e8c50bb3e39d3b121ac44dc3b821 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abd3ef1f9de4524ab40df5fa158d48a3aa9e2ded7cc0f52bf0792af8ef308e6e [INFO] running `Command { std: "docker" "start" "-a" "abd3ef1f9de4524ab40df5fa158d48a3aa9e2ded7cc0f52bf0792af8ef308e6e", kill_on_drop: false }` [INFO] [stdout] warning: unused macro definition: `int_montecarlo` [INFO] [stdout] --> src/lib.rs:2024:14 [INFO] [stdout] | [INFO] [stdout] 2024 | macro_rules! int_montecarlo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `E` and `PI` [INFO] [stdout] --> src/lib.rs:2736:24 [INFO] [stdout] | [INFO] [stdout] 2736 | use std::f64::consts::{PI, E}; [INFO] [stdout] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:479:24 [INFO] [stdout] | [INFO] [stdout] 479 | Function::OneD(f) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/lib.rs:2096:25 [INFO] [stdout] | [INFO] [stdout] 2096 | let mut y = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ft` is never read [INFO] [stdout] --> src/lib.rs:2176:13 [INFO] [stdout] | [INFO] [stdout] 2176 | let mut ft:Boxf64> = Box::new(|_:f64| f64::NAN); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vector_calculus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:2522:30 [INFO] [stdout] | [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `x` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:587:26 [INFO] [stdout] | [INFO] [stdout] 587 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2522 - surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] 2522 + surface_integral(&f!(C, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lib.rs:2522:33 [INFO] [stdout] | [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `y` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:587:34 [INFO] [stdout] | [INFO] [stdout] 587 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2522 - surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] 2522 + surface_integral(&f!(x, C, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/lib.rs:2522:36 [INFO] [stdout] | [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `z` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:587:42 [INFO] [stdout] | [INFO] [stdout] 587 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2522 - surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] 2522 + surface_integral(&f!(x, y, C, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G` is never used [INFO] [stdout] --> src/lib.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | const G:f64 = 6.6743e-11; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C` is never used [INFO] [stdout] --> src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | const C:f64 = 299_792_458.0; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `potential` is never used [INFO] [stdout] --> src/lib.rs:814:8 [INFO] [stdout] | [INFO] [stdout] 813 | impl VectorFunction { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 814 | fn potential(&self, args:Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1389:13 [INFO] [stdout] | [INFO] [stdout] 1389 | fn wrap(&self) -> _SuperSet; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1389 | fn wrap(&self) -> _SuperSet<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1392:13 [INFO] [stdout] | [INFO] [stdout] 1392 | fn wrap(&self) -> _SuperSet { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1392 | fn wrap(&self) -> _SuperSet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1397:13 [INFO] [stdout] | [INFO] [stdout] 1397 | fn wrap(&self) -> _SuperSet { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1397 | fn wrap(&self) -> _SuperSet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2136:13 [INFO] [stdout] | [INFO] [stdout] 2136 | fn wrap(&self) -> __G; [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2136 | fn wrap(&self) -> __G<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2139:13 [INFO] [stdout] | [INFO] [stdout] 2139 | fn wrap(&self) -> __G { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2139 | fn wrap(&self) -> __G<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2144:13 [INFO] [stdout] | [INFO] [stdout] 2144 | fn wrap(&self) -> __G { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2144 | fn wrap(&self) -> __G<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2311:14 [INFO] [stdout] | [INFO] [stdout] 2311 | fn wwrap(&self) -> __W; [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2311 | fn wwrap(&self) -> __W<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2314:14 [INFO] [stdout] | [INFO] [stdout] 2314 | fn wwrap(&self) -> __W { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2314 | fn wwrap(&self) -> __W<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2319:14 [INFO] [stdout] | [INFO] [stdout] 2319 | fn wwrap(&self) -> __W { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2319 | fn wwrap(&self) -> __W<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2324:14 [INFO] [stdout] | [INFO] [stdout] 2324 | fn wwrap(&self) -> __W { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2324 | fn wwrap(&self) -> __W<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2329:14 [INFO] [stdout] | [INFO] [stdout] 2329 | fn wwrap(&self) -> __W { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2329 | fn wwrap(&self) -> __W<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2334:14 [INFO] [stdout] | [INFO] [stdout] 2334 | fn wwrap(&self) -> __W { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2334 | fn wwrap(&self) -> __W<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&VectorFunction` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:2648:22 [INFO] [stdout] | [INFO] [stdout] 2648 | let f = f.clone().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `int_montecarlo` [INFO] [stdout] --> src/lib.rs:2024:14 [INFO] [stdout] | [INFO] [stdout] 2024 | macro_rules! int_montecarlo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `self`, and `self` [INFO] [stdout] --> src/lib.rs:2700:42 [INFO] [stdout] | [INFO] [stdout] 2700 | use $crate::{IntegrationMethod::{self, *}, MultipleIntegrationMethod::{self, *}}; [INFO] [stdout] | ^^^^ ^ ^^^^ [INFO] [stdout] ... [INFO] [stdout] 2821 | setup!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `E` [INFO] [stdout] --> src/lib.rs:2701:36 [INFO] [stdout] | [INFO] [stdout] 2701 | use std::f64::consts::{PI, E}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2821 | setup!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `self`, and `self` [INFO] [stdout] --> src/lib.rs:2700:42 [INFO] [stdout] | [INFO] [stdout] 2700 | use $crate::{IntegrationMethod::{self, *}, MultipleIntegrationMethod::{self, *}}; [INFO] [stdout] | ^^^^ ^^^^ ^ [INFO] [stdout] ... [INFO] [stdout] 2834 | setup!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `E` and `PI` [INFO] [stdout] --> src/lib.rs:2701:32 [INFO] [stdout] | [INFO] [stdout] 2701 | use std::f64::consts::{PI, E}; [INFO] [stdout] | ^^ ^ [INFO] [stdout] ... [INFO] [stdout] 2834 | setup!(); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:479:24 [INFO] [stdout] | [INFO] [stdout] 479 | Function::OneD(f) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/lib.rs:2096:25 [INFO] [stdout] | [INFO] [stdout] 2096 | let mut y = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ft` is never read [INFO] [stdout] --> src/lib.rs:2176:13 [INFO] [stdout] | [INFO] [stdout] 2176 | let mut ft:Boxf64> = Box::new(|_:f64| f64::NAN); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:2522:30 [INFO] [stdout] | [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `x` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:587:26 [INFO] [stdout] | [INFO] [stdout] 587 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2522 - surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] 2522 + surface_integral(&f!(C, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lib.rs:2522:33 [INFO] [stdout] | [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `y` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:587:34 [INFO] [stdout] | [INFO] [stdout] 587 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2522 - surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] 2522 + surface_integral(&f!(x, C, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/lib.rs:2522:36 [INFO] [stdout] | [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `z` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:587:42 [INFO] [stdout] | [INFO] [stdout] 587 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2522 - surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] 2522 + surface_integral(&f!(x, y, C, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:2770:49 [INFO] [stdout] | [INFO] [stdout] 2770 | let F:VectorFunction = vector_function!(x, y, -y, x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `x` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:861:30 [INFO] [stdout] | [INFO] [stdout] 861 | f: Box::new(|$x:f64, $y:f64| $f1), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2770 | let F:VectorFunction = vector_function!(x, y, -y, x); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2770 - let F:VectorFunction = vector_function!(x, y, -y, x); [INFO] [stdout] 2770 + let F:VectorFunction = vector_function!(C, y, -y, x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lib.rs:2770:52 [INFO] [stdout] | [INFO] [stdout] 2770 | let F:VectorFunction = vector_function!(x, y, -y, x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `y` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:865:38 [INFO] [stdout] | [INFO] [stdout] 865 | f: Box::new(|$x:f64, $y:f64| $f2), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2770 | let F:VectorFunction = vector_function!(x, y, -y, x); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2770 - let F:VectorFunction = vector_function!(x, y, -y, x); [INFO] [stdout] 2770 + let F:VectorFunction = vector_function!(x, C, -y, x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:1647:13 [INFO] [stdout] | [INFO] [stdout] 1647 | _ => panic!("Not a valid parametric curve") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 2791 | let s = contour!(sigma, space); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:1647:13 [INFO] [stdout] | [INFO] [stdout] 1635 | ParametricCurve::TwoD(c) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1641 | ParametricCurve::ThreeD(c) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1647 | _ => panic!("Not a valid parametric curve") [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 2791 | let s = contour!(sigma, space); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `contour` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lib.rs:2806:23 [INFO] [stdout] | [INFO] [stdout] 2806 | let f = f!(x, y, (x.powi(4)+1.).sqrt()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `y` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:581:34 [INFO] [stdout] | [INFO] [stdout] 581 | f: Box::new(|$x:f64, $y:f64| $f), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2806 | let f = f!(x, y, (x.powi(4)+1.).sqrt()); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2806 - let f = f!(x, y, (x.powi(4)+1.).sqrt()); [INFO] [stdout] 2806 + let f = f!(x, C, (x.powi(4)+1.).sqrt()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lib.rs:2807:55 [INFO] [stdout] | [INFO] [stdout] 2807 | let x_bounds = fset![f!(y, y.powf(1./3.)), f!(y, 2.)]; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `y` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:575:26 [INFO] [stdout] | [INFO] [stdout] 575 | f: Box::new(|$x:f64| $f), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2807 | let x_bounds = fset![f!(y, y.powf(1./3.)), f!(y, 2.)]; [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2807 - let x_bounds = fset![f!(y, y.powf(1./3.)), f!(y, 2.)]; [INFO] [stdout] 2807 + let x_bounds = fset![f!(y, y.powf(1./3.)), f!(C, 2.)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rho` [INFO] [stdout] --> src/lib.rs:2824:13 [INFO] [stdout] | [INFO] [stdout] 2824 | let rho = surface!(u, v, u+v, u*v, u.powf(v), set![0, 2.*PI], set![0, 10]); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rho` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lib.rs:2822:37 [INFO] [stdout] | [INFO] [stdout] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `y` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:874:38 [INFO] [stdout] | [INFO] [stdout] 874 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f1), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2822 - let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] 2822 + let v = vector_function!(x, C, z, x, y, z); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/lib.rs:2822:40 [INFO] [stdout] | [INFO] [stdout] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `z` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:874:46 [INFO] [stdout] | [INFO] [stdout] 874 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f1), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2822 - let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] 2822 + let v = vector_function!(x, y, C, x, y, z); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:2822:34 [INFO] [stdout] | [INFO] [stdout] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `x` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:878:30 [INFO] [stdout] | [INFO] [stdout] 878 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f2), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2822 - let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] 2822 + let v = vector_function!(C, y, z, x, y, z); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/lib.rs:2822:40 [INFO] [stdout] | [INFO] [stdout] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `z` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:878:46 [INFO] [stdout] | [INFO] [stdout] 878 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f2), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2822 - let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] 2822 + let v = vector_function!(x, y, C, x, y, z); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:2822:34 [INFO] [stdout] | [INFO] [stdout] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `x` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:882:30 [INFO] [stdout] | [INFO] [stdout] 882 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f3), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2822 - let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] 2822 + let v = vector_function!(C, y, z, x, y, z); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lib.rs:2822:37 [INFO] [stdout] | [INFO] [stdout] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `y` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:882:38 [INFO] [stdout] | [INFO] [stdout] 882 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f3), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2822 - let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] 2822 + let v = vector_function!(x, C, z, x, y, z); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/lib.rs:2823:37 [INFO] [stdout] | [INFO] [stdout] 2823 | let s:Surface = surface!(u, v, u.sin()*v.cos(), u.sin()*v.sin(), u.cos(), 0, PI/2., 0, 2.*PI); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `v` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:581:34 [INFO] [stdout] | [INFO] [stdout] 581 | f: Box::new(|$x:f64, $y:f64| $f), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 2823 | let s:Surface = surface!(u, v, u.sin()*v.cos(), u.sin()*v.sin(), u.cos(), 0, PI/2., 0, 2.*PI); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `f` which comes from the expansion of the macro `surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stdout] | [INFO] [stdout] 2823 - let s:Surface = surface!(u, v, u.sin()*v.cos(), u.sin()*v.sin(), u.cos(), 0, PI/2., 0, 2.*PI); [INFO] [stdout] 2823 + let s:Surface = surface!(u, C, u.sin()*v.cos(), u.sin()*v.sin(), u.cos(), 0, PI/2., 0, 2.*PI); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G` is never used [INFO] [stdout] --> src/lib.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | const G:f64 = 6.6743e-11; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C` is never used [INFO] [stdout] --> src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | const C:f64 = 299_792_458.0; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1389:13 [INFO] [stdout] | [INFO] [stdout] 1389 | fn wrap(&self) -> _SuperSet; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1389 | fn wrap(&self) -> _SuperSet<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1392:13 [INFO] [stdout] | [INFO] [stdout] 1392 | fn wrap(&self) -> _SuperSet { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1392 | fn wrap(&self) -> _SuperSet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1397:13 [INFO] [stdout] | [INFO] [stdout] 1397 | fn wrap(&self) -> _SuperSet { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1397 | fn wrap(&self) -> _SuperSet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2136:13 [INFO] [stdout] | [INFO] [stdout] 2136 | fn wrap(&self) -> __G; [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2136 | fn wrap(&self) -> __G<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2139:13 [INFO] [stdout] | [INFO] [stdout] 2139 | fn wrap(&self) -> __G { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2139 | fn wrap(&self) -> __G<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2144:13 [INFO] [stdout] | [INFO] [stdout] 2144 | fn wrap(&self) -> __G { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2144 | fn wrap(&self) -> __G<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2311:14 [INFO] [stdout] | [INFO] [stdout] 2311 | fn wwrap(&self) -> __W; [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2311 | fn wwrap(&self) -> __W<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2314:14 [INFO] [stdout] | [INFO] [stdout] 2314 | fn wwrap(&self) -> __W { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2314 | fn wwrap(&self) -> __W<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2319:14 [INFO] [stdout] | [INFO] [stdout] 2319 | fn wwrap(&self) -> __W { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2319 | fn wwrap(&self) -> __W<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2324:14 [INFO] [stdout] | [INFO] [stdout] 2324 | fn wwrap(&self) -> __W { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2324 | fn wwrap(&self) -> __W<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2329:14 [INFO] [stdout] | [INFO] [stdout] 2329 | fn wwrap(&self) -> __W { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2329 | fn wwrap(&self) -> __W<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2334:14 [INFO] [stdout] | [INFO] [stdout] 2334 | fn wwrap(&self) -> __W { [INFO] [stdout] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2334 | fn wwrap(&self) -> __W<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&VectorFunction` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:2648:22 [INFO] [stdout] | [INFO] [stdout] 2648 | let f = f.clone().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/lib.rs:2770:13 [INFO] [stdout] | [INFO] [stdout] 2770 | let F:VectorFunction = vector_function!(x, y, -y, x); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "abd3ef1f9de4524ab40df5fa158d48a3aa9e2ded7cc0f52bf0792af8ef308e6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abd3ef1f9de4524ab40df5fa158d48a3aa9e2ded7cc0f52bf0792af8ef308e6e", kill_on_drop: false }` [INFO] [stdout] abd3ef1f9de4524ab40df5fa158d48a3aa9e2ded7cc0f52bf0792af8ef308e6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4d96c4297025e0b3c26113a998e9d148d850e1f8fa2200dcdd07d96b7793f061 [INFO] running `Command { std: "docker" "start" "-a" "4d96c4297025e0b3c26113a998e9d148d850e1f8fa2200dcdd07d96b7793f061", kill_on_drop: false }` [INFO] [stderr] warning: unused macro definition: `int_montecarlo` [INFO] [stderr] --> src/lib.rs:2024:14 [INFO] [stderr] | [INFO] [stderr] 2024 | macro_rules! int_montecarlo { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `E` and `PI` [INFO] [stderr] --> src/lib.rs:2736:24 [INFO] [stderr] | [INFO] [stderr] 2736 | use std::f64::consts::{PI, E}; [INFO] [stderr] | ^^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/lib.rs:479:24 [INFO] [stderr] | [INFO] [stderr] 479 | Function::OneD(f) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `y` is never read [INFO] [stderr] --> src/lib.rs:2096:25 [INFO] [stderr] | [INFO] [stderr] 2096 | let mut y = 0.0; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `ft` is never read [INFO] [stderr] --> src/lib.rs:2176:13 [INFO] [stderr] | [INFO] [stderr] 2176 | let mut ft:Boxf64> = Box::new(|_:f64| f64::NAN); [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/lib.rs:2522:30 [INFO] [stderr] | [INFO] [stderr] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: `x` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:587:26 [INFO] [stderr] | [INFO] [stderr] 587 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f), [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stderr] | [INFO] [stderr] 2522 - surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stderr] 2522 + surface_integral(&f!(C, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/lib.rs:2522:33 [INFO] [stderr] | [INFO] [stderr] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: `y` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:587:34 [INFO] [stderr] | [INFO] [stderr] 587 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f), [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stderr] | [INFO] [stderr] 2522 - surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stderr] 2522 + surface_integral(&f!(x, C, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `z` [INFO] [stderr] --> src/lib.rs:2522:36 [INFO] [stderr] | [INFO] [stderr] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: `z` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:587:42 [INFO] [stderr] | [INFO] [stderr] 587 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f), [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 2522 | surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stderr] | [INFO] [stderr] 2522 - surface_integral(&f!(x, y, z, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stderr] 2522 + surface_integral(&f!(x, y, C, 1.).wrap(), &self, MultipleIntegrationMethod::MonteCarlo(400)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `G` is never used [INFO] [stderr] --> src/lib.rs:45:7 [INFO] [stderr] | [INFO] [stderr] 45 | const G:f64 = 6.6743e-11; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `C` is never used [INFO] [stderr] --> src/lib.rs:49:7 [INFO] [stderr] | [INFO] [stderr] 49 | const C:f64 = 299_792_458.0; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: method `potential` is never used [INFO] [stderr] --> src/lib.rs:814:8 [INFO] [stderr] | [INFO] [stderr] 813 | impl VectorFunction { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] 814 | fn potential(&self, args:Vec) -> f64 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:1389:13 [INFO] [stderr] | [INFO] [stderr] 1389 | fn wrap(&self) -> _SuperSet; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1389 | fn wrap(&self) -> _SuperSet<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:1392:13 [INFO] [stderr] | [INFO] [stderr] 1392 | fn wrap(&self) -> _SuperSet { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1392 | fn wrap(&self) -> _SuperSet<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:1397:13 [INFO] [stderr] | [INFO] [stderr] 1397 | fn wrap(&self) -> _SuperSet { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1397 | fn wrap(&self) -> _SuperSet<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:2136:13 [INFO] [stderr] | [INFO] [stderr] 2136 | fn wrap(&self) -> __G; [INFO] [stderr] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2136 | fn wrap(&self) -> __G<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:2139:13 [INFO] [stderr] | [INFO] [stderr] 2139 | fn wrap(&self) -> __G { [INFO] [stderr] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2139 | fn wrap(&self) -> __G<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:2144:13 [INFO] [stderr] | [INFO] [stderr] 2144 | fn wrap(&self) -> __G { [INFO] [stderr] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2144 | fn wrap(&self) -> __G<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:2311:14 [INFO] [stderr] | [INFO] [stderr] 2311 | fn wwrap(&self) -> __W; [INFO] [stderr] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2311 | fn wwrap(&self) -> __W<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:2314:14 [INFO] [stderr] | [INFO] [stderr] 2314 | fn wwrap(&self) -> __W { [INFO] [stderr] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2314 | fn wwrap(&self) -> __W<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:2319:14 [INFO] [stderr] | [INFO] [stderr] 2319 | fn wwrap(&self) -> __W { [INFO] [stderr] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2319 | fn wwrap(&self) -> __W<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:2324:14 [INFO] [stderr] | [INFO] [stderr] 2324 | fn wwrap(&self) -> __W { [INFO] [stderr] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2324 | fn wwrap(&self) -> __W<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:2329:14 [INFO] [stderr] | [INFO] [stderr] 2329 | fn wwrap(&self) -> __W { [INFO] [stderr] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2329 | fn wwrap(&self) -> __W<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:2334:14 [INFO] [stderr] | [INFO] [stderr] 2334 | fn wwrap(&self) -> __W { [INFO] [stderr] | ^^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2334 | fn wwrap(&self) -> __W<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&VectorFunction` instead of cloning the inner type [INFO] [stderr] --> src/lib.rs:2648:22 [INFO] [stderr] | [INFO] [stderr] 2648 | let f = f.clone().clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `*`, `self`, and `self` [INFO] [stderr] --> src/lib.rs:2700:42 [INFO] [stderr] | [INFO] [stderr] 2700 | use $crate::{IntegrationMethod::{self, *}, MultipleIntegrationMethod::{self, *}}; [INFO] [stderr] | ^^^^ ^ ^^^^ [INFO] [stderr] ... [INFO] [stderr] 2821 | setup!(); [INFO] [stderr] | -------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `E` [INFO] [stderr] --> src/lib.rs:2701:36 [INFO] [stderr] | [INFO] [stderr] 2701 | use std::f64::consts::{PI, E}; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 2821 | setup!(); [INFO] [stderr] | -------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `*`, `self`, and `self` [INFO] [stderr] --> src/lib.rs:2700:42 [INFO] [stderr] | [INFO] [stderr] 2700 | use $crate::{IntegrationMethod::{self, *}, MultipleIntegrationMethod::{self, *}}; [INFO] [stderr] | ^^^^ ^^^^ ^ [INFO] [stderr] ... [INFO] [stderr] 2834 | setup!(); [INFO] [stderr] | -------- in this macro invocation [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 8 tests [INFO] [stderr] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `E` and `PI` [INFO] [stderr] --> src/lib.rs:2701:32 [INFO] [stderr] | [INFO] [stderr] 2701 | use std::f64::consts::{PI, E}; [INFO] [stderr] | ^^ ^ [INFO] [stderr] ... [INFO] [stderr] 2834 | setup!(); [INFO] [stderr] | -------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `setup` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/lib.rs:2770:49 [INFO] [stderr] | [INFO] [stderr] 2770 | let F:VectorFunction = vector_function!(x, y, -y, x); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: `x` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:861:30 [INFO] [stderr] | [INFO] [stderr] 861 | f: Box::new(|$x:f64, $y:f64| $f1), [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 2770 | let F:VectorFunction = vector_function!(x, y, -y, x); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stderr] | [INFO] [stderr] 2770 - let F:VectorFunction = vector_function!(x, y, -y, x); [INFO] [stderr] 2770 + let F:VectorFunction = vector_function!(C, y, -y, x); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/lib.rs:2770:52 [INFO] [stderr] | [INFO] [stderr] 2770 | let F:VectorFunction = vector_function!(x, y, -y, x); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: `y` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:865:38 [INFO] [stderr] | [INFO] [stderr] 865 | f: Box::new(|$x:f64, $y:f64| $f2), [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 2770 | let F:VectorFunction = vector_function!(x, y, -y, x); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stderr] | [INFO] [stderr] 2770 - let F:VectorFunction = vector_function!(x, y, -y, x); [INFO] [stderr] 2770 + let F:VectorFunction = vector_function!(x, C, -y, x); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/lib.rs:1647:13 [INFO] [stderr] | [INFO] [stderr] 1647 | _ => panic!("Not a valid parametric curve") [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] ... [INFO] [stderr] 2791 | let s = contour!(sigma, space); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/lib.rs:1647:13 [INFO] [stderr] | [INFO] [stderr] 1635 | ParametricCurve::TwoD(c) => { [INFO] [stderr] | ------------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 1641 | ParametricCurve::ThreeD(c) => { [INFO] [stdout] test tests::vectors ... ok [INFO] [stderr] | -------------------------- matches some of the same values [INFO] [stdout] test tests::line_integrals ... ok [INFO] [stderr] ... [INFO] [stderr] 1647 | _ => panic!("Not a valid parametric curve") [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] ... [INFO] [stderr] 2791 | let s = contour!(sigma, space); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `contour` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/lib.rs:2806:23 [INFO] [stderr] | [INFO] [stderr] 2806 | let f = f!(x, y, (x.powi(4)+1.).sqrt()); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: `y` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:581:34 [INFO] [stderr] | [INFO] [stderr] 581 | f: Box::new(|$x:f64, $y:f64| $f), [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 2806 | let f = f!(x, y, (x.powi(4)+1.).sqrt()); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stderr] | [INFO] [stderr] 2806 - let f = f!(x, y, (x.powi(4)+1.).sqrt()); [INFO] [stderr] 2806 + let f = f!(x, C, (x.powi(4)+1.).sqrt()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/lib.rs:2807:55 [INFO] [stderr] | [INFO] [stderr] 2807 | let x_bounds = fset![f!(y, y.powf(1./3.)), f!(y, 2.)]; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: `y` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:575:26 [INFO] [stderr] | [INFO] [stderr] 575 | f: Box::new(|$x:f64| $f), [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 2807 | let x_bounds = fset![f!(y, y.powf(1./3.)), f!(y, 2.)]; [INFO] [stderr] | --------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stderr] | [INFO] [stderr] 2807 - let x_bounds = fset![f!(y, y.powf(1./3.)), f!(y, 2.)]; [INFO] [stderr] 2807 + let x_bounds = fset![f!(y, y.powf(1./3.)), f!(C, 2.)]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rho` [INFO] [stderr] --> src/lib.rs:2824:13 [INFO] [stderr] | [INFO] [stderr] 2824 | let rho = surface!(u, v, u+v, u*v, u.powf(v), set![0, 2.*PI], set![0, 10]); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rho` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/lib.rs:2822:37 [INFO] [stderr] | [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: `y` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:874:38 [INFO] [stderr] | [INFO] [stderr] 874 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f1), [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stderr] | [INFO] [stderr] 2822 - let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] 2822 + let v = vector_function!(x, C, z, x, y, z); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `z` [INFO] [stderr] --> src/lib.rs:2822:40 [INFO] [stderr] | [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: `z` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:874:46 [INFO] [stderr] | [INFO] [stderr] 874 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f1), [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stderr] | [INFO] [stderr] 2822 - let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] 2822 + let v = vector_function!(x, y, C, x, y, z); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/lib.rs:2822:34 [INFO] [stderr] | [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: `x` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:878:30 [INFO] [stderr] | [INFO] [stderr] 878 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f2), [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stderr] | [INFO] [stderr] 2822 - let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] 2822 + let v = vector_function!(C, y, z, x, y, z); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `z` [INFO] [stderr] --> src/lib.rs:2822:40 [INFO] [stderr] | [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: `z` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:878:46 [INFO] [stderr] | [INFO] [stderr] 878 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f2), [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stderr] | [INFO] [stderr] 2822 - let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] 2822 + let v = vector_function!(x, y, C, x, y, z); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/lib.rs:2822:34 [INFO] [stderr] | [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: `x` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:882:30 [INFO] [stderr] | [INFO] [stderr] 882 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f3), [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stderr] | [INFO] [stderr] 2822 - let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] 2822 + let v = vector_function!(C, y, z, x, y, z); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/lib.rs:2822:37 [INFO] [stderr] | [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: `y` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:882:38 [INFO] [stderr] | [INFO] [stderr] 882 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f3), [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stderr] | [INFO] [stderr] 2822 - let v = vector_function!(x, y, z, x, y, z); [INFO] [stderr] 2822 + let v = vector_function!(x, C, z, x, y, z); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/lib.rs:2823:37 [INFO] [stderr] | [INFO] [stderr] 2823 | let s:Surface = surface!(u, v, u.sin()*v.cos(), u.sin()*v.sin(), u.cos(), 0, PI/2., 0, 2.*PI); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: `v` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:581:34 [INFO] [stderr] | [INFO] [stderr] 581 | f: Box::new(|$x:f64, $y:f64| $f), [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 2823 | let s:Surface = surface!(u, v, u.sin()*v.cos(), u.sin()*v.sin(), u.cos(), 0, PI/2., 0, 2.*PI); [INFO] [stderr] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `f` which comes from the expansion of the macro `surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `C` [INFO] [stderr] | [INFO] [stderr] 2823 - let s:Surface = surface!(u, v, u.sin()*v.cos(), u.sin()*v.sin(), u.cos(), 0, PI/2., 0, 2.*PI); [INFO] [stderr] 2823 + let s:Surface = surface!(u, C, u.sin()*v.cos(), u.sin()*v.sin(), u.cos(), 0, PI/2., 0, 2.*PI); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable `F` should have a snake case name [INFO] [stderr] --> src/lib.rs:2770:13 [INFO] [stderr] | [INFO] [stderr] 2770 | let F:VectorFunction = vector_function!(x, y, -y, x); [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `vector_calculus` (lib) generated 24 warnings (run `cargo fix --lib -p vector_calculus` to apply 16 suggestions) [INFO] [stderr] warning: `vector_calculus` (lib test) generated 40 warnings (22 duplicates) (run `cargo fix --lib -p vector_calculus --tests` to apply 15 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vector_calculus-2c7dd05e8bfaf2f9) [INFO] [stdout] test tests::contours ... ok [INFO] [stdout] test tests::integral_test ... ok [INFO] [stdout] test tests::vector_functions ... ok [INFO] [stdout] test tests::rn_integrals ... ok [INFO] [stdout] test tests::surfaces ... ok [INFO] [stdout] test tests::scalar_functions ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::scalar_functions stdout ---- [INFO] [stdout] df/dx(2,2) = 4.000000 [INFO] [stdout] [INFO] [stdout] thread 'tests::scalar_functions' (29) panicked at src/lib.rs:2761:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "x.powi(2)*y + z" [INFO] [stdout] right: "x.powi(2) * y + z" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57ae41bf8ff2 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x57ae41bf8ff2 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x57ae41bf8ff2 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x57ae41bf8ff2 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x57ae41c09d4f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x57ae41c09d4f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x57ae41bc6091 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x57ae41bc6091 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x57ae41bd2162 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x57ae41bd6caf - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x57ae41bd6b41 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x57ae41b5e12e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x57ae41b5e12e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x57ae41bd736f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x57ae41bd736f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x57ae41bd71ca - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x57ae41bd2299 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x57ae41bba58d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x57ae41c118b0 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x57ae41c116b3 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x57ae41b3bc77 - core::panicking::assert_failed::h1fe0af8d8182d0ed [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x57ae41b32146 - vector_calculus::tests::scalar_functions::h86fd07ef450fb85a [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:2761:9 [INFO] [stdout] 22: 0x57ae41b32637 - vector_calculus::tests::scalar_functions::{{closure}}::hd82127d1ed31adda [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:2753:26 [INFO] [stdout] 23: 0x57ae41b394d6 - core::ops::function::FnOnce::call_once::h10065df9d8c269e1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x57ae41b5df5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x57ae41b5df5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x57ae41b73b35 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x57ae41b73b35 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x57ae41b73b35 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x57ae41b73b35 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x57ae41b73b35 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x57ae41b73b35 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x57ae41b73b35 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x57ae41b4a344 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x57ae41b4a344 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x57ae41b4dc0a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x57ae41b4dc0a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x57ae41b4dc0a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x57ae41b4dc0a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x57ae41b4dc0a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x57ae41b4dc0a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x57ae41b4dc0a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x57ae41bcd3df - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x57ae41bcd3df - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x76959342eaa4 - [INFO] [stdout] 45: 0x7695934bba34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::scalar_functions [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "4d96c4297025e0b3c26113a998e9d148d850e1f8fa2200dcdd07d96b7793f061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d96c4297025e0b3c26113a998e9d148d850e1f8fa2200dcdd07d96b7793f061", kill_on_drop: false }` [INFO] [stdout] 4d96c4297025e0b3c26113a998e9d148d850e1f8fa2200dcdd07d96b7793f061