[INFO] fetching crate vector_calculus 0.1.0... [INFO] testing vector_calculus-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate vector_calculus 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vector_calculus 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c48cb39b93dc2459a01620765e1327990878f04bd037cf6be5a702a422e543db [INFO] running `Command { std: "docker" "start" "-a" "c48cb39b93dc2459a01620765e1327990878f04bd037cf6be5a702a422e543db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c48cb39b93dc2459a01620765e1327990878f04bd037cf6be5a702a422e543db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c48cb39b93dc2459a01620765e1327990878f04bd037cf6be5a702a422e543db", kill_on_drop: false }` [INFO] [stdout] c48cb39b93dc2459a01620765e1327990878f04bd037cf6be5a702a422e543db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d3192bab9092b4e07c7e616558ff789d75115720c79860b28fa16220d5b3a2d [INFO] running `Command { std: "docker" "start" "-a" "6d3192bab9092b4e07c7e616558ff789d75115720c79860b28fa16220d5b3a2d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [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 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] [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] [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] [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 2.76s [INFO] running `Command { std: "docker" "inspect" "6d3192bab9092b4e07c7e616558ff789d75115720c79860b28fa16220d5b3a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d3192bab9092b4e07c7e616558ff789d75115720c79860b28fa16220d5b3a2d", kill_on_drop: false }` [INFO] [stdout] 6d3192bab9092b4e07c7e616558ff789d75115720c79860b28fa16220d5b3a2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47d8b9ca4fe31b53bc763a85cbbf8abc26f83d752039f57913b8cc9ac0fc95de [INFO] running `Command { std: "docker" "start" "-a" "47d8b9ca4fe31b53bc763a85cbbf8abc26f83d752039f57913b8cc9ac0fc95de", 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] [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] [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] [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] [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] [stderr] Compiling vector_calculus v0.1.0 (/opt/rustwide/workdir) [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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.59s [INFO] running `Command { std: "docker" "inspect" "47d8b9ca4fe31b53bc763a85cbbf8abc26f83d752039f57913b8cc9ac0fc95de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47d8b9ca4fe31b53bc763a85cbbf8abc26f83d752039f57913b8cc9ac0fc95de", kill_on_drop: false }` [INFO] [stdout] 47d8b9ca4fe31b53bc763a85cbbf8abc26f83d752039f57913b8cc9ac0fc95de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 79cbc73dc766996c6600e6cc3918bf9964d8ba7dc24d34af12dc69315fad98a1 [INFO] running `Command { std: "docker" "start" "-a" "79cbc73dc766996c6600e6cc3918bf9964d8ba7dc24d34af12dc69315fad98a1", 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] [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] [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] [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] [stdout] [INFO] [stderr] help: use `'_` for type paths [INFO] [stdout] running 8 tests [INFO] [stderr] | [INFO] [stdout] test tests::contours ... ok [INFO] [stderr] 2314 | fn wwrap(&self) -> __W<'_> { [INFO] [stdout] test tests::vector_functions ... ok [INFO] [stderr] | ++++ [INFO] [stdout] test tests::integral_test ... ok [INFO] [stderr] [INFO] [stdout] test tests::line_integrals ... ok [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] test tests::vectors ... ok [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] [stdout] test tests::rn_integrals ... ok [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] [stdout] test tests::surfaces ... ok [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 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] [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] [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] [stderr] | -------------------------- matches some of the same values [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] [stdout] test tests::scalar_functions ... FAILED [INFO] [stderr] --> src/lib.rs:581:34 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] failures: [INFO] [stderr] 581 | f: Box::new(|$x:f64, $y:f64| $f), [INFO] [stdout] [INFO] [stderr] | ^^ [INFO] [stdout] ---- tests::scalar_functions stdout ---- [INFO] [stderr] ... [INFO] [stdout] df/dx(2,2) = 4.000000 [INFO] [stderr] 2806 | let f = f!(x, y, (x.powi(4)+1.).sqrt()); [INFO] [stdout] [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stdout] thread 'tests::scalar_functions' (29) panicked at src/lib.rs:2761:9: [INFO] [stderr] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] assertion `left == right` failed [INFO] [stderr] [INFO] [stdout] left: "x.powi(2)*y + z" [INFO] [stderr] warning: unused variable: `y` [INFO] [stdout] right: "x.powi(2) * y + z" [INFO] [stderr] --> src/lib.rs:2807:55 [INFO] [stdout] stack backtrace: [INFO] [stderr] | [INFO] [stdout] 0: 0x555a68014012 - std::backtrace_rs::backtrace::libunwind::trace::h589a96ef7638b383 [INFO] [stderr] 2807 | let x_bounds = fset![f!(y, y.powf(1./3.)), f!(y, 2.)]; [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] | ^ [INFO] [stdout] 1: 0x555a68014012 - std::backtrace_rs::backtrace::trace_unsynchronized::h23a30a7548c40de4 [INFO] [stderr] | [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] help: `y` is captured in macro and introduced a unused variable [INFO] [stdout] 2: 0x555a68014012 - std::sys::backtrace::_print_fmt::h87dabd6535c8c07a [INFO] [stderr] --> src/lib.rs:575:26 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] | [INFO] [stdout] 3: 0x555a68014012 - ::fmt::hffd20ad4e5eca8ab [INFO] [stderr] 575 | f: Box::new(|$x:f64| $f), [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] | ^^ [INFO] [stdout] 4: 0x555a68024d0f - core::fmt::rt::Argument::fmt::h75c83e3fd5ce2419 [INFO] [stderr] ... [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 2807 | let x_bounds = fset![f!(y, y.powf(1./3.)), f!(y, 2.)]; [INFO] [stdout] 5: 0x555a68024d0f - core::fmt::write::h6d9d3a7cfd7b84f5 [INFO] [stderr] | --------- in this macro invocation [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] 6: 0x555a67fe19d3 - std::io::default_write_fmt::he11a713685e2464d [INFO] [stderr] [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:639:11 [INFO] [stderr] warning: unused variable: `rho` [INFO] [stdout] 7: 0x555a67fe19d3 - std::io::Write::write_fmt::h9d08f7e050bd2612 [INFO] [stderr] --> src/lib.rs:2824:13 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] | [INFO] [stdout] 8: 0x555a67fed792 - std::sys::backtrace::BacktraceLock::print::hb28797143397220e [INFO] [stderr] 2824 | let rho = surface!(u, v, u+v, u*v, u.powf(v), set![0, 2.*PI], set![0, 10]); [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rho` [INFO] [stdout] 9: 0x555a67ff218f - std::panicking::default_hook::{{closure}}::h7555113b62983743 [INFO] [stderr] [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:301:27 [INFO] [stderr] warning: unused variable: `y` [INFO] [stdout] 10: 0x555a67ff2021 - std::panicking::default_hook::h2714b564abe8d914 [INFO] [stderr] --> src/lib.rs:2822:37 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:325:9 [INFO] [stderr] | [INFO] [stdout] 11: 0x555a67f7940e - as core::ops::function::Fn>::call::h0e9de8cceb22406e [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stderr] | ^ [INFO] [stdout] 12: 0x555a67f7940e - test::test_main_with_exit_callback::{{closure}}::h8125bd66cf4739d0 [INFO] [stderr] | [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:145:21 [INFO] [stderr] help: `y` is captured in macro and introduced a unused variable [INFO] [stdout] 13: 0x555a67ff282e - as core::ops::function::Fn>::call::h1fd0a0802eaec16b [INFO] [stderr] --> src/lib.rs:874:38 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stderr] | [INFO] [stdout] 14: 0x555a67ff282e - std::panicking::panic_with_hook::h190dc82263685ec5 [INFO] [stderr] 874 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f1), [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:842:13 [INFO] [stderr] | ^^ [INFO] [stdout] 15: 0x555a67ff25fa - std::panicking::panic_handler::{{closure}}::h8b036a1b366643ac [INFO] [stderr] ... [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:707:13 [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] 16: 0x555a67fed8c9 - std::sys::backtrace::__rust_end_short_backtrace::h45affcfc0c830da8 [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] 17: 0x555a67fd5c3d - __rustc[9b67c8562bba447b]::rust_begin_unwind [INFO] [stderr] [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:698:5 [INFO] [stderr] warning: unused variable: `z` [INFO] [stdout] 18: 0x555a6802c890 - core::panicking::panic_fmt::hc084f85b1e76c16d [INFO] [stderr] --> src/lib.rs:2822:40 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:75:14 [INFO] [stderr] | [INFO] [stdout] 19: 0x555a6802c693 - core::panicking::assert_failed_inner::h1215dc8d5a90adff [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:439:17 [INFO] [stderr] | ^ [INFO] [stdout] 20: 0x555a67f56d67 - core::panicking::assert_failed::h31b116234f0fb61d [INFO] [stderr] | [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:394:5 [INFO] [stderr] help: `z` is captured in macro and introduced a unused variable [INFO] [stdout] 21: 0x555a67f4d8c6 - vector_calculus::tests::scalar_functions::h1ed416576869cac4 [INFO] [stderr] --> src/lib.rs:874:46 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:2761:9 [INFO] [stderr] | [INFO] [stdout] 22: 0x555a67f4ddb7 - vector_calculus::tests::scalar_functions::{{closure}}::h989ae81ad2f033a9 [INFO] [stderr] 874 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f1), [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:2753:26 [INFO] [stderr] | ^^ [INFO] [stdout] 23: 0x555a67f54706 - core::ops::function::FnOnce::call_once::h3fc568e0eb91b896 [INFO] [stderr] ... [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] 24: 0x555a67f791cb - core::ops::function::FnOnce::call_once::hdbf42be2a49fb464 [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stderr] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] 25: 0x555a67f791cb - test::__rust_begin_short_backtrace::h8ae08814d38cb356 [INFO] [stderr] [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:663:18 [INFO] [stderr] warning: unused variable: `x` [INFO] [stdout] 26: 0x555a67f8ecb5 - test::run_test_in_process::{{closure}}::h54574ee4f414d690 [INFO] [stderr] --> src/lib.rs:2822:34 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:74 [INFO] [stderr] | [INFO] [stdout] 27: 0x555a67f8ecb5 - as core::ops::function::FnOnce<()>>::call_once::h01a0b7e7aad1a501 [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] | ^ [INFO] [stdout] 28: 0x555a67f8ecb5 - std::panicking::catch_unwind::do_call::h23820e817c5612cd [INFO] [stderr] | [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stderr] help: `x` is captured in macro and introduced a unused variable [INFO] [stdout] 29: 0x555a67f8ecb5 - std::panicking::catch_unwind::h89c73a1febce5587 [INFO] [stderr] --> src/lib.rs:878:30 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stderr] | [INFO] [stdout] 30: 0x555a67f8ecb5 - std::panic::catch_unwind::h6f55caf410861914 [INFO] [stderr] 878 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f2), [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stderr] | ^^ [INFO] [stdout] 31: 0x555a67f8ecb5 - test::run_test_in_process::h4db851878e5d3983 [INFO] [stderr] ... [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:27 [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] 32: 0x555a67f8ecb5 - test::run_test::{{closure}}::h57e8c5acaceacd24 [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:607:43 [INFO] [stderr] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] 33: 0x555a67f656a4 - test::run_test::{{closure}}::he775ccc3a9d3b97e [INFO] [stderr] [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:637:41 [INFO] [stderr] warning: unused variable: `z` [INFO] [stdout] 34: 0x555a67f656a4 - std::sys::backtrace::__rust_begin_short_backtrace::hcd94d85d7765225a [INFO] [stderr] --> src/lib.rs:2822:40 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] | [INFO] [stdout] 35: 0x555a67f68eea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha814de8393f07830 [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] | ^ [INFO] [stdout] 36: 0x555a67f68eea - as core::ops::function::FnOnce<()>>::call_once::h8deb00af0abdeaf1 [INFO] [stderr] | [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] help: `z` is captured in macro and introduced a unused variable [INFO] [stdout] 37: 0x555a67f68eea - std::panicking::catch_unwind::do_call::h1917979b0c279ea2 [INFO] [stderr] --> src/lib.rs:878:46 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stderr] | [INFO] [stdout] 38: 0x555a67f68eea - std::panicking::catch_unwind::h791ad91fee6ce34e [INFO] [stderr] 878 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f2), [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stderr] | ^^ [INFO] [stdout] 39: 0x555a67f68eea - std::panic::catch_unwind::h982b8f40ed9c3cce [INFO] [stderr] ... [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] 40: 0x555a67f68eea - std::thread::Builder::spawn_unchecked_::{{closure}}::h545e54700c945db4 [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] = note: this warning originates in the macro `vector_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] 41: 0x555a67f68eea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb427481a5227d78a [INFO] [stderr] [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stderr] warning: unused variable: `x` [INFO] [stdout] 42: 0x555a67fe7b4f - as core::ops::function::FnOnce>::call_once::h1d452951a81e9d0a [INFO] [stderr] --> src/lib.rs:2822:34 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stderr] | [INFO] [stdout] 43: 0x555a67fe7b4f - std::sys::pal::unix::thread::Thread::new::thread_start::h29c84e109630689a [INFO] [stderr] 2822 | let v = vector_function!(x, y, z, x, y, z); [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stderr] | ^ [INFO] [stdout] 44: 0x707427896aa4 - [INFO] [stderr] | [INFO] [stdout] 45: 0x707427923a34 - clone [INFO] [stderr] help: `x` is captured in macro and introduced a unused variable [INFO] [stdout] 46: 0x0 - [INFO] [stderr] --> src/lib.rs:882:30 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 882 | f: Box::new(|$x:f64, $y:f64, $z:f64| $f3), [INFO] [stdout] failures: [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] [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] [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] [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 13 suggestions) [INFO] [stderr] warning: `vector_calculus` (lib test) generated 40 warnings (22 duplicates) (run `cargo fix --lib -p vector_calculus --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vector_calculus-5a1ee03876ccb635) [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.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "79cbc73dc766996c6600e6cc3918bf9964d8ba7dc24d34af12dc69315fad98a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79cbc73dc766996c6600e6cc3918bf9964d8ba7dc24d34af12dc69315fad98a1", kill_on_drop: false }` [INFO] [stdout] 79cbc73dc766996c6600e6cc3918bf9964d8ba7dc24d34af12dc69315fad98a1