[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] checking loovjo/drawmetry against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floovjo%2Fdrawmetry" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/loovjo/drawmetry on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-7/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] 2d302f5a9b61edf2b733b760d38b611488f00b17c656c678ad60427d1f0d7f59 [INFO] running `Command { std: "docker" "start" "-a" "2d302f5a9b61edf2b733b760d38b611488f00b17c656c678ad60427d1f0d7f59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d302f5a9b61edf2b733b760d38b611488f00b17c656c678ad60427d1f0d7f59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d302f5a9b61edf2b733b760d38b611488f00b17c656c678ad60427d1f0d7f59", kill_on_drop: false }` [INFO] [stdout] 2d302f5a9b61edf2b733b760d38b611488f00b17c656c678ad60427d1f0d7f59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33a4f3b0f287536401c2b21e010f468a4615b9eb0b297f2bd103d2769a77e522 [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" "33a4f3b0f287536401c2b21e010f468a4615b9eb0b297f2bd103d2769a77e522", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stderr] Checking env_logger v0.5.12 [INFO] [stderr] Checking quickcheck v0.6.2 [INFO] [stderr] Checking ytesrev v0.2.2 [INFO] [stderr] Checking 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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [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" "33a4f3b0f287536401c2b21e010f468a4615b9eb0b297f2bd103d2769a77e522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33a4f3b0f287536401c2b21e010f468a4615b9eb0b297f2bd103d2769a77e522", kill_on_drop: false }` [INFO] [stdout] 33a4f3b0f287536401c2b21e010f468a4615b9eb0b297f2bd103d2769a77e522