[INFO] cloning repository https://github.com/snoyberg/pid1-rust-poc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/snoyberg/pid1-rust-poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnoyberg%2Fpid1-rust-poc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnoyberg%2Fpid1-rust-poc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f7dc195a9b8bf7b5fb650ecb2ed985243a4cf6d [INFO] checking snoyberg/pid1-rust-poc against master#4fb54ed484e2239a3e9eff3be17df00d2a162be3 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnoyberg%2Fpid1-rust-poc" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/snoyberg/pid1-rust-poc on toolchain 4fb54ed484e2239a3e9eff3be17df00d2a162be3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/snoyberg/pid1-rust-poc [INFO] finished tweaking git repo https://github.com/snoyberg/pid1-rust-poc [INFO] tweaked toml for git repo https://github.com/snoyberg/pid1-rust-poc written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/snoyberg/pid1-rust-poc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 475cd14f688dcb215ecdbdebf2e84120066e4323a66953bc98a4a10ed6629d11 [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" "475cd14f688dcb215ecdbdebf2e84120066e4323a66953bc98a4a10ed6629d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "475cd14f688dcb215ecdbdebf2e84120066e4323a66953bc98a4a10ed6629d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "475cd14f688dcb215ecdbdebf2e84120066e4323a66953bc98a4a10ed6629d11", kill_on_drop: false }` [INFO] [stdout] 475cd14f688dcb215ecdbdebf2e84120066e4323a66953bc98a4a10ed6629d11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bafdea45755d1b6d16578ae86c5ddd17c41c6710d9666cf03dc35a35d49e0b11 [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" "bafdea45755d1b6d16578ae86c5ddd17c41c6710d9666cf03dc35a35d49e0b11", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.63 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling wasm-bindgen v0.2.63 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking scoped-tls-hkt v0.1.2 [INFO] [stderr] Checking send_wrapper v0.4.0 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking async-task v3.0.0 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking kv-log-macro v1.0.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.63 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.63 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.63 [INFO] [stderr] Checking js-sys v0.3.40 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking web-sys v0.3.40 [INFO] [stderr] Checking piper v0.1.3 [INFO] [stderr] Checking smol v0.1.12 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking async-std v1.6.1 [INFO] [stderr] Checking pid1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | while let Some(()) = self.receiver.recv().await { [INFO] [stdout] | ^^^^^^^^ -------------------------- this expression has type `std::result::Result<(), async_std::sync::channel::RecvError>` [INFO] [stdout] | | [INFO] [stdout] | expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), async_std::sync::channel::RecvError>` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::prelude` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pid1`. [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | while let Some(()) = self.receiver.recv().await { [INFO] [stdout] | ^^^^^^^^ -------------------------- this expression has type `std::result::Result<(), async_std::sync::channel::RecvError>` [INFO] [stdout] | | [INFO] [stdout] | expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), async_std::sync::channel::RecvError>` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [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] warning: unused import: `async_std::prelude` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bafdea45755d1b6d16578ae86c5ddd17c41c6710d9666cf03dc35a35d49e0b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bafdea45755d1b6d16578ae86c5ddd17c41c6710d9666cf03dc35a35d49e0b11", kill_on_drop: false }` [INFO] [stdout] bafdea45755d1b6d16578ae86c5ddd17c41c6710d9666cf03dc35a35d49e0b11