[INFO] cloning repository https://github.com/JacobHaig/rust_chatter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JacobHaig/rust_chatter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobHaig%2Frust_chatter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobHaig%2Frust_chatter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8191398e2f2740cc00a9700f3b577fa0d7860627 [INFO] checking JacobHaig/rust_chatter against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobHaig%2Frust_chatter" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JacobHaig/rust_chatter 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/JacobHaig/rust_chatter [INFO] finished tweaking git repo https://github.com/JacobHaig/rust_chatter [INFO] tweaked toml for git repo https://github.com/JacobHaig/rust_chatter written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/JacobHaig/rust_chatter 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 84fedfb0f7415ea843c5cd22cf27060e0fc8a3d2e4729e23559ae851fcb9dbf1 [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" "84fedfb0f7415ea843c5cd22cf27060e0fc8a3d2e4729e23559ae851fcb9dbf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84fedfb0f7415ea843c5cd22cf27060e0fc8a3d2e4729e23559ae851fcb9dbf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84fedfb0f7415ea843c5cd22cf27060e0fc8a3d2e4729e23559ae851fcb9dbf1", kill_on_drop: false }` [INFO] [stdout] 84fedfb0f7415ea843c5cd22cf27060e0fc8a3d2e4729e23559ae851fcb9dbf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 4c38867e275f3f58589f386ffdc1398c9ef37bfc3de7bb0b3a543c4599b653da [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" "4c38867e275f3f58589f386ffdc1398c9ef37bfc3de7bb0b3a543c4599b653da", 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] tokio v1.9.0: winapi [INFO] [stderr] [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking time v0.3.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking rusqlite v0.25.3 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rust_chatter v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/database.rs (1 fix) [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stdout] error[E0412]: cannot find type `Connection` in this scope [INFO] [stdout] --> src/database.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let db: Connection = DataBase::open_db("database.db"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use rusqlite::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Message` in this scope [INFO] [stdout] --> src/database.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | let message = Message { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Message; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Packet::Message; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::database::DataBase::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_chatter` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Fixed src/database.rs (2 fixes) [INFO] [stdout] warning: private type `Image` in public interface (error E0446) [INFO] [stdout] --> src/message.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | Image(Image), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete_all_messages` [INFO] [stdout] --> src/database.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn delete_all_messages(db: &mut rusqlite::Connection) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete_message` [INFO] [stdout] --> src/database.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn delete_message(db: &mut rusqlite::Connection, id: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert_message` [INFO] [stdout] --> src/database.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn insert_message(db: &rusqlite::Connection, message: Message) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `where_message` [INFO] [stdout] --> src/database.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn where_message(db: &rusqlite::Connection, args: &[&str]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DataBase` should have a snake case name [INFO] [stdout] --> src/database.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod DataBase { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `data_base` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 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" "4c38867e275f3f58589f386ffdc1398c9ef37bfc3de7bb0b3a543c4599b653da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c38867e275f3f58589f386ffdc1398c9ef37bfc3de7bb0b3a543c4599b653da", kill_on_drop: false }` [INFO] [stdout] 4c38867e275f3f58589f386ffdc1398c9ef37bfc3de7bb0b3a543c4599b653da