[INFO] cloning repository https://github.com/Rafaelmdcarneiro/rust-speedy2d-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rafaelmdcarneiro/rust-speedy2d-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafaelmdcarneiro%2Frust-speedy2d-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafaelmdcarneiro%2Frust-speedy2d-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 401d2fb4547f8f073dbec15e03104d904f63bacb [INFO] checking Rafaelmdcarneiro/rust-speedy2d-test against try#d534db0721b23cf977073bf4cd306dbf501e6b4d for pr-138499 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafaelmdcarneiro%2Frust-speedy2d-test" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rafaelmdcarneiro/rust-speedy2d-test on toolchain d534db0721b23cf977073bf4cd306dbf501e6b4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rafaelmdcarneiro/rust-speedy2d-test [INFO] finished tweaking git repo https://github.com/Rafaelmdcarneiro/rust-speedy2d-test [INFO] tweaked toml for git repo https://github.com/Rafaelmdcarneiro/rust-speedy2d-test written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Rafaelmdcarneiro/rust-speedy2d-test 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" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "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 winnow v0.5.18 [INFO] [stderr] Downloaded earcutr v0.2.0 [INFO] [stderr] Downloaded speedy2d v1.12.0 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9e7b0e65ba8225cf684f9f4983c58e072203a1c6e7e9c31ba0b5cb3dc3e2f6d [INFO] running `Command { std: "docker" "start" "-a" "d9e7b0e65ba8225cf684f9f4983c58e072203a1c6e7e9c31ba0b5cb3dc3e2f6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9e7b0e65ba8225cf684f9f4983c58e072203a1c6e7e9c31ba0b5cb3dc3e2f6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9e7b0e65ba8225cf684f9f4983c58e072203a1c6e7e9c31ba0b5cb3dc3e2f6d", kill_on_drop: false }` [INFO] [stdout] d9e7b0e65ba8225cf684f9f4983c58e072203a1c6e7e9c31ba0b5cb3dc3e2f6d [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4b314d638dfa77a71274ac753610e3bd4cbfdbbb05c55d0c7bc0a0b672898e5 [INFO] running `Command { std: "docker" "start" "-a" "a4b314d638dfa77a71274ac753610e3bd4cbfdbbb05c55d0c7bc0a0b672898e5", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking wayland-egl v0.29.5 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking calloop v0.9.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking earcutr v0.2.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking glow v0.7.2 [INFO] [stderr] Checking glutin v0.28.0 [INFO] [stderr] Checking speedy2d v1.12.0 [INFO] [stderr] Checking rust-win-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/main.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | let window: Window = Window::new_centered(title: "Pendulum", size: (800, 480)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if `Window::new_centered` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 10 - let window: Window = Window::new_centered(title: "Pendulum", size: (800, 480)).unwrap(); [INFO] [stdout] 10 + let window: Window = Window::new_centered { title: "Pendulum", size: (800, 480) }.unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if `Window::new_centered` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 10 - let window: Window = Window::new_centered(title: "Pendulum", size: (800, 480)).unwrap(); [INFO] [stdout] 10 + let window: Window = Window::new_centered("Pendulum", (800, 480)).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/main.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | p: Pendulum::new(x: 400.0, y: 0.0, r: 200.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if `Pendulum::new` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 13 - p: Pendulum::new(x: 400.0, y: 0.0, r: 200.0), [INFO] [stdout] 13 + p: Pendulum::new { x: 400.0, y: 0.0, r: 200.0 }, [INFO] [stdout] | [INFO] [stdout] help: if `Pendulum::new` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 13 - p: Pendulum::new(x: 400.0, y: 0.0, r: 200.0), [INFO] [stdout] 13 + p: Pendulum::new(400.0, 0.0, 200.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `:` [INFO] [stdout] --> src/main.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | window.run_loop(handler: win); [INFO] [stdout] | ^ expected identifier [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/main.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | graphics.clear_screen(Color::from_rgb(r: 0.8, g: 0.9, b: 1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if `Color::from_rgb` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 29 - graphics.clear_screen(Color::from_rgb(r: 0.8, g: 0.9, b: 1.0)); [INFO] [stdout] 29 + graphics.clear_screen(Color::from_rgb { r: 0.8, g: 0.9, b: 1.0 }); [INFO] [stdout] | [INFO] [stdout] help: if `Color::from_rgb` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 29 - graphics.clear_screen(Color::from_rgb(r: 0.8, g: 0.9, b: 1.0)); [INFO] [stdout] 29 + graphics.clear_screen(Color::from_rgb(0.8, 0.9, 1.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/main.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | position: Vector::new(x: 0.0, y: 0.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if `Vector::new` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 62 - position: Vector::new(x: 0.0, y: 0.0), [INFO] [stdout] 62 + position: Vector::new { x: 0.0, y: 0.0 }, [INFO] [stdout] | [INFO] [stdout] help: if `Vector::new` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 62 - position: Vector::new(x: 0.0, y: 0.0), [INFO] [stdout] 62 + position: Vector::new(0.0, 0.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/main.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | let window: Window = Window::new_centered(title: "Pendulum", size: (800, 480)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if `Window::new_centered` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 10 - let window: Window = Window::new_centered(title: "Pendulum", size: (800, 480)).unwrap(); [INFO] [stdout] 10 + let window: Window = Window::new_centered { title: "Pendulum", size: (800, 480) }.unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if `Window::new_centered` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 10 - let window: Window = Window::new_centered(title: "Pendulum", size: (800, 480)).unwrap(); [INFO] [stdout] 10 + let window: Window = Window::new_centered("Pendulum", (800, 480)).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/main.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | p: Pendulum::new(x: 400.0, y: 0.0, r: 200.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if `Pendulum::new` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 13 - p: Pendulum::new(x: 400.0, y: 0.0, r: 200.0), [INFO] [stdout] 13 + p: Pendulum::new { x: 400.0, y: 0.0, r: 200.0 }, [INFO] [stdout] | [INFO] [stdout] help: if `Pendulum::new` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 13 - p: Pendulum::new(x: 400.0, y: 0.0, r: 200.0), [INFO] [stdout] 13 + p: Pendulum::new(400.0, 0.0, 200.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `)` [INFO] [stdout] --> src/main.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ^ expected one of 9 possible tokens [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 74 | fn update(_: &mut Self) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `.`, `::`, `;`, `?`, `}`, or an operator, found `Vector` [INFO] [stdout] --> src/main.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | self.position Vector [INFO] [stdout] | ^^^^^^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `.` [INFO] [stdout] --> src/main.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | start_position: (self.origin.x, self.origin.y), [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of 7 possible tokens [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `.` [INFO] [stdout] --> src/main.rs:98:41 [INFO] [stdout] | [INFO] [stdout] 98 | start_position: (self.origin.x, self.origin.y), [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of 7 possible tokens [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `.` [INFO] [stdout] --> src/main.rs:98:49 [INFO] [stdout] | [INFO] [stdout] 98 | start_position: (self.origin.x, self.origin.y), [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of 7 possible tokens [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `.` [INFO] [stdout] --> src/main.rs:98:56 [INFO] [stdout] | [INFO] [stdout] 98 | start_position: (self.origin.x, self.origin.y), [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of 7 possible tokens [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `:` [INFO] [stdout] --> src/main.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | start_position: (self.origin.x, self.origin.y), [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `:` [INFO] [stdout] --> src/main.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | window.run_loop(handler: win); [INFO] [stdout] | ^ expected identifier [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/main.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | graphics.clear_screen(Color::from_rgb(r: 0.8, g: 0.9, b: 1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if `Color::from_rgb` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 29 - graphics.clear_screen(Color::from_rgb(r: 0.8, g: 0.9, b: 1.0)); [INFO] [stdout] 29 + graphics.clear_screen(Color::from_rgb { r: 0.8, g: 0.9, b: 1.0 }); [INFO] [stdout] | [INFO] [stdout] help: if `Color::from_rgb` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 29 - graphics.clear_screen(Color::from_rgb(r: 0.8, g: 0.9, b: 1.0)); [INFO] [stdout] 29 + graphics.clear_screen(Color::from_rgb(0.8, 0.9, 1.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/main.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | position: Vector::new(x: 0.0, y: 0.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if `Vector::new` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 62 - position: Vector::new(x: 0.0, y: 0.0), [INFO] [stdout] 62 + position: Vector::new { x: 0.0, y: 0.0 }, [INFO] [stdout] | [INFO] [stdout] help: if `Vector::new` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 62 - position: Vector::new(x: 0.0, y: 0.0), [INFO] [stdout] 62 + position: Vector::new(0.0, 0.0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `)` [INFO] [stdout] --> src/main.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ^ expected one of 9 possible tokens [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 74 | fn update(_: &mut Self) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `.`, `::`, `;`, `?`, `}`, or an operator, found `Vector` [INFO] [stdout] --> src/main.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | self.position Vector [INFO] [stdout] | ^^^^^^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `.` [INFO] [stdout] --> src/main.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | start_position: (self.origin.x, self.origin.y), [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of 7 possible tokens [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `.` [INFO] [stdout] --> src/main.rs:98:41 [INFO] [stdout] | [INFO] [stdout] 98 | start_position: (self.origin.x, self.origin.y), [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of 7 possible tokens [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `.` [INFO] [stdout] --> src/main.rs:98:49 [INFO] [stdout] | [INFO] [stdout] 98 | start_position: (self.origin.x, self.origin.y), [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of 7 possible tokens [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `.` [INFO] [stdout] --> src/main.rs:98:56 [INFO] [stdout] | [INFO] [stdout] 98 | start_position: (self.origin.x, self.origin.y), [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of 7 possible tokens [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `:` [INFO] [stdout] --> src/main.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | start_position: (self.origin.x, self.origin.y), [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] 75 | //We use the pendulum equation to calculate the angular acceleration. [INFO] [stdout] 76 | self.angular_acceleration = -1.0 * self.g * self.angle.sin() / self.r; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut &self, Self) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] 75 | //We use the pendulum equation to calculate the angular acceleration. [INFO] [stdout] 76 | self.angular_acceleration = -1.0 * self.g * self.angle.sin() / self.r; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut &self, Self) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:76:53 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] 75 | //We use the pendulum equation to calculate the angular acceleration. [INFO] [stdout] 76 | self.angular_acceleration = -1.0 * self.g * self.angle.sin() / self.r; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut &self, Self) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:76:72 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] 75 | //We use the pendulum equation to calculate the angular acceleration. [INFO] [stdout] 76 | self.angular_acceleration = -1.0 * self.g * self.angle.sin() / self.r; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut &self, Self) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 79 | self.angular_velocity += self.angular_acceleration; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut &self, Self) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 79 | self.angular_velocity += self.angular_acceleration; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut &self, Self) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 82 | self.angle += self.angular_velocity; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut &self, Self) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 82 | self.angle += self.angular_velocity; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut &self, Self) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `speedy2d::color::Color` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use speedy2d::color::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] 75 | //We use the pendulum equation to calculate the angular acceleration. [INFO] [stdout] 76 | self.angular_acceleration = -1.0 * self.g * self.angle.sin() / self.r; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut &self, Self) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] 75 | //We use the pendulum equation to calculate the angular acceleration. [INFO] [stdout] 76 | self.angular_acceleration = -1.0 * self.g * self.angle.sin() / self.r; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut &self, Self) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:76:53 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] 75 | //We use the pendulum equation to calculate the angular acceleration. [INFO] [stdout] 76 | self.angular_acceleration = -1.0 * self.g * self.angle.sin() / self.r; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut &self, Self) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:76:72 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] 75 | //We use the pendulum equation to calculate the angular acceleration. [INFO] [stdout] 76 | self.angular_acceleration = -1.0 * self.g * self.angle.sin() / self.r; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut &self, Self) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 79 | self.angular_velocity += self.angular_acceleration; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut &self, Self) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 79 | self.angular_velocity += self.angular_acceleration; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut &self, Self) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 82 | self.angle += self.angular_velocity; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut &self, Self) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ------ this function doesn't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 82 | self.angle += self.angular_velocity; [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut &self, Self) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `speedy2d::color::Color` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use speedy2d::color::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `Pendulum` in the current scope [INFO] [stdout] --> src/main.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | self.p.update(); [INFO] [stdout] | -------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `Pendulum::update()` [INFO] [stdout] ... [INFO] [stdout] 36 | struct Pendulum { [INFO] [stdout] | --------------- method `update` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `Pendulum` [INFO] [stdout] --> src/main.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `update`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `deflate::checksum::RollingChecksum` [INFO] [stdout] candidate #2: `rayon::iter::ParallelIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:119:39 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new(x: f32, y: f32) -> Vector { [INFO] [stdout] | --- ^^^^^^ expected `Vector`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 120 | Vector { x, y }; [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `Pendulum` in the current scope [INFO] [stdout] --> src/main.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | self.p.update(); [INFO] [stdout] | -------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `Pendulum::update()` [INFO] [stdout] ... [INFO] [stdout] 36 | struct Pendulum { [INFO] [stdout] | --------------- method `update` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `Pendulum` [INFO] [stdout] --> src/main.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | fn update(&mut Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `update`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `deflate::checksum::RollingChecksum` [INFO] [stdout] candidate #2: `rayon::iter::ParallelIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:119:39 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new(x: f32, y: f32) -> Vector { [INFO] [stdout] | --- ^^^^^^ expected `Vector`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 120 | Vector { x, y }; [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0424, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0424, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-win-test` (bin "rust-win-test" test) due to 22 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-win-test` (bin "rust-win-test") due to 22 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a4b314d638dfa77a71274ac753610e3bd4cbfdbbb05c55d0c7bc0a0b672898e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4b314d638dfa77a71274ac753610e3bd4cbfdbbb05c55d0c7bc0a0b672898e5", kill_on_drop: false }` [INFO] [stdout] a4b314d638dfa77a71274ac753610e3bd4cbfdbbb05c55d0c7bc0a0b672898e5