[INFO] cloning repository https://github.com/nekokuro0xf/workerpool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nekokuro0xf/workerpool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnekokuro0xf%2Fworkerpool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnekokuro0xf%2Fworkerpool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab5f095836f1c52147f6192e65831325f54272c5 [INFO] checking nekokuro0xf/workerpool against try#894d32a5432c6a6461bb2aac7c3d5f2e87dce83f for pr-77015 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnekokuro0xf%2Fworkerpool" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nekokuro0xf/workerpool on toolchain 894d32a5432c6a6461bb2aac7c3d5f2e87dce83f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nekokuro0xf/workerpool [INFO] finished tweaking git repo https://github.com/nekokuro0xf/workerpool [INFO] tweaked toml for git repo https://github.com/nekokuro0xf/workerpool written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/nekokuro0xf/workerpool already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded weedle v0.8.0 [INFO] [stderr] Downloaded backtrace v0.3.17 [INFO] [stderr] Downloaded bumpalo v2.4.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.44 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.44 [INFO] [stderr] Downloaded wasm-bindgen v0.2.44 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.44 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.44 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.44 [INFO] [stderr] Downloaded js-sys v0.3.21 [INFO] [stderr] Downloaded web-sys v0.3.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37dcabe58fc84f8054ad4e3f2a1ff65590d55d6324f1df25a5e1dac7f69952e3 [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" "37dcabe58fc84f8054ad4e3f2a1ff65590d55d6324f1df25a5e1dac7f69952e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37dcabe58fc84f8054ad4e3f2a1ff65590d55d6324f1df25a5e1dac7f69952e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37dcabe58fc84f8054ad4e3f2a1ff65590d55d6324f1df25a5e1dac7f69952e3", kill_on_drop: false }` [INFO] [stdout] 37dcabe58fc84f8054ad4e3f2a1ff65590d55d6324f1df25a5e1dac7f69952e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 472d149fa64eab6e8ac8ed6c48e507406011b70c8ecf32ce44cc746d76811d60 [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" "472d149fa64eab6e8ac8ed6c48e507406011b70c8ecf32ce44cc746d76811d60", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.44 [INFO] [stderr] Compiling bumpalo v2.4.1 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.14 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.44 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.4 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling base-x v0.2.4 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling backtrace v0.3.17 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling stdweb v0.4.17 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.44 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling weedle v0.8.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.44 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.44 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling stdweb-derive v0.5.1 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Checking js-sys v0.3.21 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.7 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.44 [INFO] [stderr] Compiling web-sys v0.3.21 [INFO] [stderr] Checking rust_wasm_workerpool 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 `Try`) [INFO] [stdout] --> src/main.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 15 | / pub fn main() { [INFO] [stdout] 16 | | let message = "Hello, 世界!"; [INFO] [stdout] 17 | | js! { [INFO] [stdout] 18 | | // alert( @{message} ); [INFO] [stdout] ... | [INFO] [stdout] 27 | | let mut worker = Worker::new("./worker.js")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `from_error` [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 `Try`) [INFO] [stdout] --> src/main.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 15 | / pub fn main() { [INFO] [stdout] 16 | | let message = "Hello, 世界!"; [INFO] [stdout] 17 | | js! { [INFO] [stdout] 18 | | // alert( @{message} ); [INFO] [stdout] ... | [INFO] [stdout] 27 | | let mut worker = Worker::new("./worker.js")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_wasm_workerpool` [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 previous error [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" "472d149fa64eab6e8ac8ed6c48e507406011b70c8ecf32ce44cc746d76811d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "472d149fa64eab6e8ac8ed6c48e507406011b70c8ecf32ce44cc746d76811d60", kill_on_drop: false }` [INFO] [stdout] 472d149fa64eab6e8ac8ed6c48e507406011b70c8ecf32ce44cc746d76811d60