[INFO] fetching crate sb-rust-library 0.1.7... [INFO] testing sb-rust-library-0.1.7 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate sb-rust-library 0.1.7 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate sb-rust-library 0.1.7 [INFO] finished tweaking crates.io crate sb-rust-library 0.1.7 [INFO] tweaked toml for crates.io crate sb-rust-library 0.1.7 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sb-rust-library 0.1.7 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sb-rust-library 0.1.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-utils v0.8.1 [INFO] [stderr] Downloaded indicatif v0.15.0 [INFO] [stderr] Downloaded const_fn v0.4.5 [INFO] [stderr] Downloaded number_prefix v0.3.0 [INFO] [stderr] Downloaded terminal_size v0.1.16 [INFO] [stderr] Downloaded memoffset v0.6.1 [INFO] [stderr] Downloaded bytemuck v1.5.0 [INFO] [stderr] Downloaded gif v0.11.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.1 [INFO] [stderr] Downloaded weezl v0.1.3 [INFO] [stderr] Downloaded regex v1.4.3 [INFO] [stderr] Downloaded byteorder v1.4.2 [INFO] [stderr] Downloaded image v0.23.12 [INFO] [stderr] Downloaded regex-syntax v0.6.22 [INFO] [stderr] Downloaded console v0.14.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.0 [INFO] [stderr] Downloaded jpeg-decoder v0.1.20 [INFO] [stderr] Downloaded libc v0.2.82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24e7141add8b42f2623ae980ba323c8e9fdedc7bd7afa7cbb13c3813170dcfe3 [INFO] running `Command { std: "docker" "start" "-a" "24e7141add8b42f2623ae980ba323c8e9fdedc7bd7afa7cbb13c3813170dcfe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24e7141add8b42f2623ae980ba323c8e9fdedc7bd7afa7cbb13c3813170dcfe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24e7141add8b42f2623ae980ba323c8e9fdedc7bd7afa7cbb13c3813170dcfe3", kill_on_drop: false }` [INFO] [stdout] 24e7141add8b42f2623ae980ba323c8e9fdedc7bd7afa7cbb13c3813170dcfe3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07e6c44deed09c13ae0d42b9f93feec38c767590d1cca07358b5a3a551f77dcd [INFO] running `Command { std: "docker" "start" "-a" "07e6c44deed09c13ae0d42b9f93feec38c767590d1cca07358b5a3a551f77dcd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling weezl v0.1.3 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.5.0 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling console v0.14.0 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling sb-rust-library v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.95s [INFO] running `Command { std: "docker" "inspect" "07e6c44deed09c13ae0d42b9f93feec38c767590d1cca07358b5a3a551f77dcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07e6c44deed09c13ae0d42b9f93feec38c767590d1cca07358b5a3a551f77dcd", kill_on_drop: false }` [INFO] [stdout] 07e6c44deed09c13ae0d42b9f93feec38c767590d1cca07358b5a3a551f77dcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 530b3c5a727cc65152ad1324eb6e8687cc5734126295ec4154f5c9ae47ca6a4e [INFO] running `Command { std: "docker" "start" "-a" "530b3c5a727cc65152ad1324eb6e8687cc5734126295ec4154f5c9ae47ca6a4e", kill_on_drop: false }` [INFO] [stderr] Compiling sb-rust-library v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "530b3c5a727cc65152ad1324eb6e8687cc5734126295ec4154f5c9ae47ca6a4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "530b3c5a727cc65152ad1324eb6e8687cc5734126295ec4154f5c9ae47ca6a4e", kill_on_drop: false }` [INFO] [stdout] 530b3c5a727cc65152ad1324eb6e8687cc5734126295ec4154f5c9ae47ca6a4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 98336ac2f76ed36e3d8531e3f05bc9f9e931b7ab7a282c75806f1856b40efa46 [INFO] running `Command { std: "docker" "start" "-a" "98336ac2f76ed36e3d8531e3f05bc9f9e931b7ab7a282c75806f1856b40efa46", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sb_rust_library-ea556b369d51fe72) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test plotter::shapes::it_draws_a_5_circle_offset_at_origin ... ok [INFO] [stdout] test plotter::shapes::it_draws_a_point ... ok [INFO] [stdout] test plotter::shapes::it_draws_a_3_circle_offset_from_origin ... ok [INFO] [stdout] test plotter::shapes::it_draws_a_3_circle_at_origin ... ok [INFO] [stderr] Doc-tests sb_rust_library [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/plotter/mod.rs - plotter (line 11) ... FAILED [INFO] [stdout] test src/math.rs - math::VectorMath (line 443) ... FAILED [INFO] [stdout] test src/plotter/plot.rs - plotter::plot::Plot (line 29) ... FAILED [INFO] [stdout] test src/math.rs - math::VectorMath (line 435) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/plotter/mod.rs - plotter (line 11) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Plot` [INFO] [stdout] --> src/plotter/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 3 | let mut p = Plot::new(300, 200) [INFO] [stdout] | ^^^^ use of undeclared type `Plot` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sb_rust_library::plotter::Plot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GREY` in this scope [INFO] [stdout] --> src/plotter/mod.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 4 | .with_canvas_color(GREY) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use sb_rust_library::plotter::GREY; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stdout] --> src/plotter/mod.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 5 | .with_bg_color(BLUE) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use sb_rust_library::plotter::BLUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/plotter/mod.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 6 | .with_plotting_range(0.0..(2.0 * PI), -1.1..1.1) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 2 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/plotter/mod.rs:18:72 [INFO] [stdout] | [INFO] [stdout] 9 | let x_values: Vec = (0..1000).map(|i| (i as f64) / 1000.0 * 2.0 * PI).collect(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 2 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/plotter/mod.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 10 | let points: Vec = x_values.into_iter().map(|x| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sb_rust_library::math::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circle` [INFO] [stdout] --> src/plotter/mod.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 14 | let circle = Circle::new(RED, 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `Circle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sb_rust_library::plotter::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> src/plotter/mod.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 14 | let circle = Circle::new(RED, 1); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use sb_rust_library::plotter::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math.rs - math::VectorMath (line 443) stdout ---- [INFO] [stdout] error[E0599]: no method named `dot` found for struct `Vec<{float}>` in the current scope [INFO] [stdout] --> src/math.rs:446:14 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(a.dot(b), 4.0); [INFO] [stdout] | ^^^ method not found in `Vec<{float}>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/plotter/plot.rs - plotter::plot::Plot (line 29) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Plot` [INFO] [stdout] --> src/plotter/plot.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 3 | let mut p = Plot::new(300, 200) [INFO] [stdout] | ^^^^ use of undeclared type `Plot` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sb_rust_library::plotter::Plot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GREY` in this scope [INFO] [stdout] --> src/plotter/plot.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 4 | .with_canvas_color(GREY) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use sb_rust_library::plotter::GREY; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stdout] --> src/plotter/plot.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 5 | .with_bg_color(BLUE) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use sb_rust_library::plotter::BLUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/plotter/plot.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 10 | let points: Vec = x_values.into_iter().map(|x| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sb_rust_library::math::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circle` [INFO] [stdout] --> src/plotter/plot.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 14 | let circle = Circle::new(RED, 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `Circle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sb_rust_library::plotter::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> src/plotter/plot.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 14 | let circle = Circle::new(RED, 1); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use sb_rust_library::plotter::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math.rs - math::VectorMath (line 435) stdout ---- [INFO] [stdout] error[E0599]: no method named `add` found for struct `Vec` in the current scope [INFO] [stdout] --> src/math.rs:438:11 [INFO] [stdout] | [INFO] [stdout] 5 | let c = a.add(&b); [INFO] [stdout] | ^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/math.rs - math::VectorMath (line 435) [INFO] [stdout] src/math.rs - math::VectorMath (line 443) [INFO] [stdout] src/plotter/mod.rs - plotter (line 11) [INFO] [stdout] src/plotter/plot.rs - plotter::plot::Plot (line 29) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "98336ac2f76ed36e3d8531e3f05bc9f9e931b7ab7a282c75806f1856b40efa46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98336ac2f76ed36e3d8531e3f05bc9f9e931b7ab7a282c75806f1856b40efa46", kill_on_drop: false }` [INFO] [stdout] 98336ac2f76ed36e3d8531e3f05bc9f9e931b7ab7a282c75806f1856b40efa46