[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#5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea for pr-124336 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floovjo%2Fdrawmetry" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/loovjo/drawmetry on toolchain 5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking loovjo/drawmetry against try#311f8b6ca41358db8ae08490a9ca0916f11e9de3 for pr-124336 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floovjo%2Fdrawmetry" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/loovjo/drawmetry on toolchain 311f8b6ca41358db8ae08490a9ca0916f11e9de3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "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-0-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "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 ytesrev v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3193c26d16b955d82092ddffb8f5a0d552e4552a8d8204c15d5c41f2a7732fb0 [INFO] running `Command { std: "docker" "start" "-a" "3193c26d16b955d82092ddffb8f5a0d552e4552a8d8204c15d5c41f2a7732fb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3193c26d16b955d82092ddffb8f5a0d552e4552a8d8204c15d5c41f2a7732fb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3193c26d16b955d82092ddffb8f5a0d552e4552a8d8204c15d5c41f2a7732fb0", kill_on_drop: false }` [INFO] [stdout] 3193c26d16b955d82092ddffb8f5a0d552e4552a8d8204c15d5c41f2a7732fb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bdc8e8c4007f726536a9b3adb02ea49426b5b4455853df4d4b406c202877637 [INFO] running `Command { std: "docker" "start" "-a" "4bdc8e8c4007f726536a9b3adb02ea49426b5b4455853df4d4b406c202877637", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking termcolor v1.0.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand v0.5.5 [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 crossbeam-deque v0.2.0 [INFO] [stderr] Checking rand v0.3.22 [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 non-associated 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] 585 | | } [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 | #[cfg(test)] [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)]` on by default [INFO] [stdout] help: if this is an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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: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)]` on by default [INFO] [stdout] help: if this is an object-safe 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 an object-safe 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: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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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] 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] help: swap these arguments [INFO] [stdout] | [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 of type `{float}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument 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] | ------- [INFO] [stdout] 347 | (x2, y2): (f64, f64), [INFO] [stdout] | -------------------- [INFO] [stdout] 348 | r2: 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: 6 warnings emitted [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 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` (bin "drawmetry" test) due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4bdc8e8c4007f726536a9b3adb02ea49426b5b4455853df4d4b406c202877637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bdc8e8c4007f726536a9b3adb02ea49426b5b4455853df4d4b406c202877637", kill_on_drop: false }` [INFO] [stdout] 4bdc8e8c4007f726536a9b3adb02ea49426b5b4455853df4d4b406c202877637