[INFO] cloning repository https://github.com/crides/sched-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crides/sched-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrides%2Fsched-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrides%2Fsched-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e1aafd9e16b3450e52a36c2fc95606c9aa052e1 [INFO] checking crides/sched-test/7e1aafd9e16b3450e52a36c2fc95606c9aa052e1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrides%2Fsched-test" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/crides/sched-test on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/crides/sched-test [INFO] finished tweaking git repo https://github.com/crides/sched-test [INFO] tweaked toml for git repo https://github.com/crides/sched-test written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/crides/sched-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rlua_serde v0.4.0 [INFO] [stderr] Downloaded dirs-next v1.0.1 [INFO] [stderr] Downloaded redis v0.16.0 [INFO] [stderr] Downloaded dirs-sys-next v0.1.0 [INFO] [stderr] Downloaded rustyline v6.2.0 [INFO] [stderr] Downloaded combine v4.2.1 [INFO] [stderr] Downloaded bstr v0.2.10 [INFO] [stderr] Downloaded rlua v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f1164ed425d5da8d77a559513ae0f1cbca5aef37e481f28b3bef2b883b09517 [INFO] running `Command { std: "docker" "start" "-a" "5f1164ed425d5da8d77a559513ae0f1cbca5aef37e481f28b3bef2b883b09517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f1164ed425d5da8d77a559513ae0f1cbca5aef37e481f28b3bef2b883b09517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f1164ed425d5da8d77a559513ae0f1cbca5aef37e481f28b3bef2b883b09517", kill_on_drop: false }` [INFO] [stdout] 5f1164ed425d5da8d77a559513ae0f1cbca5aef37e481f28b3bef2b883b09517 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bdcecad94d230ff1f405632b097982704f51edeb7712b902884b46399e454f9 [INFO] running `Command { std: "docker" "start" "-a" "4bdcecad94d230ff1f405632b097982704f51edeb7712b902884b46399e454f9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking bstr v0.2.10 [INFO] [stderr] Checking combine v4.2.1 [INFO] [stderr] Compiling rlua v0.17.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking dirs-sys-next v0.1.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking dirs-next v1.0.1 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking rustyline v6.2.0 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Checking rlua_serde v0.4.0 [INFO] [stderr] Checking redis v0.16.0 [INFO] [stderr] Checking sched_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `diesel` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate diesel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `diesel` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate diesel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `API_STATE` [INFO] [stdout] --> src/api/state.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub static API_STATE: Mutex> = Mutex::new(APIState { [INFO] [stdout] | ^^^^^^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `ref` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lazy_static-1.4.0/src/lib.rs:172:35 [INFO] [stdout] | [INFO] [stdout] 172 | ($(#[$attr:meta])* pub static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `API_STATE` [INFO] [stdout] --> src/api/state.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub static API_STATE: Mutex> = Mutex::new(APIState { [INFO] [stdout] | ^^^^^^^^^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `ref` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lazy_static-1.4.0/src/lib.rs:172:35 [INFO] [stdout] | [INFO] [stdout] 172 | ($(#[$attr:meta])* pub static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::storage::Storage` [INFO] [stdout] --> src/api/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::storage::Storage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Storage` in `storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::storage::Storage` [INFO] [stdout] --> src/api/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::storage::Storage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Storage` in `storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::state::API_STATE` [INFO] [stdout] --> src/api/log.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{error::*, state::API_STATE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `API_STATE` in `api::state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::state::API_STATE` [INFO] [stdout] --> src/api/log.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{error::*, state::API_STATE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `API_STATE` in `api::state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::schema::attrs`, `super::schema::logs` [INFO] [stdout] --> src/storage/model.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use super::schema::{attrs, logs}; [INFO] [stdout] | ^^^^^ ^^^^ no `logs` in `storage::schema` [INFO] [stdout] | | [INFO] [stdout] | no `attrs` in `storage::schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `schema::attrs`, `schema::logs` [INFO] [stdout] --> src/storage/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use schema::{attrs, logs}; [INFO] [stdout] | ^^^^^ ^^^^ no `logs` in `storage::schema` [INFO] [stdout] | | [INFO] [stdout] | no `attrs` in `storage::schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::schema::attrs`, `super::schema::logs` [INFO] [stdout] --> src/storage/model.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use super::schema::{attrs, logs}; [INFO] [stdout] | ^^^^^ ^^^^ no `logs` in `storage::schema` [INFO] [stdout] | | [INFO] [stdout] | no `attrs` in `storage::schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `schema::attrs`, `schema::logs` [INFO] [stdout] --> src/storage/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use schema::{attrs, logs}; [INFO] [stdout] | ^^^^^ ^^^^ no `logs` in `storage::schema` [INFO] [stdout] | | [INFO] [stdout] | no `attrs` in `storage::schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/storage/model.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Queryable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/storage/model.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Queryable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/storage/model.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Queryable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/storage/model.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Queryable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/storage/model.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/storage/model.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/storage/model.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[table_name = "logs"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/storage/model.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[table_name = "logs"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/storage/model.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Insertable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/storage/model.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Insertable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `AsChangeset` in this scope [INFO] [stdout] --> src/storage/model.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Insertable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `AsChangeset` in this scope [INFO] [stdout] --> src/storage/model.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Insertable, AsChangeset)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/storage/model.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[table_name = "attrs"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/storage/model.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[table_name = "attrs"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> src/storage/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> src/storage/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> src/storage/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> src/storage/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `allow_tables_to_appear_in_same_query` in this scope [INFO] [stdout] --> src/storage/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | allow_tables_to_appear_in_same_query!(attrs, logs,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `allow_tables_to_appear_in_same_query` in this scope [INFO] [stdout] --> src/storage/schema.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | allow_tables_to_appear_in_same_query!(attrs, logs,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LogStorage` in this scope [INFO] [stdout] --> src/api/state.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) storage: LogStorage, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::storage::LogStorage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/api/event.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Mutex` [INFO] [stdout] --> src/api/log.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, sync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogStorage` [INFO] [stdout] --> src/api/log.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::storage::{model::Log, LogStorage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LogStorage` in this scope [INFO] [stdout] --> src/api/state.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) storage: LogStorage, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::storage::LogStorage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/api/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/api/state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event::*` [INFO] [stdout] --> src/api/state.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{event::*, log::*}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Commands` [INFO] [stdout] --> src/storage/mod.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use redis::{Connection, Commands, Client}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/api/event.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Mutex` [INFO] [stdout] --> src/api/log.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, sync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogStorage` [INFO] [stdout] --> src/api/log.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::storage::{model::Log, LogStorage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/api/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/api/state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event::*` [INFO] [stdout] --> src/api/state.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{event::*, log::*}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Commands` [INFO] [stdout] --> src/storage/mod.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use redis::{Connection, Commands, Client}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/storage/mod.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | LogStorage(conn) [INFO] [stdout] | ---------- ^^^^ expected `Connection`, found `Client` [INFO] [stdout] | | [INFO] [stdout] | arguments to this struct are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple struct defined here [INFO] [stdout] --> src/storage/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LogStorage(Connection); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/storage/mod.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | LogStorage(conn) [INFO] [stdout] | ---------- ^^^^ expected `Connection`, found `Client` [INFO] [stdout] | | [INFO] [stdout] | arguments to this struct are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple struct defined here [INFO] [stdout] --> src/storage/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LogStorage(Connection); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sched_test` (lib) due to 19 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sched_test` (lib test) due to 19 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4bdcecad94d230ff1f405632b097982704f51edeb7712b902884b46399e454f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bdcecad94d230ff1f405632b097982704f51edeb7712b902884b46399e454f9", kill_on_drop: false }` [INFO] [stdout] 4bdcecad94d230ff1f405632b097982704f51edeb7712b902884b46399e454f9