[INFO] cloning repository https://github.com/loovjo/drawmetry [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/loovjo/drawmetry" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floovjo%2Fdrawmetry", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floovjo%2Fdrawmetry'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8dcd033c7524c5e0f3f79e05e8afe98ed81e0afc [INFO] testing loovjo/drawmetry against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floovjo%2Fdrawmetry" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/loovjo/drawmetry on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/loovjo/drawmetry [INFO] finished tweaking git repo https://github.com/loovjo/drawmetry [INFO] tweaked toml for git repo https://github.com/loovjo/drawmetry written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/loovjo/drawmetry already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7e7a93fa494cc5e3fbdd0c4fdbfe7114b39109e707ae929e948af20334de89ec [INFO] running `Command { std: "docker" "start" "-a" "7e7a93fa494cc5e3fbdd0c4fdbfe7114b39109e707ae929e948af20334de89ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e7a93fa494cc5e3fbdd0c4fdbfe7114b39109e707ae929e948af20334de89ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e7a93fa494cc5e3fbdd0c4fdbfe7114b39109e707ae929e948af20334de89ec", kill_on_drop: false }` [INFO] [stdout] 7e7a93fa494cc5e3fbdd0c4fdbfe7114b39109e707ae929e948af20334de89ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 239d79bc2c18b0cd17442a0b7ef01f1e53d0e0e5e7c72dadb5b80aec112ede50 [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" "239d79bc2c18b0cd17442a0b7ef01f1e53d0e0e5e7c72dadb5b80aec112ede50", kill_on_drop: false }` [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling termcolor v1.0.1 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling inflate v0.4.3 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling log v0.4.4 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling ordered-float v1.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling env_logger v0.5.12 [INFO] [stderr] Compiling quickcheck v0.6.2 [INFO] [stderr] Compiling ytesrev v0.2.2 [INFO] [stderr] Compiling drawmetry v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drawing_board/mod.rs:144:31 [INFO] [stdout] | [INFO] [stdout] 144 | fn content(&self) -> Vec<&Drawable> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Drawable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drawing_board/mod.rs:148:43 [INFO] [stdout] | [INFO] [stdout] 148 | fn content_mut(&mut self) -> Vec<&mut Drawable> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Drawable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toolbar/mod.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | pub function: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut DState)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toolbar/mod.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MakeButton(Box Button>); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Button` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toolbar/mod.rs:134:31 [INFO] [stdout] | [INFO] [stdout] 134 | fn content(&self) -> Vec<&Drawable> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Drawable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toolbar/mod.rs:138:43 [INFO] [stdout] | [INFO] [stdout] 138 | fn content_mut(&mut self) -> Vec<&mut Drawable> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Drawable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.28s [INFO] running `Command { std: "docker" "inspect" "239d79bc2c18b0cd17442a0b7ef01f1e53d0e0e5e7c72dadb5b80aec112ede50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "239d79bc2c18b0cd17442a0b7ef01f1e53d0e0e5e7c72dadb5b80aec112ede50", kill_on_drop: false }` [INFO] [stdout] 239d79bc2c18b0cd17442a0b7ef01f1e53d0e0e5e7c72dadb5b80aec112ede50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1225e65d0fd75921212a2fa5217bdf887036fd2b3c88f2a7a63a5afb7290c724 [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" "1225e65d0fd75921212a2fa5217bdf887036fd2b3c88f2a7a63a5afb7290c724", kill_on_drop: false }` [INFO] [stderr] Compiling drawmetry v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[test]` attribute should not be used on macros. Use `#[cfg(test)]` instead. [INFO] [stdout] --> src/backend/geometry.rs:491:1 [INFO] [stdout] | [INFO] [stdout] 491 | / quickcheck! { [INFO] [stdout] 492 | | fn check_intersect_two_circles( [INFO] [stdout] 493 | | x1: f64, [INFO] [stdout] 494 | | y1: f64, [INFO] [stdout] ... | [INFO] [stdout] 585 | | } [INFO] [stdout] 586 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drawing_board/mod.rs:144:31 [INFO] [stdout] | [INFO] [stdout] 144 | fn content(&self) -> Vec<&Drawable> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Drawable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drawing_board/mod.rs:148:43 [INFO] [stdout] | [INFO] [stdout] 148 | fn content_mut(&mut self) -> Vec<&mut Drawable> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Drawable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toolbar/mod.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | pub function: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut DState)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toolbar/mod.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MakeButton(Box Button>); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Button` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toolbar/mod.rs:134:31 [INFO] [stdout] | [INFO] [stdout] 134 | fn content(&self) -> Vec<&Drawable> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Drawable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/toolbar/mod.rs:138:43 [INFO] [stdout] | [INFO] [stdout] 138 | fn content_mut(&mut self) -> Vec<&mut Drawable> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Drawable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/backend/geometry.rs:466:45 [INFO] [stdout] | [INFO] [stdout] 466 | intersect_two_circles((3., 5.), 2., -1., (5., 2.)) [INFO] [stdout] | ^^^ expected tuple, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(f64, f64)` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/backend/geometry.rs:466:50 [INFO] [stdout] | [INFO] [stdout] 466 | intersect_two_circles((3., 5.), 2., -1., (5., 2.)) [INFO] [stdout] | ^^^^^^^^ expected `f64`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found tuple `({float}, {float})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 6 arguments were supplied [INFO] [stdout] --> src/backend/geometry.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | intersect_two_circles(0., 0., 0., 1., 1., 0.), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ -- -- -- -- -- -- supplied 6 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/backend/geometry.rs:344:4 [INFO] [stdout] | [INFO] [stdout] 344 | fn intersect_two_circles( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 345 | (x1, y1): (f64, f64), [INFO] [stdout] | -------------------- [INFO] [stdout] 346 | r1: f64, [INFO] [stdout] | ------- [INFO] [stdout] 347 | (x2, y2): (f64, f64), [INFO] [stdout] | -------------------- [INFO] [stdout] 348 | r2: f64, [INFO] [stdout] | ------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `drawmetry` due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1225e65d0fd75921212a2fa5217bdf887036fd2b3c88f2a7a63a5afb7290c724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1225e65d0fd75921212a2fa5217bdf887036fd2b3c88f2a7a63a5afb7290c724", kill_on_drop: false }` [INFO] [stdout] 1225e65d0fd75921212a2fa5217bdf887036fd2b3c88f2a7a63a5afb7290c724