[INFO] cloning repository https://github.com/timjrd/wasm-spectrogram [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timjrd/wasm-spectrogram" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimjrd%2Fwasm-spectrogram", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimjrd%2Fwasm-spectrogram'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 846eccbb049b55d725f2435611c5c9facfccf238 [INFO] checking timjrd/wasm-spectrogram against try#4a23c45c7893f1416456144e3883cc48ea91722e for pr-82322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimjrd%2Fwasm-spectrogram" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/timjrd/wasm-spectrogram on toolchain 4a23c45c7893f1416456144e3883cc48ea91722e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/timjrd/wasm-spectrogram [INFO] finished tweaking git repo https://github.com/timjrd/wasm-spectrogram [INFO] tweaked toml for git repo https://github.com/timjrd/wasm-spectrogram written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/timjrd/wasm-spectrogram already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.54 [INFO] [stderr] Downloaded transpose v0.1.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.54 [INFO] [stderr] Downloaded rustfft v3.0.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.54 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.54 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.54 [INFO] [stderr] Downloaded js-sys v0.3.31 [INFO] [stderr] Downloaded syn v1.0.8 [INFO] [stderr] Downloaded num-traits v0.2.9 [INFO] [stderr] Downloaded wasm-bindgen v0.2.54 [INFO] [stderr] Downloaded strength_reduce v0.2.2 [INFO] [stderr] Downloaded anyhow v1.0.19 [INFO] [stderr] Downloaded web-sys v0.3.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+4a23c45c7893f1416456144e3883cc48ea91722e" "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] 96097a1ac09cea4538bbfa2abd2417f5882c1427c5e6a28c72a4ca7d57c9f6ba [INFO] running `Command { std: "docker" "start" "-a" "96097a1ac09cea4538bbfa2abd2417f5882c1427c5e6a28c72a4ca7d57c9f6ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96097a1ac09cea4538bbfa2abd2417f5882c1427c5e6a28c72a4ca7d57c9f6ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96097a1ac09cea4538bbfa2abd2417f5882c1427c5e6a28c72a4ca7d57c9f6ba", kill_on_drop: false }` [INFO] [stdout] 96097a1ac09cea4538bbfa2abd2417f5882c1427c5e6a28c72a4ca7d57c9f6ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+4a23c45c7893f1416456144e3883cc48ea91722e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01ab9f8892c8ecc93a0fd741ed2dd7c3b191a47133dfb49ed73c0eef4ae37322 [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" "01ab9f8892c8ecc93a0fd741ed2dd7c3b191a47133dfb49ed73c0eef4ae37322", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.54 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling bumpalo v2.6.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling anyhow v1.0.19 [INFO] [stderr] Compiling wasm-bindgen v0.2.54 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Checking strength_reduce v0.2.2 [INFO] [stderr] Checking transpose v0.1.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Checking rustfft v3.0.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.54 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.54 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.54 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.54 [INFO] [stderr] Compiling web-sys v0.3.31 [INFO] [stderr] Checking js-sys v0.3.31 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking spectrogram v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 62 | / pub fn start_rendering(args: Renderer) -> Result<(),Error> { [INFO] [stdout] 63 | | let renderer = Rc::new(RefCell::new(None)); [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | let on_frame = { [INFO] [stdout] ... | [INFO] [stdout] 76 | | let canvas: HtmlCanvasElement = window()? [INFO] [stdout] | | ^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 100 | | Ok(()) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 62 | / pub fn start_rendering(args: Renderer) -> Result<(),Error> { [INFO] [stdout] 63 | | let renderer = Rc::new(RefCell::new(None)); [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | let on_frame = { [INFO] [stdout] ... | [INFO] [stdout] 76 | | let canvas: HtmlCanvasElement = window()? [INFO] [stdout] | | ^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 100 | | Ok(()) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 62 | / pub fn start_rendering(args: Renderer) -> Result<(),Error> { [INFO] [stdout] 63 | | let renderer = Rc::new(RefCell::new(None)); [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | let on_frame = { [INFO] [stdout] ... | [INFO] [stdout] 76 | | let canvas: HtmlCanvasElement = window()? [INFO] [stdout] | |___________________________________^ [INFO] [stdout] 77 | || .document()? [INFO] [stdout] | ||________________^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 100 | | Ok(()) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 62 | / pub fn start_rendering(args: Renderer) -> Result<(),Error> { [INFO] [stdout] 63 | | let renderer = Rc::new(RefCell::new(None)); [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | let on_frame = { [INFO] [stdout] ... | [INFO] [stdout] 76 | | let canvas: HtmlCanvasElement = window()? [INFO] [stdout] | |___________________________________^ [INFO] [stdout] 77 | || .document()? [INFO] [stdout] | ||________________^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 100 | | Ok(()) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 62 | / pub fn start_rendering(args: Renderer) -> Result<(),Error> { [INFO] [stdout] 63 | | let renderer = Rc::new(RefCell::new(None)); [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | let on_frame = { [INFO] [stdout] ... | [INFO] [stdout] 76 | | let canvas: HtmlCanvasElement = window()? [INFO] [stdout] | |___________________________________^ [INFO] [stdout] 77 | || .document()? [INFO] [stdout] 78 | || .get_element_by_id(&args.canvas_id)? [INFO] [stdout] | ||________________________________________^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 100 | | Ok(()) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 62 | / pub fn start_rendering(args: Renderer) -> Result<(),Error> { [INFO] [stdout] 63 | | let renderer = Rc::new(RefCell::new(None)); [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | let on_frame = { [INFO] [stdout] ... | [INFO] [stdout] 76 | | let canvas: HtmlCanvasElement = window()? [INFO] [stdout] | |___________________________________^ [INFO] [stdout] 77 | || .document()? [INFO] [stdout] 78 | || .get_element_by_id(&args.canvas_id)? [INFO] [stdout] | ||________________________________________^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 100 | | Ok(()) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 62 | / pub fn start_rendering(args: Renderer) -> Result<(),Error> { [INFO] [stdout] 63 | | let renderer = Rc::new(RefCell::new(None)); [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | let on_frame = { [INFO] [stdout] ... | [INFO] [stdout] 81 | | let context: CanvasRenderingContext2d = canvas [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] 82 | || .get_context("2d")?? [INFO] [stdout] | ||________________________^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 100 | | Ok(()) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 62 | / pub fn start_rendering(args: Renderer) -> Result<(),Error> { [INFO] [stdout] 63 | | let renderer = Rc::new(RefCell::new(None)); [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | let on_frame = { [INFO] [stdout] ... | [INFO] [stdout] 89 | | window()?.request_animation_frame( [INFO] [stdout] | | ^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 100 | | Ok(()) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 62 | / pub fn start_rendering(args: Renderer) -> Result<(),Error> { [INFO] [stdout] 63 | | let renderer = Rc::new(RefCell::new(None)); [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | let on_frame = { [INFO] [stdout] ... | [INFO] [stdout] 90 | | on_frame.as_ref().dyn_ref()? [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 100 | | Ok(()) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:106:6 [INFO] [stdout] | [INFO] [stdout] 103 | / fn on_frame(renderer: &mut Renderer_) -> Result<(),Error> { [INFO] [stdout] 104 | | [INFO] [stdout] 105 | | let (width,height) = resize( [INFO] [stdout] 106 | | &renderer.context.canvas()?, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 129 | | Ok(()) [INFO] [stdout] 130 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 62 | / pub fn start_rendering(args: Renderer) -> Result<(),Error> { [INFO] [stdout] 63 | | let renderer = Rc::new(RefCell::new(None)); [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | let on_frame = { [INFO] [stdout] ... | [INFO] [stdout] 81 | | let context: CanvasRenderingContext2d = canvas [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] 82 | || .get_context("2d")?? [INFO] [stdout] | ||________________________^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 100 | | Ok(()) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 62 | / pub fn start_rendering(args: Renderer) -> Result<(),Error> { [INFO] [stdout] 63 | | let renderer = Rc::new(RefCell::new(None)); [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | let on_frame = { [INFO] [stdout] ... | [INFO] [stdout] 89 | | window()?.request_animation_frame( [INFO] [stdout] | | ^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 100 | | Ok(()) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 62 | / pub fn start_rendering(args: Renderer) -> Result<(),Error> { [INFO] [stdout] 63 | | let renderer = Rc::new(RefCell::new(None)); [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | let on_frame = { [INFO] [stdout] ... | [INFO] [stdout] 90 | | on_frame.as_ref().dyn_ref()? [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 100 | | Ok(()) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:120:6 [INFO] [stdout] | [INFO] [stdout] 103 | / fn on_frame(renderer: &mut Renderer_) -> Result<(),Error> { [INFO] [stdout] 104 | | [INFO] [stdout] 105 | | let (width,height) = resize( [INFO] [stdout] 106 | | &renderer.context.canvas()?, [INFO] [stdout] ... | [INFO] [stdout] 120 | | &renderer.context.canvas()?, 0.0, -1.0 [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 129 | | Ok(()) [INFO] [stdout] 130 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 103 | / fn on_frame(renderer: &mut Renderer_) -> Result<(),Error> { [INFO] [stdout] 104 | | [INFO] [stdout] 105 | | let (width,height) = resize( [INFO] [stdout] 106 | | &renderer.context.canvas()?, [INFO] [stdout] ... | [INFO] [stdout] 125 | | window()?.request_animation_frame( [INFO] [stdout] | | ^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 129 | | Ok(()) [INFO] [stdout] 130 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:106:6 [INFO] [stdout] | [INFO] [stdout] 103 | / fn on_frame(renderer: &mut Renderer_) -> Result<(),Error> { [INFO] [stdout] 104 | | [INFO] [stdout] 105 | | let (width,height) = resize( [INFO] [stdout] 106 | | &renderer.context.canvas()?, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 129 | | Ok(()) [INFO] [stdout] 130 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:120:6 [INFO] [stdout] | [INFO] [stdout] 103 | / fn on_frame(renderer: &mut Renderer_) -> Result<(),Error> { [INFO] [stdout] 104 | | [INFO] [stdout] 105 | | let (width,height) = resize( [INFO] [stdout] 106 | | &renderer.context.canvas()?, [INFO] [stdout] ... | [INFO] [stdout] 120 | | &renderer.context.canvas()?, 0.0, -1.0 [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 129 | | Ok(()) [INFO] [stdout] 130 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 103 | / fn on_frame(renderer: &mut Renderer_) -> Result<(),Error> { [INFO] [stdout] 104 | | [INFO] [stdout] 105 | | let (width,height) = resize( [INFO] [stdout] 106 | | &renderer.context.canvas()?, [INFO] [stdout] ... | [INFO] [stdout] 125 | | window()?.request_animation_frame( [INFO] [stdout] | | ^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 129 | | Ok(()) [INFO] [stdout] 130 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 103 | / fn on_frame(renderer: &mut Renderer_) -> Result<(),Error> { [INFO] [stdout] 104 | | [INFO] [stdout] 105 | | let (width,height) = resize( [INFO] [stdout] 106 | | &renderer.context.canvas()?, [INFO] [stdout] ... | [INFO] [stdout] 126 | | renderer.on_frame.as_ref().dyn_ref()? [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 129 | | Ok(()) [INFO] [stdout] 130 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/canvas.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 103 | / fn on_frame(renderer: &mut Renderer_) -> Result<(),Error> { [INFO] [stdout] 104 | | [INFO] [stdout] 105 | | let (width,height) = resize( [INFO] [stdout] 106 | | &renderer.context.canvas()?, [INFO] [stdout] ... | [INFO] [stdout] 126 | | renderer.on_frame.as_ref().dyn_ref()? [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 129 | | Ok(()) [INFO] [stdout] 130 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/audio.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 64 | / pub fn start_processing(args: Processor) -> Result<(),Error> { [INFO] [stdout] 65 | | let processor = Rc::new(RefCell::new(None)); [INFO] [stdout] 66 | | [INFO] [stdout] 67 | | let on_source = { [INFO] [stdout] ... | [INFO] [stdout] 101 | | proc_node.set_onaudioprocess(Some(on_proc.as_ref().dyn_ref()?)); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(()) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/audio.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 64 | / pub fn start_processing(args: Processor) -> Result<(),Error> { [INFO] [stdout] 65 | | let processor = Rc::new(RefCell::new(None)); [INFO] [stdout] 66 | | [INFO] [stdout] 67 | | let on_source = { [INFO] [stdout] ... | [INFO] [stdout] 101 | | proc_node.set_onaudioprocess(Some(on_proc.as_ref().dyn_ref()?)); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(()) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/audio.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 64 | / pub fn start_processing(args: Processor) -> Result<(),Error> { [INFO] [stdout] 65 | | let processor = Rc::new(RefCell::new(None)); [INFO] [stdout] 66 | | [INFO] [stdout] 67 | | let on_source = { [INFO] [stdout] ... | [INFO] [stdout] 104 | | window()? [INFO] [stdout] | | ^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(()) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/audio.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 64 | / pub fn start_processing(args: Processor) -> Result<(),Error> { [INFO] [stdout] 65 | | let processor = Rc::new(RefCell::new(None)); [INFO] [stdout] 66 | | [INFO] [stdout] 67 | | let on_source = { [INFO] [stdout] ... | [INFO] [stdout] 104 | | window()? [INFO] [stdout] | | ^^^^^^^^^ cannot use the `?` operator in a function that returns `Result<(), error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(()) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spectrogram` [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: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "01ab9f8892c8ecc93a0fd741ed2dd7c3b191a47133dfb49ed73c0eef4ae37322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01ab9f8892c8ecc93a0fd741ed2dd7c3b191a47133dfb49ed73c0eef4ae37322", kill_on_drop: false }` [INFO] [stdout] 01ab9f8892c8ecc93a0fd741ed2dd7c3b191a47133dfb49ed73c0eef4ae37322