[INFO] cloning repository https://github.com/kks110/rust-schedule-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kks110/rust-schedule-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkks110%2Frust-schedule-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkks110%2Frust-schedule-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 044a919eaef1743cdfb7265281cf0178cff656bd [INFO] testing kks110/rust-schedule-bot against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkks110%2Frust-schedule-bot" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kks110/rust-schedule-bot on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kks110/rust-schedule-bot [INFO] finished tweaking git repo https://github.com/kks110/rust-schedule-bot [INFO] tweaked toml for git repo https://github.com/kks110/rust-schedule-bot written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/kks110/rust-schedule-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e043779919bd07f004b1d9f58fc2bd1164e20925269e1c9bc22e0519d0fa8f50 [INFO] running `Command { std: "docker" "start" "-a" "e043779919bd07f004b1d9f58fc2bd1164e20925269e1c9bc22e0519d0fa8f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e043779919bd07f004b1d9f58fc2bd1164e20925269e1c9bc22e0519d0fa8f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e043779919bd07f004b1d9f58fc2bd1164e20925269e1c9bc22e0519d0fa8f50", kill_on_drop: false }` [INFO] [stdout] e043779919bd07f004b1d9f58fc2bd1164e20925269e1c9bc22e0519d0fa8f50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ca11efaa96038d6d9ea69d3774870cf200b01184e13e67414bd1b7b80424e09 [INFO] running `Command { std: "docker" "start" "-a" "1ca11efaa96038d6d9ea69d3774870cf200b01184e13e67414bd1b7b80424e09", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling serenity v0.10.10 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v0.3.0 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling webpki-roots v0.22.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling command_attr v0.3.8 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.23.3 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling schedule-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/commands/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/commands/mod.rs:94:69 [INFO] [stdout] | [INFO] [stdout] 94 | let game = database::games::load_game_by_code(&conn, &game_code)?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `std::error::Error` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result<(), Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn std::error::Error` cannot be sent between threads safely [INFO] [stdout] --> src/commands/mod.rs:94:69 [INFO] [stdout] | [INFO] [stdout] 94 | let game = database::games::load_game_by_code(&conn, &game_code)?; [INFO] [stdout] | ^ `dyn std::error::Error` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Send` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result<(), Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn std::error::Error` cannot be shared between threads safely [INFO] [stdout] --> src/commands/mod.rs:94:69 [INFO] [stdout] | [INFO] [stdout] 94 | let game = database::games::load_game_by_code(&conn, &game_code)?; [INFO] [stdout] | ^ `dyn std::error::Error` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result<(), Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/commands/mod.rs:95:82 [INFO] [stdout] | [INFO] [stdout] 95 | let users: Vec = database::users::load_users_by_game_id(&conn, game.id)?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `std::error::Error` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result<(), Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn std::error::Error` cannot be sent between threads safely [INFO] [stdout] --> src/commands/mod.rs:95:82 [INFO] [stdout] | [INFO] [stdout] 95 | let users: Vec = database::users::load_users_by_game_id(&conn, game.id)?; [INFO] [stdout] | ^ `dyn std::error::Error` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Send` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result<(), Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn std::error::Error` cannot be shared between threads safely [INFO] [stdout] --> src/commands/mod.rs:95:82 [INFO] [stdout] | [INFO] [stdout] 95 | let users: Vec = database::users::load_users_by_game_id(&conn, game.id)?; [INFO] [stdout] | ^ `dyn std::error::Error` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn std::error::Error` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result<(), Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/mod.rs:91:91 [INFO] [stdout] | [INFO] [stdout] 91 | pub async fn view_availability(ctx: &Context, msg: &Message, args: Args) -> CommandResult { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 92 | | let game_code = arguments::parse_string(args)?; [INFO] [stdout] 93 | | let conn = database::establish_connection(); [INFO] [stdout] 94 | | let game = database::games::load_game_by_code(&conn, &game_code)?; [INFO] [stdout] ... | [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | } [INFO] [stdout] | |_^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), Box<(dyn std::error::Error + Sync + std::marker::Send + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `schema::users::table: Queryable<(Integer, diesel::sql_types::Text, Integer, diesel::sql_types::Bool, diesel::sql_types::Bool, diesel::sql_types::Bool, diesel::sql_types::Bool, diesel::sql_types::Bool, diesel::sql_types::Bool, diesel::sql_types::Bool), _>` is not satisfied [INFO] [stdout] --> src/database/users.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | .load::(conn)?) [INFO] [stdout] | ^^^^ the trait `Queryable<(Integer, diesel::sql_types::Text, Integer, diesel::sql_types::Bool, diesel::sql_types::Bool, diesel::sql_types::Bool, diesel::sql_types::Bool, diesel::sql_types::Bool, diesel::sql_types::Bool, diesel::sql_types::Bool), _>` is not implemented for `schema::users::table` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `LoadQuery<_, schema::users::table>` for `diesel::query_builder::SelectStatement>>>` [INFO] [stdout] note: required by a bound in `load` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.8/src/query_dsl/mod.rs:1238:15 [INFO] [stdout] | [INFO] [stdout] 1238 | Self: LoadQuery, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/database/users.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(users.filter(game_id.eq(gid)) [INFO] [stdout] | ________^ [INFO] [stdout] 28 | | .load::(conn)?) [INFO] [stdout] | |_____________________________^ expected struct `models::User`, found struct `schema::users::table` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `Vec` to `Vec` [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `schedule-bot` due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1ca11efaa96038d6d9ea69d3774870cf200b01184e13e67414bd1b7b80424e09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ca11efaa96038d6d9ea69d3774870cf200b01184e13e67414bd1b7b80424e09", kill_on_drop: false }` [INFO] [stdout] 1ca11efaa96038d6d9ea69d3774870cf200b01184e13e67414bd1b7b80424e09