[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#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpensec%2Frust_wasm_sdl_testing" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kpensec/rust_wasm_sdl_testing on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-13/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0aad357e53fe9da7f24e200889900bba4ada2324d6e28515c8a034f4cf3d716e [INFO] running `Command { std: "docker" "start" "-a" "0aad357e53fe9da7f24e200889900bba4ada2324d6e28515c8a034f4cf3d716e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0aad357e53fe9da7f24e200889900bba4ada2324d6e28515c8a034f4cf3d716e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aad357e53fe9da7f24e200889900bba4ada2324d6e28515c8a034f4cf3d716e", kill_on_drop: false }` [INFO] [stdout] 0aad357e53fe9da7f24e200889900bba4ada2324d6e28515c8a034f4cf3d716e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2418437a9f2a86a325cc8bd496de8d17cd2f00159a6a1951a0a75e488ffd0af7 [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" "2418437a9f2a86a325cc8bd496de8d17cd2f00159a6a1951a0a75e488ffd0af7", kill_on_drop: false }` [INFO] [stderr] Compiling rust-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rand v0.3.22 [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] ::: src/synth/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(playback_freq: i32) -> Self{ [INFO] [stdout] | -------------------------------------- defined here [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] ::: src/synth/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(playback_freq: i32) -> Self{ [INFO] [stdout] | -------------------------------------- defined here [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] 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 `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] 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] | | -- help: consider using a semicolon here [INFO] [stdout] | |_________| [INFO] [stdout] | expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Vec<_>` [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[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] | | -- help: consider using a semicolon here [INFO] [stdout] | |_________| [INFO] [stdout] | expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Vec<_>` [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: 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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "2418437a9f2a86a325cc8bd496de8d17cd2f00159a6a1951a0a75e488ffd0af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2418437a9f2a86a325cc8bd496de8d17cd2f00159a6a1951a0a75e488ffd0af7", kill_on_drop: false }` [INFO] [stdout] 2418437a9f2a86a325cc8bd496de8d17cd2f00159a6a1951a0a75e488ffd0af7