[INFO] cloning repository https://github.com/zenhack/sandstorm-webpub-sysgrain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zenhack/sandstorm-webpub-sysgrain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzenhack%2Fsandstorm-webpub-sysgrain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzenhack%2Fsandstorm-webpub-sysgrain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a34681641dfc1b9792abe121ea61c11fc9780bac [INFO] checking zenhack/sandstorm-webpub-sysgrain against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzenhack%2Fsandstorm-webpub-sysgrain" "/workspace/builds/worker-94/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-94/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zenhack/sandstorm-webpub-sysgrain on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zenhack/sandstorm-webpub-sysgrain [INFO] finished tweaking git repo https://github.com/zenhack/sandstorm-webpub-sysgrain [INFO] tweaked toml for git repo https://github.com/zenhack/sandstorm-webpub-sysgrain written to /workspace/builds/worker-94/source/Cargo.toml [INFO] crate git repo https://github.com/zenhack/sandstorm-webpub-sysgrain already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/dwrensha/futures-tokio-compat` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded capnp-futures v0.12.0 [INFO] [stderr] Downloaded capnpc v0.12.3 [INFO] [stderr] Downloaded capnp-rpc v0.12.2 [INFO] [stderr] Downloaded lmdb v0.8.0 [INFO] [stderr] Downloaded capnp v0.12.2 [INFO] [stderr] Downloaded sandstorm v0.0.13 [INFO] [stderr] Downloaded lmdb-sys v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e21c2538910a4da7d2e4e1c5fd8a202c83437c424f627fb02574b30789f74110 [INFO] running `Command { std: "docker" "start" "-a" "e21c2538910a4da7d2e4e1c5fd8a202c83437c424f627fb02574b30789f74110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e21c2538910a4da7d2e4e1c5fd8a202c83437c424f627fb02574b30789f74110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e21c2538910a4da7d2e4e1c5fd8a202c83437c424f627fb02574b30789f74110", kill_on_drop: false }` [INFO] [stdout] e21c2538910a4da7d2e4e1c5fd8a202c83437c424f627fb02574b30789f74110 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fa2eeb038af9d84eb7764be4c9572ef8bc830df4ceb80791650a5958bb6a5bc [INFO] running `Command { std: "docker" "start" "-a" "5fa2eeb038af9d84eb7764be4c9572ef8bc830df4ceb80791650a5958bb6a5bc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] askama_shared v0.9.1: default [INFO] [stderr] memchr v2.3.3: use_std [INFO] [stderr] memchr v2.3.3 (as host dependency): default [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling capnp v0.12.2 [INFO] [stderr] Compiling askama_escape v0.3.0 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling capnpc v0.12.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling lmdb-sys v0.8.0 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Compiling sandstorm v0.0.13 [INFO] [stderr] Checking lmdb v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-tokio-compat v0.1.0 (https://github.com/dwrensha/futures-tokio-compat?branch=tokio-0.2#8007dfe2) [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking capnp-futures v0.12.0 [INFO] [stderr] Checking capnp-rpc v0.12.2 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking askama_shared v0.9.1 [INFO] [stderr] Compiling askama_derive v0.9.0 [INFO] [stderr] Checking askama v0.9.0 [INFO] [stderr] Checking webpub v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect `Clone` trait implementation for closure [INFO] [stdout] --> src/main.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | local.block_on(&mut rt, async { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 28 | | let stream: ::std::os::unix::net::UnixStream = unsafe { FromRawFd::from_raw_fd(3) }; [INFO] [stdout] 29 | | let stream = tokio::net::UnixStream::from_std(stream)?; [INFO] [stdout] 30 | | let (read_half, write_half) = futures_tokio_compat::Compat::new(stream).split(); [INFO] [stdout] ... | [INFO] [stdout] 43 | | let mut rpc_system = RpcSystem::new(network, Some(uiview.client)); [INFO] [stdout] | | ------------- in Rust 2018, this closure captures all of `uiview`, but in Rust 2021, it will only capture `uiview.client` [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok::<_, Box>(rpc_system.await.unwrap()) [INFO] [stdout] 49 | | }).unwrap(); [INFO] [stdout] | |_____^ in Rust 2018, this closure implements `Clone` as `uiview` implements `Clone`, but in Rust 2021, this closure will no longer implement `Clone` as `uiview.client` does not implement `Clone` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `uiview` to be fully captured [INFO] [stdout] | [INFO] [stdout] 27 ~ local.block_on(&mut rt, async { [INFO] [stdout] 28 + let _ = &uiview; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `init_token` found for struct `Request` in the current scope [INFO] [stdout] --> src/main.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | let mut token_buf = req.init_token(restore.len()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Request, sandstorm::grain_capnp::sandstorm_api::restore_results::Owned>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | upload_dir(dir, hex::decode(restore).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[u8]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&hex::decode(restore).unwrap()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webpub` due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect `Clone` trait implementation for closure [INFO] [stdout] --> src/main.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | local.block_on(&mut rt, async { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 28 | | let stream: ::std::os::unix::net::UnixStream = unsafe { FromRawFd::from_raw_fd(3) }; [INFO] [stdout] 29 | | let stream = tokio::net::UnixStream::from_std(stream)?; [INFO] [stdout] 30 | | let (read_half, write_half) = futures_tokio_compat::Compat::new(stream).split(); [INFO] [stdout] ... | [INFO] [stdout] 43 | | let mut rpc_system = RpcSystem::new(network, Some(uiview.client)); [INFO] [stdout] | | ------------- in Rust 2018, this closure captures all of `uiview`, but in Rust 2021, it will only capture `uiview.client` [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok::<_, Box>(rpc_system.await.unwrap()) [INFO] [stdout] 49 | | }).unwrap(); [INFO] [stdout] | |_____^ in Rust 2018, this closure implements `Clone` as `uiview` implements `Clone`, but in Rust 2021, this closure will no longer implement `Clone` as `uiview.client` does not implement `Clone` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `uiview` to be fully captured [INFO] [stdout] | [INFO] [stdout] 27 ~ local.block_on(&mut rt, async { [INFO] [stdout] 28 + let _ = &uiview; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `init_token` found for struct `Request` in the current scope [INFO] [stdout] --> src/main.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | let mut token_buf = req.init_token(restore.len()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Request, sandstorm::grain_capnp::sandstorm_api::restore_results::Owned>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | upload_dir(dir, hex::decode(restore).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[u8]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&hex::decode(restore).unwrap()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5fa2eeb038af9d84eb7764be4c9572ef8bc830df4ceb80791650a5958bb6a5bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fa2eeb038af9d84eb7764be4c9572ef8bc830df4ceb80791650a5958bb6a5bc", kill_on_drop: false }` [INFO] [stdout] 5fa2eeb038af9d84eb7764be4c9572ef8bc830df4ceb80791650a5958bb6a5bc