[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f7dc195a9b8bf7b5fb650ecb2ed985243a4cf6d [INFO] checking snoyberg/pid1-rust-poc against master#e1beee4992ad4b235fc700bf7af1ee86f894ea53 for pr-74130 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnoyberg%2Fpid1-rust-poc" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/snoyberg/pid1-rust-poc on toolchain e1beee4992ad4b235fc700bf7af1ee86f894ea53 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "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-10/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" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-10/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" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbbd3404a6c79ddf101e418937b9d52eee53692afd2700306df50a81fe79c0e4 [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" "bbbd3404a6c79ddf101e418937b9d52eee53692afd2700306df50a81fe79c0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbbd3404a6c79ddf101e418937b9d52eee53692afd2700306df50a81fe79c0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbbd3404a6c79ddf101e418937b9d52eee53692afd2700306df50a81fe79c0e4", kill_on_drop: false }` [INFO] [stdout] bbbd3404a6c79ddf101e418937b9d52eee53692afd2700306df50a81fe79c0e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7520e8cea9cc8698049f9c402313b1327a25c8e9d73640e07f6da2a486654306 [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" "7520e8cea9cc8698049f9c402313b1327a25c8e9d73640e07f6da2a486654306", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.64 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.64 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking parking v1.0.4 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking waker-fn v1.0.0 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking async-task v3.0.0 [INFO] [stderr] Checking send_wrapper v0.4.0 [INFO] [stderr] Checking fastrand v1.3.3 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking concurrent-queue v1.1.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [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] Compiling wasm-bindgen-backend v0.2.64 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.64 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.64 [INFO] [stderr] Checking js-sys v0.3.41 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking web-sys v0.3.41 [INFO] [stderr] Checking blocking v0.4.6 [INFO] [stderr] Checking smol v0.1.18 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking async-std v1.6.2 [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::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::RecvError>` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pid1`. [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] [stderr] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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::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::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: build failed [INFO] running `Command { std: "docker" "inspect" "7520e8cea9cc8698049f9c402313b1327a25c8e9d73640e07f6da2a486654306", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7520e8cea9cc8698049f9c402313b1327a25c8e9d73640e07f6da2a486654306", kill_on_drop: false }` [INFO] [stdout] 7520e8cea9cc8698049f9c402313b1327a25c8e9d73640e07f6da2a486654306