[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 try#b10dae361a61486cfbdcd3aae3877ee17e00d192 for pr-153912 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floovjo%2Fdrawmetry" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/loovjo/drawmetry on toolchain b10dae361a61486cfbdcd3aae3877ee17e00d192 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/loovjo/drawmetry 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" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking loovjo/drawmetry against try#b10dae361a61486cfbdcd3aae3877ee17e00d192 for pr-153912 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floovjo%2Fdrawmetry" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/loovjo/drawmetry on toolchain b10dae361a61486cfbdcd3aae3877ee17e00d192 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/loovjo/drawmetry 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" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.12.0 [INFO] [stderr] Downloaded version_check v0.1.4 [INFO] [stderr] Downloaded inflate v0.4.3 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded termcolor v1.0.1 [INFO] [stderr] Downloaded ordered-float v1.0.1 [INFO] [stderr] Downloaded quickcheck v0.6.2 [INFO] [stderr] Downloaded wincolor v1.0.0 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded aho-corasick v0.6.6 [INFO] [stderr] Downloaded env_logger v0.5.12 [INFO] [stderr] Downloaded log v0.4.4 [INFO] [stderr] Downloaded sdl2 v0.31.0 [INFO] [stderr] Downloaded rayon v1.0.2 [INFO] [stderr] Downloaded deflate v0.7.18 [INFO] [stderr] Downloaded sdl2-sys v0.31.0 [INFO] [stderr] Downloaded regex v1.0.2 [INFO] [stderr] Downloaded regex-syntax v0.6.2 [INFO] [stderr] Downloaded ytesrev v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f11acbdf4e0aa376c12f27f08d554e77f132e2caf6247b0d285c39f9d666e4d [INFO] running `Command { std: "docker" "start" "-a" "7f11acbdf4e0aa376c12f27f08d554e77f132e2caf6247b0d285c39f9d666e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f11acbdf4e0aa376c12f27f08d554e77f132e2caf6247b0d285c39f9d666e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f11acbdf4e0aa376c12f27f08d554e77f132e2caf6247b0d285c39f9d666e4d", kill_on_drop: false }` [INFO] [stdout] 7f11acbdf4e0aa376c12f27f08d554e77f132e2caf6247b0d285c39f9d666e4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba1c39831780c2f89a7fb1afd13a21f5c4c7c7fdfa276be66c0a4cfe52c4262f [INFO] running `Command { std: "docker" "start" "-a" "ba1c39831780c2f89a7fb1afd13a21f5c4c7c7fdfa276be66c0a4cfe52c4262f", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking termcolor v1.0.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stderr] Checking ytesrev v0.2.2 [INFO] [stderr] Checking env_logger v0.5.12 [INFO] [stderr] Checking quickcheck v0.6.2 [INFO] [stderr] Checking drawmetry v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the `#[test]` attribute may only be used on a free function [INFO] [stdout] --> src/backend/geometry.rs:490:1 [INFO] [stdout] | [INFO] [stdout] 490 | #[test] [INFO] [stdout] | ^^^^^^^ the `#[test]` macro causes a function to be run as a test and has no effect on non-functions [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] 586 | | } [INFO] [stdout] | |_- expected a non-associated function, found an item macro invocation [INFO] [stdout] | [INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run [INFO] [stdout] | [INFO] [stdout] 490 - #[test] [INFO] [stdout] 490 + #[cfg(test)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#[test]` attribute may only be used on a free function [INFO] [stdout] --> src/backend/geometry.rs:490:1 [INFO] [stdout] | [INFO] [stdout] 490 | #[test] [INFO] [stdout] | ^^^^^^^ the `#[test]` macro causes a function to be run as a test and has no effect on non-functions [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] 586 | | } [INFO] [stdout] | |_- expected a non-associated function, found an item macro invocation [INFO] [stdout] | [INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run [INFO] [stdout] | [INFO] [stdout] 490 - #[test] [INFO] [stdout] 490 + #[cfg(test)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quickcheck` in this scope [INFO] [stdout] --> src/backend/geometry.rs:491:1 [INFO] [stdout] | [INFO] [stdout] 491 | quickcheck! { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `quickcheck` is in scope, but it is a crate, not a macro [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] | ^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub function: Box, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MakeButton(Box Button>); [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub function: Box, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MakeButton(Box Button>); [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] | ^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 | fn content(&self) -> Vec<&dyn Drawable> { [INFO] [stdout] | +++ [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] | ^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 148 | fn content_mut(&mut self) -> Vec<&mut dyn Drawable> { [INFO] [stdout] | +++ [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] | ^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 | fn content(&self) -> Vec<&dyn Drawable> { [INFO] [stdout] | +++ [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] | ^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | fn content_mut(&mut self) -> Vec<&mut dyn Drawable> { [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] | ^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 | fn content(&self) -> Vec<&dyn Drawable> { [INFO] [stdout] | +++ [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] | ^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 148 | fn content_mut(&mut self) -> Vec<&mut dyn Drawable> { [INFO] [stdout] | +++ [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] | ^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 | fn content(&self) -> Vec<&dyn Drawable> { [INFO] [stdout] | +++ [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] | ^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | fn content_mut(&mut self) -> Vec<&mut dyn Drawable> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/backend/geometry.rs:466:9 [INFO] [stdout] | [INFO] [stdout] 466 | intersect_two_circles((3., 5.), 2., -1., (5., 2.)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ --- -------- expected `f64`, found `({float}, {float})` [INFO] [stdout] | | [INFO] [stdout] | expected `(f64, f64)`, found `{float}` [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] help: swap these arguments [INFO] [stdout] | [INFO] [stdout] 466 - intersect_two_circles((3., 5.), 2., -1., (5., 2.)) [INFO] [stdout] 466 + intersect_two_circles((3., 5.), 2., (5., 2.), -1.) [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^ -- -- unexpected argument #6 of type `{float}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #5 of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: expected `(f64, f64)`, found floating-point number [INFO] [stdout] --> src/backend/geometry.rs:471:31 [INFO] [stdout] | [INFO] [stdout] 471 | intersect_two_circles(0., 0., 0., 1., 1., 0.), [INFO] [stdout] | ^^ [INFO] [stdout] = note: expected tuple `(f64, f64)` [INFO] [stdout] found type `{float}` [INFO] [stdout] note: expected `(f64, f64)`, found floating-point number [INFO] [stdout] --> src/backend/geometry.rs:471:39 [INFO] [stdout] | [INFO] [stdout] 471 | intersect_two_circles(0., 0., 0., 1., 1., 0.), [INFO] [stdout] | ^^ [INFO] [stdout] = note: expected tuple `(f64, f64)` [INFO] [stdout] found type `{float}` [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] 347 | (x2, y2): (f64, f64), [INFO] [stdout] | -------------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 471 - intersect_two_circles(0., 0., 0., 1., 1., 0.), [INFO] [stdout] 471 + intersect_two_circles(/* (f64, f64) */, 0., /* (f64, f64) */, 1.), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta2` [INFO] [stdout] --> src/backend/geometry.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | let delta2 = (x - x2) * (x - x2) + (y - y2) * (y - y2) - r2 * r2; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `drawmetry` (bin "drawmetry") due to 1 previous error; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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` (bin "drawmetry" test) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ba1c39831780c2f89a7fb1afd13a21f5c4c7c7fdfa276be66c0a4cfe52c4262f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba1c39831780c2f89a7fb1afd13a21f5c4c7c7fdfa276be66c0a4cfe52c4262f", kill_on_drop: false }` [INFO] [stdout] ba1c39831780c2f89a7fb1afd13a21f5c4c7c7fdfa276be66c0a4cfe52c4262f