[INFO] cloning repository https://github.com/kpensec/rust_wasm_sdl_testing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kpensec/rust_wasm_sdl_testing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpensec%2Frust_wasm_sdl_testing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpensec%2Frust_wasm_sdl_testing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8c98bc3330ee81ee99a8b062e2237157eac0adb [INFO] testing kpensec/rust_wasm_sdl_testing against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpensec%2Frust_wasm_sdl_testing" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kpensec/rust_wasm_sdl_testing [INFO] finished tweaking git repo https://github.com/kpensec/rust_wasm_sdl_testing [INFO] tweaked toml for git repo https://github.com/kpensec/rust_wasm_sdl_testing written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kpensec/rust_wasm_sdl_testing on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kpensec/rust_wasm_sdl_testing 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing kpensec/rust_wasm_sdl_testing against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpensec%2Frust_wasm_sdl_testing" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kpensec/rust_wasm_sdl_testing [INFO] finished tweaking git repo https://github.com/kpensec/rust_wasm_sdl_testing [INFO] tweaked toml for git repo https://github.com/kpensec/rust_wasm_sdl_testing written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kpensec/rust_wasm_sdl_testing on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kpensec/rust_wasm_sdl_testing 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [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 num-integer v0.1.38 [INFO] [stderr] Downloaded num-traits v0.2.4 [INFO] [stderr] Downloaded libc v0.2.41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac80719ccfa7a0bab19604f3ef994f828f289637102157b16fad8f3cb17650a4 [INFO] running `Command { std: "docker" "start" "-a" "ac80719ccfa7a0bab19604f3ef994f828f289637102157b16fad8f3cb17650a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac80719ccfa7a0bab19604f3ef994f828f289637102157b16fad8f3cb17650a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac80719ccfa7a0bab19604f3ef994f828f289637102157b16fad8f3cb17650a4", kill_on_drop: false }` [INFO] [stdout] ac80719ccfa7a0bab19604f3ef994f828f289637102157b16fad8f3cb17650a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de9575d989126aac3d56a058446bd43fe95e9f98fce9a2c8bd5c300d54802dfb [INFO] running `Command { std: "docker" "start" "-a" "de9575d989126aac3d56a058446bd43fe95e9f98fce9a2c8bd5c300d54802dfb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling libc v0.2.41 [INFO] [stderr] Compiling rust-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stdout] error[E0599]: no method named `blend_sample` found for mutable reference `&mut Synthesizer` in the current scope [INFO] [stdout] --> src/synth/mod.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | self.blend_sample(result, key.update(self.volume, self.step)); [INFO] [stdout] | ^^^^^^^^^^^^ this is an associated function, not a method [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 `Synthesizer` [INFO] [stdout] --> src/synth/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | fn blend_sample(lhs: f32, rhs: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `get_sample` with a similar name, but with different arguments [INFO] [stdout] --> src/synth/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_sample(&mut self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 60 - self.blend_sample(result, key.update(self.volume, self.step)); [INFO] [stdout] 60 + Synthesizer::blend_sample(result, key.update(self.volume, self.step)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_size` on type `&mut Synthesizer` [INFO] [stdout] --> src/synth/mod.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | let mut result = Vec::with_capacity(self.buffer_size); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `volume`, `playback_freq`, `sample_number`, `keys`, `step`, `active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/synth/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 67 | / if ! self.active { [INFO] [stdout] 68 | | result [INFO] [stdout] | | ^^^^^^ expected `()`, found `Vec<_>` [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________- `if` expressions without `else` arms expect their inner expression to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 68 | return result; [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_size` on type `&mut Synthesizer` [INFO] [stdout] --> src/synth/mod.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | for x in 0..self.buffer_size { [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `volume`, `playback_freq`, `sample_number`, `keys`, `step`, `active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/synth/mod.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn update(&mut self, eps: f32) -> Vec { [INFO] [stdout] | -------- expected `Vec` because of return type [INFO] [stdout] ... [INFO] [stdout] 71 | / for x in 0..self.buffer_size { [INFO] [stdout] 72 | | let sample = self.get_sample(); [INFO] [stdout] 73 | | // TODO search [INFO] [stdout] 74 | | result.push(sample); [INFO] [stdout] 75 | | result.push(sample); [INFO] [stdout] 76 | | } [INFO] [stdout] | |_________^ expected `Vec`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: `for` loops evaluate to unit type `()` [INFO] [stdout] help: consider returning a value here [INFO] [stdout] | [INFO] [stdout] 76 ~ } [INFO] [stdout] 77 + /* `Vec` value */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | let synthesizer = Synthesizer::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- argument #1 of type `i32` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/synth/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(playback_freq: i32) -> Self{ [INFO] [stdout] | ^^^ ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 48 | let synthesizer = Synthesizer::new(/* i32 */); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `AudioQueue` in the current scope [INFO] [stdout] --> src/main.rs:132:39 [INFO] [stdout] | [INFO] [stdout] 132 | let lock = device.lock(); [INFO] [stdout] | ^^^^ method not found in `AudioQueue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `AudioQueue` in the current scope [INFO] [stdout] --> src/main.rs:136:43 [INFO] [stdout] | [INFO] [stdout] 136 | let mut lock = device.lock(); [INFO] [stdout] | ^^^^ method not found in `AudioQueue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `AudioQueue` in the current scope [INFO] [stdout] --> src/main.rs:140:43 [INFO] [stdout] | [INFO] [stdout] 140 | let mut lock = device.lock(); [INFO] [stdout] | ^^^^ method not found in `AudioQueue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dyingTime` [INFO] [stdout] --> src/synth/envelop.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let dyingTime = time - endTime; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dyingTime` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-app` (bin "rust-app") due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "de9575d989126aac3d56a058446bd43fe95e9f98fce9a2c8bd5c300d54802dfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de9575d989126aac3d56a058446bd43fe95e9f98fce9a2c8bd5c300d54802dfb", kill_on_drop: false }` [INFO] [stdout] de9575d989126aac3d56a058446bd43fe95e9f98fce9a2c8bd5c300d54802dfb