[INFO] cloning repository https://github.com/TheTinkerJ/rust-home-mgr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheTinkerJ/rust-home-mgr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheTinkerJ%2Frust-home-mgr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheTinkerJ%2Frust-home-mgr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8f2668d18591b7e5e226f372351f72d02c1f488 [INFO] checking TheTinkerJ/rust-home-mgr/d8f2668d18591b7e5e226f372351f72d02c1f488 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheTinkerJ%2Frust-home-mgr" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheTinkerJ/rust-home-mgr on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheTinkerJ/rust-home-mgr [INFO] finished tweaking git repo https://github.com/TheTinkerJ/rust-home-mgr [INFO] tweaked toml for git repo https://github.com/TheTinkerJ/rust-home-mgr written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/lawliet89/rocket_cors` [INFO] [stderr] Locking 277 packages to latest compatible versions [INFO] [stderr] Adding diesel v1.4.8 (available: v2.2.5) [INFO] [stderr] Adding redis v0.21.7 (available: v0.27.5) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded devise v0.4.2 [INFO] [stderr] Downloaded rocket_sync_db_pools_codegen v0.1.0 [INFO] [stderr] Downloaded ref-cast-impl v1.0.23 [INFO] [stderr] Downloaded proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Downloaded rocket_sync_db_pools v0.1.0 [INFO] [stderr] Downloaded sha1_smol v1.0.1 [INFO] [stderr] Downloaded multer v3.1.0 [INFO] [stderr] Downloaded tokio-stream v0.1.16 [INFO] [stderr] Downloaded async-stream v0.3.6 [INFO] [stderr] Downloaded serde_spanned v0.6.8 [INFO] [stderr] Downloaded devise_core v0.4.2 [INFO] [stderr] Downloaded devise_codegen v0.4.2 [INFO] [stderr] Downloaded yansi v1.0.1 [INFO] [stderr] Downloaded serde_json v1.0.133 [INFO] [stderr] Downloaded percent-encoding v1.0.1 [INFO] [stderr] Downloaded diesel_derives v1.4.1 [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Downloaded atomic v0.5.3 [INFO] [stderr] Downloaded futures v0.3.31 [INFO] [stderr] Downloaded url v1.7.2 [INFO] [stderr] Downloaded security-framework-sys v2.12.1 [INFO] [stderr] Downloaded figment v0.10.19 [INFO] [stderr] Downloaded tokio-util v0.7.12 [INFO] [stderr] Downloaded redis v0.21.7 [INFO] [stderr] Downloaded reqwest v0.11.27 [INFO] [stderr] Downloaded rocket_codegen v0.5.1 [INFO] [stderr] Downloaded diesel v1.4.8 [INFO] [stderr] Downloaded hyper v0.14.31 [INFO] [stderr] Downloaded rocket v0.5.1 [INFO] [stderr] Downloaded rocket_http v0.5.1 [INFO] [stderr] Downloaded idna v0.1.5 [INFO] [stderr] Downloaded loom v0.5.6 [INFO] [stderr] Downloaded schannel v0.1.27 [INFO] [stderr] Downloaded dsl_auto_type v0.1.2 [INFO] [stderr] Downloaded diesel_derives v2.2.3 [INFO] [stderr] Downloaded toml v0.8.19 [INFO] [stderr] Downloaded bytemuck v1.20.0 [INFO] [stderr] Downloaded inlinable_string v0.1.15 [INFO] [stderr] Downloaded pear v0.2.9 [INFO] [stderr] Downloaded diesel v2.2.5 [INFO] [stderr] Downloaded tokio v1.41.1 [INFO] [stderr] Downloaded ref-cast v1.0.23 [INFO] [stderr] Downloaded stable-pattern v0.1.0 [INFO] [stderr] Downloaded generator v0.7.5 [INFO] [stderr] Downloaded state v0.6.0 [INFO] [stderr] Downloaded ubyte v0.10.4 [INFO] [stderr] Downloaded unicase_serde v0.1.0 [INFO] [stderr] Downloaded async-stream-impl v0.3.6 [INFO] [stderr] Downloaded regex-automata v0.4.9 [INFO] [stderr] Downloaded binascii v0.1.4 [INFO] [stderr] Downloaded atomic v0.6.0 [INFO] [stderr] Downloaded unicode-xid v0.2.6 [INFO] [stderr] Downloaded pear_codegen v0.2.9 [INFO] [stderr] Downloaded uncased v0.9.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c1f9e6eac6b536a6a1b176aa45c78d2ffc958ecb99b0d453649d93b8bf3cefb [INFO] running `Command { std: "docker" "start" "-a" "0c1f9e6eac6b536a6a1b176aa45c78d2ffc958ecb99b0d453649d93b8bf3cefb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c1f9e6eac6b536a6a1b176aa45c78d2ffc958ecb99b0d453649d93b8bf3cefb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c1f9e6eac6b536a6a1b176aa45c78d2ffc958ecb99b0d453649d93b8bf3cefb", kill_on_drop: false }` [INFO] [stdout] 0c1f9e6eac6b536a6a1b176aa45c78d2ffc958ecb99b0d453649d93b8bf3cefb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8b963572f164a703e0284b9851a78f98ee2c17d251a768078f898a2107f912c [INFO] running `Command { std: "docker" "start" "-a" "b8b963572f164a703e0284b9851a78f98ee2c17d251a768078f898a2107f912c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling mysqlclient-sys v0.2.5 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking unicase v2.8.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking unicase_serde v0.1.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking diesel v2.2.5 [INFO] [stderr] Checking redis v0.21.7 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking hyper v0.14.31 [INFO] [stderr] Checking rocket_http v0.5.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking rocket_cors v0.6.0 (https://github.com/lawliet89/rocket_cors?branch=master#072d9035) [INFO] [stderr] Checking rust-home-mgr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `diesel::MysqlConnection: Poolable` is not satisfied [INFO] [stdout] --> src/ledger/mod.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MysqlDbConn(diesel::MysqlConnection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: required by a bound in `rocket_sync_db_pools::Connection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::MysqlConnection: Poolable` is not satisfied [INFO] [stdout] --> src/ledger/mod.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MysqlDbConn(diesel::MysqlConnection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: required by a bound in `ConnectionPool` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket_sync_db_pools-0.1.0/src/connection.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConnectionPool { [INFO] [stdout] | ^^^^^^^^ required by this bound in `ConnectionPool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `fairing` exists for struct `ConnectionPool`, but its trait bounds were not satisfied [INFO] [stdout] --> src/ledger/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("mysql_database")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `ConnectionPool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.8/src/mysql/connection/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MysqlConnection { [INFO] [stdout] | -------------------------- doesn't satisfy `diesel::MysqlConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::MysqlConnection: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::MysqlConnection: Poolable` is not satisfied [INFO] [stdout] --> src/ledger/mod.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MysqlDbConn(diesel::MysqlConnection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: required by a bound in `rocket_sync_db_pools::Connection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^ required by this bound in `Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::MysqlConnection: Poolable` is not satisfied [INFO] [stdout] --> src/ledger/mod.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MysqlDbConn(diesel::MysqlConnection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: required by a bound in `ConnectionPool` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket_sync_db_pools-0.1.0/src/connection.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConnectionPool { [INFO] [stdout] | ^^^^^^^^ required by this bound in `ConnectionPool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `run` exists for struct `Connection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/ledger/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("mysql_database")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called on `Connection` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.8/src/mysql/connection/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MysqlConnection { [INFO] [stdout] | -------------------------- doesn't satisfy `diesel::MysqlConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::MysqlConnection: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `get_one` exists for struct `ConnectionPool`, but its trait bounds were not satisfied [INFO] [stdout] --> src/ledger/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("mysql_database")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `ConnectionPool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.8/src/mysql/connection/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MysqlConnection { [INFO] [stdout] | -------------------------- doesn't satisfy `diesel::MysqlConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::MysqlConnection: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `fairing` exists for struct `ConnectionPool`, but its trait bounds were not satisfied [INFO] [stdout] --> src/ledger/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("mysql_database")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `ConnectionPool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.8/src/mysql/connection/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MysqlConnection { [INFO] [stdout] | -------------------------- doesn't satisfy `diesel::MysqlConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::MysqlConnection: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `run` exists for struct `Connection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/ledger/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("mysql_database")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called on `Connection` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.8/src/mysql/connection/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MysqlConnection { [INFO] [stdout] | -------------------------- doesn't satisfy `diesel::MysqlConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::MysqlConnection: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `get_one` exists for struct `ConnectionPool`, but its trait bounds were not satisfied [INFO] [stdout] --> src/ledger/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("mysql_database")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `ConnectionPool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.8/src/mysql/connection/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MysqlConnection { [INFO] [stdout] | -------------------------- doesn't satisfy `diesel::MysqlConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::MysqlConnection: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `pool` exists for struct `ConnectionPool`, but its trait bounds were not satisfied [INFO] [stdout] --> src/ledger/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("mysql_database")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `ConnectionPool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.8/src/mysql/connection/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MysqlConnection { [INFO] [stdout] | -------------------------- doesn't satisfy `diesel::MysqlConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::MysqlConnection: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `pool` exists for struct `ConnectionPool`, but its trait bounds were not satisfied [INFO] [stdout] --> src/ledger/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("mysql_database")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `ConnectionPool` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.8/src/mysql/connection/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MysqlConnection { [INFO] [stdout] | -------------------------- doesn't satisfy `diesel::MysqlConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::MysqlConnection: Poolable` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `Connection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/ledger/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("mysql_database")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `Connection` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ------------------------------------- doesn't satisfy `_: FromRequest<'_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.8/src/mysql/connection/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MysqlConnection { [INFO] [stdout] | -------------------------- doesn't satisfy `diesel::MysqlConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::MysqlConnection: Poolable` [INFO] [stdout] which is required by `rocket_sync_db_pools::Connection: FromRequest<'_>` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `abort` exists for struct `Connection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/ledger/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("mysql_database")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `Connection` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ------------------------------------- doesn't satisfy `_: Sentinel` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.8/src/mysql/connection/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MysqlConnection { [INFO] [stdout] | -------------------------- doesn't satisfy `diesel::MysqlConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::MysqlConnection: Poolable` [INFO] [stdout] which is required by `rocket_sync_db_pools::Connection: Sentinel` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `DefaultSentinel` which provides `abort` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use crate::rocket::sentinel::resolution::DefaultSentinel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `Connection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/ledger/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("mysql_database")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `Connection` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ------------------------------------- doesn't satisfy `_: FromRequest<'_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.8/src/mysql/connection/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MysqlConnection { [INFO] [stdout] | -------------------------- doesn't satisfy `diesel::MysqlConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::MysqlConnection: Poolable` [INFO] [stdout] which is required by `rocket_sync_db_pools::Connection: FromRequest<'_>` [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `abort` exists for struct `Connection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/ledger/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[database("mysql_database")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `Connection` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rocket_sync_db_pools-0.1.0/src/connection.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Connection { [INFO] [stdout] | ------------------------------------- doesn't satisfy `_: Sentinel` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.8/src/mysql/connection/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MysqlConnection { [INFO] [stdout] | -------------------------- doesn't satisfy `diesel::MysqlConnection: Poolable` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `diesel::MysqlConnection: Poolable` [INFO] [stdout] which is required by `rocket_sync_db_pools::Connection: Sentinel` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the attribute macro `database` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `DefaultSentinel` which provides `abort` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use crate::rocket::sentinel::resolution::DefaultSentinel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[get("/list?&")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_cost_detail.rs:19:1: 19:31}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 23 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 32 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[get("/query-by?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_cost_detail.rs:50:1: 50:37}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 53 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 61 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | #[get("/related-to?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_cost_detail.rs:68:1: 68:40}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 71 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 79 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | #[post("/update", data = "", format = "json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_cost_detail.rs:96:1: 96:54}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | input: Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] 99 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | #[get("/drop-by?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_cost_detail.rs:133:1: 133:36}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 136 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 140 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[get("/list?&")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_goods.rs:18:1: 18:31}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 22 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 31 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[get("/query-by-name?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_goods.rs:48:1: 48:37}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 51 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 56 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | #[get("/query-by-id?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_goods.rs:63:1: 63:33}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 66 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 70 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | #[post("/update", data = "", format = "json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_goods.rs:86:1: 86:54}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | input: Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] 89 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | #[get("/drop-by?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_goods.rs:122:1: 122:29}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 123 | pub async fn goods_delete(item_id: i32, db: MysqlDbConn) -> (Status, Json>) { [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 126 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_market_place.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[get("/list?&")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_market_place.rs:18:1: 18:31}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_market_place.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 22 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 31 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_market_place.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[get("/query-by?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_market_place.rs:49:1: 49:34}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_market_place.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 52 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 61 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_market_place.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | #[post("/update", data = "", format = "json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_market_place.rs:78:1: 78:54}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_market_place.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | input: Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] 81 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_market_place.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | #[get("/drop-by?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_market_place.rs:115:1: 115:31}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_market_place.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 118 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 122 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_shopping_records.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[get("/list?&")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_shopping_records.rs:18:1: 18:31}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_shopping_records.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 22 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 31 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_shopping_records.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[get("/shopping-records/query-by?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_shopping_records.rs:50:1: 50:51}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_shopping_records.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 53 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 61 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_shopping_records.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | #[post("/update", data = "", format = "json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_shopping_records.rs:75:1: 75:54}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_shopping_records.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | input: Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] 78 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_shopping_records.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | #[get("/drop-by?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_shopping_records.rs:109:1: 109:33}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_shopping_records.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 112 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 116 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-home-mgr` (bin "rust-home-mgr") due to 26 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[get("/list?&")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_cost_detail.rs:19:1: 19:31}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 23 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 32 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[get("/query-by?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_cost_detail.rs:50:1: 50:37}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 53 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 61 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | #[get("/related-to?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_cost_detail.rs:68:1: 68:40}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 71 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 79 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | #[post("/update", data = "", format = "json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_cost_detail.rs:96:1: 96:54}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | input: Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] 99 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | #[get("/drop-by?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_cost_detail.rs:133:1: 133:36}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_cost_detail.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 136 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 140 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[get("/list?&")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_goods.rs:18:1: 18:31}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 22 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 31 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[get("/query-by-name?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_goods.rs:48:1: 48:37}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 51 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 56 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | #[get("/query-by-id?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_goods.rs:63:1: 63:33}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 66 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 70 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | #[post("/update", data = "", format = "json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_goods.rs:86:1: 86:54}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | input: Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] 89 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | #[get("/drop-by?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_goods.rs:122:1: 122:29}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_goods.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 123 | pub async fn goods_delete(item_id: i32, db: MysqlDbConn) -> (Status, Json>) { [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 126 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_market_place.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[get("/list?&")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_market_place.rs:18:1: 18:31}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_market_place.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 22 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 31 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_market_place.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[get("/query-by?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_market_place.rs:49:1: 49:34}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_market_place.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 52 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 61 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_market_place.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | #[post("/update", data = "", format = "json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_market_place.rs:78:1: 78:54}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_market_place.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | input: Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] 81 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_market_place.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | #[get("/drop-by?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_market_place.rs:115:1: 115:31}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_market_place.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 118 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 122 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_shopping_records.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[get("/list?&")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_shopping_records.rs:18:1: 18:31}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_shopping_records.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 22 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 31 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_shopping_records.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[get("/shopping-records/query-by?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_shopping_records.rs:50:1: 50:51}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_shopping_records.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 53 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 61 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_shopping_records.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | #[post("/update", data = "", format = "json")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_shopping_records.rs:75:1: 75:54}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_shopping_records.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | input: Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] 78 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/ledger/controller/ctrl_shopping_records.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | #[get("/drop-by?")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `{async block@src/ledger/controller/ctrl_shopping_records.rs:109:1: 109:33}`, the trait `Poolable` is not implemented for `diesel::MysqlConnection` [INFO] [stdout] = help: the trait `Poolable` is implemented for `rocket_sync_db_pools::diesel::MysqlConnection` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/ledger/controller/ctrl_shopping_records.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 112 | db: MysqlDbConn, [INFO] [stdout] | -- has type `MysqlDbConn` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 116 | .await; [INFO] [stdout] | ^^^^^ await occurs here, with `db` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin, ..., ...>> + Send>>` [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-home-mgr` (bin "rust-home-mgr" test) due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "b8b963572f164a703e0284b9851a78f98ee2c17d251a768078f898a2107f912c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8b963572f164a703e0284b9851a78f98ee2c17d251a768078f898a2107f912c", kill_on_drop: false }` [INFO] [stdout] b8b963572f164a703e0284b9851a78f98ee2c17d251a768078f898a2107f912c