[INFO] cloning repository https://github.com/jfrikker/arbiter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jfrikker/arbiter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfrikker%2Farbiter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfrikker%2Farbiter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8fbe0b7dfe90154994c1ce1e4eaaf33cc50b42c [INFO] checking jfrikker/arbiter against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfrikker%2Farbiter" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jfrikker/arbiter 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/jfrikker/arbiter [INFO] finished tweaking git repo https://github.com/jfrikker/arbiter [INFO] tweaked toml for git repo https://github.com/jfrikker/arbiter written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/jfrikker/arbiter 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] Downloading crates ... [INFO] [stderr] Downloaded prost-types v0.5.0 [INFO] [stderr] Downloaded prost-derive v0.5.0 [INFO] [stderr] Downloaded multimap v0.4.0 [INFO] [stderr] Downloaded prost v0.5.0 [INFO] [stderr] Downloaded prost-build v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bc15351e868fd1939375d53528814cfaac768e68a8849b330b0c6dc14c162f2e [INFO] running `Command { std: "docker" "start" "-a" "bc15351e868fd1939375d53528814cfaac768e68a8849b330b0c6dc14c162f2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc15351e868fd1939375d53528814cfaac768e68a8849b330b0c6dc14c162f2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc15351e868fd1939375d53528814cfaac768e68a8849b330b0c6dc14c162f2e", kill_on_drop: false }` [INFO] [stdout] bc15351e868fd1939375d53528814cfaac768e68a8849b330b0c6dc14c162f2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] b6e60170e3def67c5972c92eabf95db8a0a4e9b77245e91e60d01d073428cda5 [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" "b6e60170e3def67c5972c92eabf95db8a0a4e9b77245e91e60d01d073428cda5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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] log v0.4.6 (as host dependency): std [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling multimap v0.4.0 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking tokio-sync v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking tokio-trace-core v0.1.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking tokio-executor v0.1.7 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking tokio-timer v0.2.10 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-threadpool v0.1.13 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Compiling tempfile v3.0.7 [INFO] [stderr] Checking stderrlog v0.4.1 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Compiling prost-build v0.5.0 [INFO] [stderr] Checking tokio v0.1.18 [INFO] [stderr] Compiling prost-derive v0.5.0 [INFO] [stderr] Compiling prost v0.5.0 [INFO] [stderr] Compiling prost-types v0.5.0 [INFO] [stderr] Compiling arbiter v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (9 fixes) [INFO] [stdout] error[E0601]: `main` function not found in crate `arbiter` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / mod arbiter; [INFO] [stdout] 2 | | mod arbiter_fut; [INFO] [stdout] 3 | | mod messages; [INFO] [stdout] | |_____________^ consider adding a `main` function to `src/main.rs` [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 E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `arbiter` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function is never used: `get_state` [INFO] [stdout] --> src/arbiter.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_state(&self, id: &TID) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transaction_progress_many` [INFO] [stdout] --> src/arbiter.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn transaction_progress_many(&mut self, id: &TID, read: R, written: W) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_transaction` [INFO] [stdout] --> src/arbiter.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | fn with_transaction(&self, id: &TID, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transaction_progress_many` [INFO] [stdout] --> src/arbiter.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn transaction_progress_many (&mut self, read: R, written: W) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commit_completed` [INFO] [stdout] --> src/arbiter.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | fn commit_completed(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_can_commit` [INFO] [stdout] --> src/arbiter.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn get_can_commit(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_failed` [INFO] [stdout] --> src/arbiter.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn get_failed(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ArbiterFut` [INFO] [stdout] --> src/arbiter_fut.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ArbiterFut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/arbiter_fut.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_transaction` [INFO] [stdout] --> src/arbiter_fut.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn start_transaction(&mut self, id: TID) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transaction_progress_many` [INFO] [stdout] --> src/arbiter_fut.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn transaction_progress_many(&mut self, id: &TID, read: R, written: W) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_commit` [INFO] [stdout] --> src/arbiter_fut.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn start_commit(&mut self, id: &TID) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commit_completed` [INFO] [stdout] --> src/arbiter_fut.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn commit_completed(&mut self, id: &TID) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_update` [INFO] [stdout] --> src/arbiter_fut.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn handle_update(&mut self, update: &TransactionUpdate) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_cancelled` [INFO] [stdout] --> src/arbiter_fut.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn check_cancelled(&self, id: &TID) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CanCommit` [INFO] [stdout] --> src/arbiter_fut.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | CanCommit, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MustRetry` [INFO] [stdout] --> src/arbiter_fut.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | MustRetry [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [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" "b6e60170e3def67c5972c92eabf95db8a0a4e9b77245e91e60d01d073428cda5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e60170e3def67c5972c92eabf95db8a0a4e9b77245e91e60d01d073428cda5", kill_on_drop: false }` [INFO] [stdout] b6e60170e3def67c5972c92eabf95db8a0a4e9b77245e91e60d01d073428cda5