[INFO] cloning repository https://github.com/erikjohnston/synapse-find-unreferenced-state-groups [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erikjohnston/synapse-find-unreferenced-state-groups" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Fsynapse-find-unreferenced-state-groups", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Fsynapse-find-unreferenced-state-groups'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82817e4357fb44dda2d76087157c9b8a96781882 [INFO] checking erikjohnston/synapse-find-unreferenced-state-groups against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Fsynapse-find-unreferenced-state-groups" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erikjohnston/synapse-find-unreferenced-state-groups on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erikjohnston/synapse-find-unreferenced-state-groups [INFO] finished tweaking git repo https://github.com/erikjohnston/synapse-find-unreferenced-state-groups [INFO] tweaked toml for git repo https://github.com/erikjohnston/synapse-find-unreferenced-state-groups written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/erikjohnston/synapse-find-unreferenced-state-groups already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d645a77ec825d9bdff0e060d92aa8a7ddf2a871bd1d8a9ac3d3a73f7b719396 [INFO] running `Command { std: "docker" "start" "-a" "4d645a77ec825d9bdff0e060d92aa8a7ddf2a871bd1d8a9ac3d3a73f7b719396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d645a77ec825d9bdff0e060d92aa8a7ddf2a871bd1d8a9ac3d3a73f7b719396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d645a77ec825d9bdff0e060d92aa8a7ddf2a871bd1d8a9ac3d3a73f7b719396", kill_on_drop: false }` [INFO] [stdout] 4d645a77ec825d9bdff0e060d92aa8a7ddf2a871bd1d8a9ac3d3a73f7b719396 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7bee3dc3d9c9eb71ab45a5952e14272afaa5f7782c79105c5818401fbf69067 [INFO] running `Command { std: "docker" "start" "-a" "a7bee3dc3d9c9eb71ab45a5952e14272afaa5f7782c79105c5818401fbf69067", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking fallible-iterator v0.1.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking termios v0.3.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking clicolors-control v0.2.0 [INFO] [stderr] Checking socket2 v0.3.8 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking digest v0.7.5 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking hmac v0.5.0 [INFO] [stderr] Checking phf_shared v0.7.23 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking phf v0.7.23 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking postgres-protocol v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking postgres-shared v0.4.2 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking postgres v0.15.2 [INFO] [stderr] Checking console v0.6.2 [INFO] [stderr] Checking indicatif v0.9.0 [INFO] [stderr] Checking rust-synapse-find-unreferenced-state-groups v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | let mut args: Vec<&ToSql> = Vec::new(); [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | .author(crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | .author(crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | let mut args: Vec<&ToSql> = Vec::new(); [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | .author(crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | .author(crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut rows = stmt.query(&[&missing_sg]).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut rows = stmt.query(&[&missing_sg]).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | writeln!(fs, "{}", state_group); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | writeln!(fs, "{}", state_group); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.32s [INFO] running `Command { std: "docker" "inspect" "a7bee3dc3d9c9eb71ab45a5952e14272afaa5f7782c79105c5818401fbf69067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7bee3dc3d9c9eb71ab45a5952e14272afaa5f7782c79105c5818401fbf69067", kill_on_drop: false }` [INFO] [stdout] a7bee3dc3d9c9eb71ab45a5952e14272afaa5f7782c79105c5818401fbf69067