[INFO] cloning repository https://github.com/xiaohuihuiold/osu-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiaohuihuiold/osu-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaohuihuiold%2Fosu-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaohuihuiold%2Fosu-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 063bcd1675598bfa2310a4f239fce1e5cfb3a0dd [INFO] testing xiaohuihuiold/osu-rust against master#1ddedbaa5919b7b3e70d984660e21e844c615c97 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaohuihuiold%2Fosu-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xiaohuihuiold/osu-rust on toolchain 1ddedbaa5919b7b3e70d984660e21e844c615c97 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xiaohuihuiold/osu-rust [INFO] finished tweaking git repo https://github.com/xiaohuihuiold/osu-rust [INFO] tweaked toml for git repo https://github.com/xiaohuihuiold/osu-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xiaohuihuiold/osu-rust 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" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] testing xiaohuihuiold/osu-rust against try#33f1d8bb92813a1bfc23c093c9f443ab09290307 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaohuihuiold%2Fosu-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xiaohuihuiold/osu-rust on toolchain 33f1d8bb92813a1bfc23c093c9f443ab09290307 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xiaohuihuiold/osu-rust [INFO] finished tweaking git repo https://github.com/xiaohuihuiold/osu-rust [INFO] tweaked toml for git repo https://github.com/xiaohuihuiold/osu-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xiaohuihuiold/osu-rust 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" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "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 sdl2 v0.35.2 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57dc1812af2810df2eeaaececfe3bdc1a2b62155e986ecab11312bb7ab5357fe [INFO] running `Command { std: "docker" "start" "-a" "57dc1812af2810df2eeaaececfe3bdc1a2b62155e986ecab11312bb7ab5357fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57dc1812af2810df2eeaaececfe3bdc1a2b62155e986ecab11312bb7ab5357fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57dc1812af2810df2eeaaececfe3bdc1a2b62155e986ecab11312bb7ab5357fe", kill_on_drop: false }` [INFO] [stdout] 57dc1812af2810df2eeaaececfe3bdc1a2b62155e986ecab11312bb7ab5357fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e857370f7db42dae254e6e1bc602cd51f81de12efd90d3e945d4950c5f8f866 [INFO] running `Command { std: "docker" "start" "-a" "4e857370f7db42dae254e6e1bc602cd51f81de12efd90d3e945d4950c5f8f866", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling deserialize_derive v0.1.0 (/opt/rustwide/workdir/deserialize_derive) [INFO] [stderr] Compiling deserialize v0.1.0 (/opt/rustwide/workdir/deserialize) [INFO] [stderr] Compiling osu-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Countdown`, `GameMode`, `OverlayPosition`, and `SampleSet` [INFO] [stdout] --> src/beatmap/mod.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub use general::{Countdown, GameMode, General, OverlayPosition, SampleSet}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lerp` [INFO] [stdout] --> src/graphics/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub use lerp::{Lerp, LerpCopy}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/parser/beatmap_parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parser` [INFO] [stdout] --> src/parser/mod.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | pub use beatmap_parser::{Builder, Parser}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `std::f64::::powi` in constants [INFO] [stdout] --> src/graphics/curve.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | const EXPO_OFFSET: f64 = 2.0f64.powi(-10); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `std::f64::::powi` in constants [INFO] [stdout] --> src/graphics/curve.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | const ELASTIC_OFFSET_FULL: f64 = 2.0f64.powi(-11); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `std::f64::::powi` in constants [INFO] [stdout] --> src/graphics/curve.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | const ELASTIC_OFFSET_HALF: f64 = 2.0f64.powi(-10) * ((0.5 - ELASTIC_CONST2) * ELASTIC_CONST).sin(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `std::f64::::sin` in constants [INFO] [stdout] --> src/graphics/curve.rs:58:94 [INFO] [stdout] | [INFO] [stdout] 58 | const ELASTIC_OFFSET_HALF: f64 = 2.0f64.powi(-10) * ((0.5 - ELASTIC_CONST2) * ELASTIC_CONST).sin(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `std::f64::::powi` in constants [INFO] [stdout] --> src/graphics/curve.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | 2.0f64.powi(-10) * ((0.25 - ELASTIC_CONST2) * ELASTIC_CONST).sin(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `std::f64::::sin` in constants [INFO] [stdout] --> src/graphics/curve.rs:60:66 [INFO] [stdout] | [INFO] [stdout] 60 | 2.0f64.powi(-10) * ((0.25 - ELASTIC_CONST2) * ELASTIC_CONST).sin(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `std::f64::::powi` in constants [INFO] [stdout] --> src/graphics/curve.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | 2.0f64.powi(-10) * ((1.0 - ELASTIC_CONST2 * 1.5) * ELASTIC_CONST / 1.5).sin(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `std::f64::::sin` in constants [INFO] [stdout] --> src/graphics/curve.rs:62:77 [INFO] [stdout] | [INFO] [stdout] 62 | 2.0f64.powi(-10) * ((1.0 - ELASTIC_CONST2 * 1.5) * ELASTIC_CONST / 1.5).sin(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Linear` found for enum `Curves` in the current scope [INFO] [stdout] --> src/graphics/lerp.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | Self::lerp_curve(a, b, t, Curves::Linear) [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Curves` [INFO] [stdout] | [INFO] [stdout] ::: src/graphics/curve.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / from_str_enum! { [INFO] [stdout] 6 | | /// 曲线 [INFO] [stdout] 7 | | #[derive(PartialEq, Eq, Clone, Copy, Debug)] [INFO] [stdout] 8 | | pub enum Curves { [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_- variant or associated item `Linear` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Linear` found for enum `Curves` in the current scope [INFO] [stdout] --> src/graphics/lerp.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | Self::lerp_curve(a, b, t, Curves::Linear) [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Curves` [INFO] [stdout] | [INFO] [stdout] ::: src/graphics/curve.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / from_str_enum! { [INFO] [stdout] 6 | | /// 曲线 [INFO] [stdout] 7 | | #[derive(PartialEq, Eq, Clone, Copy, Debug)] [INFO] [stdout] 8 | | pub enum Curves { [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_- variant or associated item `Linear` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `color::Color::rgb` in constants [INFO] [stdout] --> src/graphics/color.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | pub const WHITE: Color = Color::rgb(255, 255, 255); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `color::Color::rgb` in constants [INFO] [stdout] --> src/graphics/color.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub const BLACK: Color = Color::rgb(0, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `color::Color::rgb` in constants [INFO] [stdout] --> src/graphics/color.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | pub const RED: Color = Color::rgb(255, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `color::Color::rgb` in constants [INFO] [stdout] --> src/graphics/color.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub const GREEN: Color = Color::rgb(0, 255, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `color::Color::rgb` in constants [INFO] [stdout] --> src/graphics/color.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub const BLUE: Color = Color::rgb(0, 0, 255); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `osu-rust` (bin "osu-rust") due to 16 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4e857370f7db42dae254e6e1bc602cd51f81de12efd90d3e945d4950c5f8f866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e857370f7db42dae254e6e1bc602cd51f81de12efd90d3e945d4950c5f8f866", kill_on_drop: false }` [INFO] [stdout] 4e857370f7db42dae254e6e1bc602cd51f81de12efd90d3e945d4950c5f8f866