[INFO] cloning repository https://github.com/KenanSulayman/blyat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KenanSulayman/blyat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKenanSulayman%2Fblyat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKenanSulayman%2Fblyat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97d6410e973d65fe6a8be1b5bf1d4cbdeb604f42 [INFO] testing KenanSulayman/blyat against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKenanSulayman%2Fblyat" "/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/KenanSulayman/blyat on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KenanSulayman/blyat [INFO] finished tweaking git repo https://github.com/KenanSulayman/blyat [INFO] tweaked toml for git repo https://github.com/KenanSulayman/blyat written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/KenanSulayman/blyat already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fe84af1a20ab06ebac6b4004e934e71f69149abaaf51b7c68a34ce299a50653 [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" "1fe84af1a20ab06ebac6b4004e934e71f69149abaaf51b7c68a34ce299a50653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fe84af1a20ab06ebac6b4004e934e71f69149abaaf51b7c68a34ce299a50653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fe84af1a20ab06ebac6b4004e934e71f69149abaaf51b7c68a34ce299a50653", kill_on_drop: false }` [INFO] [stdout] 1fe84af1a20ab06ebac6b4004e934e71f69149abaaf51b7c68a34ce299a50653 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33add0bb4c8d34a9fceca6dd52727766ee0dfaea3e3d917c6fcd7aadb50f378a [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" "33add0bb4c8d34a9fceca6dd52727766ee0dfaea3e3d917c6fcd7aadb50f378a", kill_on_drop: false }` [INFO] [stderr] Compiling blyat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RefCell`, `time::Duration` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | RefCell [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/main.rs:87:41 [INFO] [stdout] | [INFO] [stdout] 77 | / pub fn load_url(&mut self, url: &'static str) -> Result<(), NoneError> { [INFO] [stdout] 78 | | unsafe { [INFO] [stdout] 79 | | let url_str = std::ffi::CString::new( [INFO] [stdout] 80 | | url [INFO] [stdout] ... | [INFO] [stdout] 87 | | ffi::ulViewLoadURL(self.view?, url); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 90 | | Ok(()) [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/main.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 93 | / pub fn load_html(&mut self, code: &'static str) -> Result<(), NoneError> { [INFO] [stdout] 94 | | unsafe { [INFO] [stdout] 95 | | let code_str = std::ffi::CString::new( [INFO] [stdout] 96 | | code [INFO] [stdout] ... | [INFO] [stdout] 103 | | ffi::ulViewLoadHTML(self.view?, code); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 106 | | Ok(()) [INFO] [stdout] 107 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/main.rs:117:49 [INFO] [stdout] | [INFO] [stdout] 115 | / pub fn update_until_loaded(&mut self) -> Result<(), NoneError> { [INFO] [stdout] 116 | | unsafe { [INFO] [stdout] 117 | | while ffi::ulViewIsLoading(self.view?) { [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), NoneError>` [INFO] [stdout] 118 | | ffi::ulUpdate(self.renderer); [INFO] [stdout] ... | [INFO] [stdout] 122 | | Ok(()) [INFO] [stdout] 123 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/main.rs:139:49 [INFO] [stdout] | [INFO] [stdout] 131 | / pub fn scroll(&mut self, delta_x: i32, delta_y: i32) -> Result<(), NoneError> { [INFO] [stdout] 132 | | unsafe { [INFO] [stdout] 133 | | let scrollEvent = ffi::ulCreateScrollEvent( [INFO] [stdout] 134 | | ffi::ULScrollEventType_kScrollEventType_ScrollByPixel, [INFO] [stdout] ... | [INFO] [stdout] 139 | | ffi::ulViewFireScrollEvent(self.view?, scrollEvent); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 144 | | } [INFO] [stdout] 145 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/main.rs:149:70 [INFO] [stdout] | [INFO] [stdout] 147 | / pub fn get_scroll_height(&mut self) -> Result { [INFO] [stdout] 148 | | unsafe { [INFO] [stdout] 149 | | let (jsgctx, _) = helpers::getJSContextFromView(self.view?); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] 150 | | [INFO] [stdout] ... | [INFO] [stdout] 156 | | } [INFO] [stdout] 157 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/main.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 159 | / pub fn set_finish_loading_callback(&mut self, mut cb: T) -> Result<(), NoneError> [INFO] [stdout] 160 | | where T: FnMut(View) [INFO] [stdout] 161 | | { [INFO] [stdout] 162 | | let view = self.view?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 177 | | Ok(()) [INFO] [stdout] 178 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/main.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 180 | / pub fn set_dom_ready_callback(&mut self, mut cb: T) -> Result<(), NoneError> [INFO] [stdout] 181 | | where T: FnMut(View) [INFO] [stdout] 182 | | { [INFO] [stdout] 183 | | let view = self.view?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 198 | | Ok(()) [INFO] [stdout] 199 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/main.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 201 | / pub fn create_function( [INFO] [stdout] 202 | | &mut self, [INFO] [stdout] 203 | | name: &'static str, [INFO] [stdout] 204 | | hook: &mut T [INFO] [stdout] ... | [INFO] [stdout] 217 | | self.view?, [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<*mut OpaqueJSValue, NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 221 | | ) [INFO] [stdout] 222 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<*mut OpaqueJSValue, NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/main.rs:230:22 [INFO] [stdout] | [INFO] [stdout] 224 | / pub fn set_js_object_property( [INFO] [stdout] 225 | | &mut self, [INFO] [stdout] 226 | | name: &'static str, [INFO] [stdout] 227 | | object: ffi::JSObjectRef [INFO] [stdout] ... | [INFO] [stdout] 230 | | self.view?, [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 235 | | Ok(()) [INFO] [stdout] 236 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/main.rs:242:37 [INFO] [stdout] | [INFO] [stdout] 238 | / pub fn evaluate_script( [INFO] [stdout] 239 | | &mut self, [INFO] [stdout] 240 | | script: &'static str, [INFO] [stdout] 241 | | ) -> Result { [INFO] [stdout] 242 | | Ok(evaluate_script(self.view?, script)) [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<*const OpaqueJSValue, NoneError>` [INFO] [stdout] 243 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<*const OpaqueJSValue, NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/main.rs:247:61 [INFO] [stdout] | [INFO] [stdout] 245 | / pub fn get_raw_pixels(&mut self) -> Result, NoneError> { [INFO] [stdout] 246 | | unsafe { [INFO] [stdout] 247 | | let bitmap_obj = ffi::ulViewGetBitmap( self.view? ); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, NoneError>` [INFO] [stdout] 248 | | [INFO] [stdout] ... | [INFO] [stdout] 260 | | } [INFO] [stdout] 261 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/main.rs:268:61 [INFO] [stdout] | [INFO] [stdout] 263 | / pub fn write_png_to_file( [INFO] [stdout] 264 | | &mut self, [INFO] [stdout] 265 | | file_name: &'static str, [INFO] [stdout] 266 | | ) -> Result { [INFO] [stdout] 267 | | unsafe { [INFO] [stdout] 268 | | let bitmap_obj = ffi::ulViewGetBitmap( self.view? ); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 286 | | } [INFO] [stdout] 287 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/main.rs:301:26 [INFO] [stdout] | [INFO] [stdout] 298 | / pub fn log_to_stdout(&mut self) -> Result<(), NoneError> { [INFO] [stdout] 299 | | unsafe { [INFO] [stdout] 300 | | ffi::ulViewSetAddConsoleMessageCallback( [INFO] [stdout] 301 | | self.view?, [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), NoneError>` [INFO] [stdout] ... | [INFO] [stdout] 307 | | Ok(()) [INFO] [stdout] 308 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), NoneError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blyat` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "33add0bb4c8d34a9fceca6dd52727766ee0dfaea3e3d917c6fcd7aadb50f378a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33add0bb4c8d34a9fceca6dd52727766ee0dfaea3e3d917c6fcd7aadb50f378a", kill_on_drop: false }` [INFO] [stdout] 33add0bb4c8d34a9fceca6dd52727766ee0dfaea3e3d917c6fcd7aadb50f378a