[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] checking kpensec/rust_wasm_sdl_testing against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpensec%2Frust_wasm_sdl_testing" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kpensec/rust_wasm_sdl_testing on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5/source/Cargo.toml [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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 322b4df23d872116486f0e9891c15705508cac3313c3eb86c536b85772f2fdeb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "322b4df23d872116486f0e9891c15705508cac3313c3eb86c536b85772f2fdeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "322b4df23d872116486f0e9891c15705508cac3313c3eb86c536b85772f2fdeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "322b4df23d872116486f0e9891c15705508cac3313c3eb86c536b85772f2fdeb", kill_on_drop: false }` [INFO] [stdout] 322b4df23d872116486f0e9891c15705508cac3313c3eb86c536b85772f2fdeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3cb9436cf862b47c5c0aab70fc9d33a38616fe3bf0f3c446f1f4772911c52a3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f3cb9436cf862b47c5c0aab70fc9d33a38616fe3bf0f3c446f1f4772911c52a3", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking libc v0.2.41 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling rust-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num-integer v0.1.38 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.31.0 [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] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [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] [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] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [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] [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: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: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] 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] 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: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 60 | Synthesizer::blend_sample(result, key.update(self.volume, self.step)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 60 | self.get_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[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: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 60 | Synthesizer::blend_sample(result, key.update(self.volume, self.step)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 60 | self.get_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 struct `Vec` [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________- expected this 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:68:13 [INFO] [stdout] | [INFO] [stdout] 67 | / if ! self.active { [INFO] [stdout] 68 | | result [INFO] [stdout] | | ^^^^^^ expected `()`, found struct `Vec` [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________- expected this 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 struct `Vec`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [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] [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 struct `Vec`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f3cb9436cf862b47c5c0aab70fc9d33a38616fe3bf0f3c446f1f4772911c52a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3cb9436cf862b47c5c0aab70fc9d33a38616fe3bf0f3c446f1f4772911c52a3", kill_on_drop: false }` [INFO] [stdout] f3cb9436cf862b47c5c0aab70fc9d33a38616fe3bf0f3c446f1f4772911c52a3