[INFO] fetching crate sb-rust-library 0.1.7... [INFO] testing sb-rust-library-0.1.7 against 1.60.0 for beta-1.61-1 [INFO] extracting crate sb-rust-library 0.1.7 into /workspace/builds/worker-101/source [INFO] validating manifest of crates.io crate sb-rust-library 0.1.7 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-101/source/Cargo.toml [INFO] crate crates.io crate sb-rust-library 0.1.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytemuck v1.5.0 [INFO] [stderr] Downloaded image v0.23.12 [INFO] [stderr] Downloaded weezl v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c574b274d0bd469d1a00a6440cc80fca8346805fe08401bc991b7f67b983ae5 [INFO] running `Command { std: "docker" "start" "-a" "9c574b274d0bd469d1a00a6440cc80fca8346805fe08401bc991b7f67b983ae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c574b274d0bd469d1a00a6440cc80fca8346805fe08401bc991b7f67b983ae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c574b274d0bd469d1a00a6440cc80fca8346805fe08401bc991b7f67b983ae5", kill_on_drop: false }` [INFO] [stdout] 9c574b274d0bd469d1a00a6440cc80fca8346805fe08401bc991b7f67b983ae5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68b805f4363fb175a84cef9d2b45db9ed43c7dcde4751bd2edcbd176ed24d600 [INFO] running `Command { std: "docker" "start" "-a" "68b805f4363fb175a84cef9d2b45db9ed43c7dcde4751bd2edcbd176ed24d600", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling weezl v0.1.3 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling bytemuck v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.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 [unoptimized + debuginfo] target(s) in 52.75s [INFO] running `Command { std: "docker" "inspect" "68b805f4363fb175a84cef9d2b45db9ed43c7dcde4751bd2edcbd176ed24d600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68b805f4363fb175a84cef9d2b45db9ed43c7dcde4751bd2edcbd176ed24d600", kill_on_drop: false }` [INFO] [stdout] 68b805f4363fb175a84cef9d2b45db9ed43c7dcde4751bd2edcbd176ed24d600 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b11b31e3479840148886daab5a0078171e0fbc28ef9aef256be7e9f4cf30e3a3 [INFO] running `Command { std: "docker" "start" "-a" "b11b31e3479840148886daab5a0078171e0fbc28ef9aef256be7e9f4cf30e3a3", kill_on_drop: false }` [INFO] [stderr] Compiling sb-rust-library v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 22.53s [INFO] running `Command { std: "docker" "inspect" "b11b31e3479840148886daab5a0078171e0fbc28ef9aef256be7e9f4cf30e3a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b11b31e3479840148886daab5a0078171e0fbc28ef9aef256be7e9f4cf30e3a3", kill_on_drop: false }` [INFO] [stdout] b11b31e3479840148886daab5a0078171e0fbc28ef9aef256be7e9f4cf30e3a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5b6a5c39978a03f7cd8cd4422e3ca2a25f0d627f80e06a1058bfeed1b13dc66c [INFO] running `Command { std: "docker" "start" "-a" "5b6a5c39978a03f7cd8cd4422e3ca2a25f0d627f80e06a1058bfeed1b13dc66c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sb_rust_library-fd36ae853c3f91e8) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test plotter::shapes::it_draws_a_3_circle_at_origin ... ok [INFO] [stdout] test plotter::shapes::it_draws_a_3_circle_offset_from_origin ... ok [INFO] [stdout] test plotter::shapes::it_draws_a_point ... ok [INFO] [stdout] test plotter::shapes::it_draws_a_5_circle_offset_at_origin ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests sb-rust-library [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/plotter/plot.rs - plotter::plot::Plot (line 29) ... FAILED [INFO] [stdout] test src/math.rs - math::VectorMath (line 443) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/plotter/mod.rs - plotter (line 11) ... FAILED [INFO] [stdout] test src/math.rs - math::VectorMath (line 435) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] | ^^^^ not found in this scope [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] | ^^^^^^ not found in this scope [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 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 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/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] | ^^^^ not found in this scope [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 items [INFO] [stdout] | [INFO] [stdout] 2 | use core::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 | use core::f64::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 items [INFO] [stdout] | [INFO] [stdout] 2 | use core::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 | use core::f64::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] | ^^^^^^ not found in this scope [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 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 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.27s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5b6a5c39978a03f7cd8cd4422e3ca2a25f0d627f80e06a1058bfeed1b13dc66c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b6a5c39978a03f7cd8cd4422e3ca2a25f0d627f80e06a1058bfeed1b13dc66c", kill_on_drop: false }` [INFO] [stdout] 5b6a5c39978a03f7cd8cd4422e3ca2a25f0d627f80e06a1058bfeed1b13dc66c