[INFO] cloning repository https://github.com/jakubDoka/rustbatch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jakubDoka/rustbatch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjakubDoka%2Frustbatch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjakubDoka%2Frustbatch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3721c2796588234cfae1d80bc433ce0ee06acf6c [INFO] testing jakubDoka/rustbatch against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjakubDoka%2Frustbatch" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jakubDoka/rustbatch on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jakubDoka/rustbatch [INFO] finished tweaking git repo https://github.com/jakubDoka/rustbatch [INFO] tweaked toml for git repo https://github.com/jakubDoka/rustbatch written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/jakubDoka/rustbatch already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6dcd221eca7558ca5a07e542ea5be483dd82b3888047ee73b16903859e092790 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6dcd221eca7558ca5a07e542ea5be483dd82b3888047ee73b16903859e092790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6dcd221eca7558ca5a07e542ea5be483dd82b3888047ee73b16903859e092790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dcd221eca7558ca5a07e542ea5be483dd82b3888047ee73b16903859e092790", kill_on_drop: false }` [INFO] [stdout] 6dcd221eca7558ca5a07e542ea5be483dd82b3888047ee73b16903859e092790 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d4057278ec2a063668f01d1c50dba3c37503a6c42c0811bbc3e92e361d70984 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1d4057278ec2a063668f01d1c50dba3c37503a6c42c0811bbc3e92e361d70984", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling rustbatch v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling hashers v1.0.1 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling sdl2-sys v0.34.2 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling quickcheck v0.2.27 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling glm v0.2.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.9 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "1d4057278ec2a063668f01d1c50dba3c37503a6c42c0811bbc3e92e361d70984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d4057278ec2a063668f01d1c50dba3c37503a6c42c0811bbc3e92e361d70984", kill_on_drop: false }` [INFO] [stdout] 1d4057278ec2a063668f01d1c50dba3c37503a6c42c0811bbc3e92e361d70984 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2055790db0ecab4fe53940463a093d9f0320cc3943b75f6e8a85a706216e1759 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2055790db0ecab4fe53940463a093d9f0320cc3943b75f6e8a85a706216e1759", kill_on_drop: false }` [INFO] [stderr] Compiling rustbatch v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::Vect` [INFO] [stdout] --> src/math/curve.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | use crate::Vect; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Processor` [INFO] [stdout] --> src/entity/pathfinder.rs:170:37 [INFO] [stdout] | [INFO] [stdout] 170 | use crate::entity::pathfinder::{Processor, Data}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/entity/scanner.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `round` [INFO] [stdout] --> src/math/mat.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | fn round(a: f32, decimals: i32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.73s [INFO] running `Command { std: "docker" "inspect" "2055790db0ecab4fe53940463a093d9f0320cc3943b75f6e8a85a706216e1759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2055790db0ecab4fe53940463a093d9f0320cc3943b75f6e8a85a706216e1759", kill_on_drop: false }` [INFO] [stdout] 2055790db0ecab4fe53940463a093d9f0320cc3943b75f6e8a85a706216e1759 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1403dade92044aacb934b6aae33c3cdc38c378aec755d5a3a5af0868151b38f0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1403dade92044aacb934b6aae33c3cdc38c378aec755d5a3a5af0868151b38f0", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::Vect` [INFO] [stderr] --> src/math/curve.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | use crate::Vect; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Processor` [INFO] [stderr] --> src/entity/pathfinder.rs:170:37 [INFO] [stderr] | [INFO] [stderr] 170 | use crate::entity::pathfinder::{Processor, Data}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/entity/scanner.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | for i in 0..100 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `round` [INFO] [stderr] --> src/math/mat.rs:135:8 [INFO] [stderr] | [INFO] [stderr] 135 | fn round(a: f32, decimals: i32) -> f32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rustbatch-82c7122931b7faf8 [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test entity::pathfinder::tests::update_test ... ok [INFO] [stdout] test math::curve::tests::curve_test ... ok [INFO] [stdout] test math::mat::tests::prj_test ... ok [INFO] [stdout] test math::rect::tests::intersects_test ... ok [INFO] [stdout] test entity::scanner::tests::insert_test ... ok [INFO] [stdout] test entity::scanner::tests::remove_test ... ok [INFO] [stdout] test math::vect::tests::ang_to_test ... ok [INFO] [stdout] test math::vect::tests::angle_test ... ok [INFO] [stdout] test math::vect::tests::average_test ... ok [INFO] [stdout] test math::vect::tests::rot_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests rustbatch [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/render/window.rs - render::window::Window::new (line 41) ... FAILED [INFO] [stdout] test src/render/particle/system.rs - render::particle::system::ParticleSystem (line 144) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] test src/render/particle/shapes.rs - render::particle::shapes::SymmetricShape (line 13) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/render/window.rs - render::window::Window::new (line 41) stdout ---- [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/render/window.rs:44:57 [INFO] [stdout] | [INFO] [stdout] 6 | let (window, event_pump, _gl, _sdl, _video_subsystem) = Window::new(|sys| { [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `B` declared on the associated function `new` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/render/particle/system.rs - render::particle::system::ParticleSystem (line 144) stdout ---- [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/render/particle/system.rs:154:42 [INFO] [stdout] | [INFO] [stdout] 13 | let (mut window, mut pump, _f, _g, _r) = Window::new(|sys| sys.window("segmentation", 400, 400).opengl().build().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `B` declared on the associated function `new` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 19) stdout ---- [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:33:65 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut window, mut event_pump, _gl, _sdl, _video_subsystem) = Window::new(|sys| { [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `B` declared on the associated function `new` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/render/particle/shapes.rs - render::particle::shapes::SymmetricShape (line 13) stdout ---- [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/render/particle/shapes.rs:19:53 [INFO] [stdout] | [INFO] [stdout] 8 | let (mut window, mut event_pump, _gl, _s, _e) = Window::new(|sys| { [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `B` declared on the associated function `new` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 19) [INFO] [stdout] src/render/particle/shapes.rs - render::particle::shapes::SymmetricShape (line 13) [INFO] [stdout] src/render/particle/system.rs - render::particle::system::ParticleSystem (line 144) [INFO] [stdout] src/render/window.rs - render::window::Window::new (line 41) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "1403dade92044aacb934b6aae33c3cdc38c378aec755d5a3a5af0868151b38f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1403dade92044aacb934b6aae33c3cdc38c378aec755d5a3a5af0868151b38f0", kill_on_drop: false }` [INFO] [stdout] 1403dade92044aacb934b6aae33c3cdc38c378aec755d5a3a5af0868151b38f0