[INFO] cloning repository https://github.com/kenaniah/zero2prod-rocket [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kenaniah/zero2prod-rocket" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenaniah%2Fzero2prod-rocket", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenaniah%2Fzero2prod-rocket'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97870953ab86aa52945239918bea21f9e14e4776 [INFO] testing kenaniah/zero2prod-rocket against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenaniah%2Fzero2prod-rocket" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kenaniah/zero2prod-rocket on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kenaniah/zero2prod-rocket [INFO] finished tweaking git repo https://github.com/kenaniah/zero2prod-rocket [INFO] tweaked toml for git repo https://github.com/kenaniah/zero2prod-rocket written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kenaniah/zero2prod-rocket 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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56a0a62d171cd52c7b8b15629ff6ea828e0eefd2e0a674f8ddfb70615c656a48 [INFO] running `Command { std: "docker" "start" "-a" "56a0a62d171cd52c7b8b15629ff6ea828e0eefd2e0a674f8ddfb70615c656a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56a0a62d171cd52c7b8b15629ff6ea828e0eefd2e0a674f8ddfb70615c656a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56a0a62d171cd52c7b8b15629ff6ea828e0eefd2e0a674f8ddfb70615c656a48", kill_on_drop: false }` [INFO] [stdout] 56a0a62d171cd52c7b8b15629ff6ea828e0eefd2e0a674f8ddfb70615c656a48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17eabb8a4a2b2c3a62a70ec191da1a2c4dd7a0004edf4865a79757efd34f51dd [INFO] running `Command { std: "docker" "start" "-a" "17eabb8a4a2b2c3a62a70ec191da1a2c4dd7a0004edf4865a79757efd34f51dd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling figment v0.10.5 [INFO] [stderr] Compiling multer v2.0.0 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 (https://github.com/SergioBenitez/Rocket#abf996b0) [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling spin v0.9.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling devise_core v0.3.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling devise_codegen v0.3.0 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling devise v0.3.0 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0-rc.1 (https://github.com/SergioBenitez/Rocket#abf996b0) [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ipnetwork v0.18.0 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling diesel v1.4.7 [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 (https://github.com/SergioBenitez/Rocket#abf996b0) [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 (https://github.com/SergioBenitez/Rocket#abf996b0) [INFO] [stderr] Compiling db v0.1.0 (/opt/rustwide/workdir/db) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/models/subscription.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Queryable, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_subscription` [INFO] [stdout] 2 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | subscriptions (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | email -> Text, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | subscriptions (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | email -> Text, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | subscriptions (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | email -> Text, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | subscriptions (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | email -> Text, [INFO] [stdout] 5 | | name -> Text, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | subscriptions (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | email -> Text, [INFO] [stdout] 5 | | name -> Text, [INFO] [stdout] 6 | | subscribed_at -> Timestamptz, [INFO] [stdout] | | ------------- `subscribed_at` is not local [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_subscribed_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0-rc.1 (https://github.com/SergioBenitez/Rocket#abf996b0) [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stdout] warning: unused import: `health_check` [INFO] [stdout] --> app/src/routes/health_check.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn health_check(rid: RequestId) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subscribe` [INFO] [stdout] --> app/src/routes/subscriptions.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn subscribe(db: MainConnection, data: Form) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> app/src/routes/subscriptions.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(FromForm, Insertable, Debug)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_formdata` [INFO] [stdout] 9 | #[table_name = "subscriptions"] [INFO] [stdout] 10 | pub struct FormData { [INFO] [stdout] | -------- `FormData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> app/src/routes/subscriptions.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(FromForm, Insertable, Debug)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_formdata` [INFO] [stdout] 9 | #[table_name = "subscriptions"] [INFO] [stdout] 10 | pub struct FormData { [INFO] [stdout] | -------- `FormData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> app/src/routes/subscriptions.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(FromForm, Insertable, Debug)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_formdata` [INFO] [stdout] 9 | #[table_name = "subscriptions"] [INFO] [stdout] 10 | pub struct FormData { [INFO] [stdout] | -------- `FormData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "17eabb8a4a2b2c3a62a70ec191da1a2c4dd7a0004edf4865a79757efd34f51dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17eabb8a4a2b2c3a62a70ec191da1a2c4dd7a0004edf4865a79757efd34f51dd", kill_on_drop: false }` [INFO] [stdout] 17eabb8a4a2b2c3a62a70ec191da1a2c4dd7a0004edf4865a79757efd34f51dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad05a8a8c62d3dd18d7a637f6a6b047db9f7eea9768ca136bb44745f353242ce [INFO] running `Command { std: "docker" "start" "-a" "ad05a8a8c62d3dd18d7a637f6a6b047db9f7eea9768ca136bb44745f353242ce", kill_on_drop: false }` [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/models/subscription.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Queryable, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_subscription` [INFO] [stdout] 2 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | subscriptions (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | email -> Text, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | subscriptions (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | email -> Text, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | subscriptions (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | email -> Text, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | subscriptions (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | email -> Text, [INFO] [stdout] 5 | | name -> Text, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | subscriptions (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | email -> Text, [INFO] [stdout] 5 | | name -> Text, [INFO] [stdout] 6 | | subscribed_at -> Timestamptz, [INFO] [stdout] | | ------------- `subscribed_at` is not local [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_subscribed_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling db v0.1.0 (/opt/rustwide/workdir/db) [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stdout] warning: unused import: `health_check` [INFO] [stdout] --> app/src/routes/health_check.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn health_check(rid: RequestId) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subscribe` [INFO] [stdout] --> app/src/routes/subscriptions.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn subscribe(db: MainConnection, data: Form) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> app/src/routes/subscriptions.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(FromForm, Insertable, Debug)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_formdata` [INFO] [stdout] 9 | #[table_name = "subscriptions"] [INFO] [stdout] 10 | pub struct FormData { [INFO] [stdout] | -------- `FormData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> app/src/routes/subscriptions.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(FromForm, Insertable, Debug)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_formdata` [INFO] [stdout] 9 | #[table_name = "subscriptions"] [INFO] [stdout] 10 | pub struct FormData { [INFO] [stdout] | -------- `FormData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> app/src/routes/subscriptions.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(FromForm, Insertable, Debug)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_formdata` [INFO] [stdout] 9 | #[table_name = "subscriptions"] [INFO] [stdout] 10 | pub struct FormData { [INFO] [stdout] | -------- `FormData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `health_check` [INFO] [stdout] --> app/src/routes/health_check.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn health_check(rid: RequestId) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subscribe` [INFO] [stdout] --> app/src/routes/subscriptions.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn subscribe(db: MainConnection, data: Form) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/models/subscription.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Queryable, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_subscription` [INFO] [stdout] 2 | pub struct Subscription { [INFO] [stdout] | ------------ `Subscription` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | subscriptions (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | email -> Text, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | subscriptions (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | email -> Text, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | subscriptions (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | email -> Text, [INFO] [stdout] | | ----- `email` is not local [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_email` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | subscriptions (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | email -> Text, [INFO] [stdout] 5 | | name -> Text, [INFO] [stdout] | | ---- `name` is not local [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> db/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | subscriptions (id) { [INFO] [stdout] 3 | | id -> Int4, [INFO] [stdout] 4 | | email -> Text, [INFO] [stdout] 5 | | name -> Text, [INFO] [stdout] 6 | | subscribed_at -> Timestamptz, [INFO] [stdout] | | ------------- `subscribed_at` is not local [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_subscribed_at` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> app/src/routes/subscriptions.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(FromForm, Insertable, Debug)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_formdata` [INFO] [stdout] 9 | #[table_name = "subscriptions"] [INFO] [stdout] 10 | pub struct FormData { [INFO] [stdout] | -------- `FormData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> app/src/routes/subscriptions.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(FromForm, Insertable, Debug)] [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Insertable` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_formdata` [INFO] [stdout] 9 | #[table_name = "subscriptions"] [INFO] [stdout] 10 | pub struct FormData { [INFO] [stdout] | -------- `FormData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> app/src/routes/subscriptions.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(FromForm, Insertable, Debug)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `UndecoratedInsertRecord` is not local [INFO] [stdout] | `table` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_insertable_for_formdata` [INFO] [stdout] 9 | #[table_name = "subscriptions"] [INFO] [stdout] 10 | pub struct FormData { [INFO] [stdout] | -------- `FormData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.60s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ad05a8a8c62d3dd18d7a637f6a6b047db9f7eea9768ca136bb44745f353242ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad05a8a8c62d3dd18d7a637f6a6b047db9f7eea9768ca136bb44745f353242ce", kill_on_drop: false }` [INFO] [stdout] ad05a8a8c62d3dd18d7a637f6a6b047db9f7eea9768ca136bb44745f353242ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8b4b4a788c3708d7f711510aacd089d5880f0a785e01457bb673f907b109048d [INFO] running `Command { std: "docker" "start" "-a" "8b4b4a788c3708d7f711510aacd089d5880f0a785e01457bb673f907b109048d", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> db/src/models/subscription.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Queryable, Debug)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_subscription` [INFO] [stderr] 2 | pub struct Subscription { [INFO] [stderr] | ------------ `Subscription` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> db/src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | subscriptions (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | email -> Text, [INFO] [stderr] ... | [INFO] [stderr] 8 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | | `table` is not local [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> db/src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | subscriptions (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 4 | | email -> Text, [INFO] [stderr] ... | [INFO] [stderr] 8 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> db/src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | subscriptions (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | email -> Text, [INFO] [stderr] | | ----- `email` is not local [INFO] [stderr] ... | [INFO] [stderr] 8 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_email` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> db/src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | subscriptions (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | email -> Text, [INFO] [stderr] 5 | | name -> Text, [INFO] [stderr] | | ---- `name` is not local [INFO] [stderr] ... | [INFO] [stderr] 8 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_name` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> db/src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / table! { [INFO] [stderr] 2 | | subscriptions (id) { [INFO] [stderr] 3 | | id -> Int4, [INFO] [stderr] 4 | | email -> Text, [INFO] [stderr] 5 | | name -> Text, [INFO] [stderr] 6 | | subscribed_at -> Timestamptz, [INFO] [stderr] | | ------------- `subscribed_at` is not local [INFO] [stderr] 7 | | } [INFO] [stderr] 8 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_subscribed_at` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `db` (lib) generated 6 warnings [INFO] [stderr] warning: `db` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: unused import: `health_check` [INFO] [stderr] --> app/src/routes/health_check.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn health_check(rid: RequestId) -> Status { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `subscribe` [INFO] [stderr] --> app/src/routes/subscriptions.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn subscribe(db: MainConnection, data: Form) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> app/src/routes/subscriptions.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(FromForm, Insertable, Debug)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_formdata` [INFO] [stderr] 9 | #[table_name = "subscriptions"] [INFO] [stderr] 10 | pub struct FormData { [INFO] [stderr] | -------- `FormData` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> app/src/routes/subscriptions.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(FromForm, Insertable, Debug)] [INFO] [stderr] | -^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Insertable` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_formdata` [INFO] [stderr] 9 | #[table_name = "subscriptions"] [INFO] [stderr] 10 | pub struct FormData { [INFO] [stderr] | -------- `FormData` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> app/src/routes/subscriptions.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(FromForm, Insertable, Debug)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `UndecoratedInsertRecord` is not local [INFO] [stderr] | `table` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_insertable_for_formdata` [INFO] [stderr] 9 | #[table_name = "subscriptions"] [INFO] [stderr] 10 | pub struct FormData { [INFO] [stderr] | -------- `FormData` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `app` (lib) generated 5 warnings (run `cargo fix --lib -p app` to apply 2 suggestions) [INFO] [stderr] warning: `app` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/app-127bd0b75f83aa0c) [INFO] [stderr] Running unittests src/bin/server.rs (/opt/rustwide/target/debug/deps/server-87d7fe2a2d6bfafd) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/health_check_test.rs (/opt/rustwide/target/debug/deps/health_check_test-cc2d7d68548a7d64) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test::health_check ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::health_check stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test::health_check' panicked at app/tests/setup/mod.rs:19:10: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Error(Some("connection to server at \"localhost\" (::1), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\nconnection to server at \"localhost\" (127.0.0.1), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\n")) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ac3f8182420 - std::backtrace_rs::backtrace::libunwind::trace::hff7ffeb2055d56f7 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5ac3f8182420 - std::backtrace_rs::backtrace::trace_unsynchronized::he7b3446d48853094 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5ac3f8182420 - std::sys::backtrace::_print_fmt::hc2f9f78a9d81f67e [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ac3f8182420 - ::fmt::h222ded249a1f0b37 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ac3f81ae153 - core::fmt::rt::Argument::fmt::hf87ad28cd961f7a3 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5ac3f81ae153 - core::fmt::write::h9275005cf35b8a10 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5ac3f817eae3 - std::io::Write::write_fmt::h9c45a7064b117632 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x5ac3f8182272 - std::sys::backtrace::BacktraceLock::print::hd225c6688b44ae93 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5ac3f818384f - std::panicking::default_hook::{{closure}}::h2b0bdfbf5b027ac9 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x5ac3f8183668 - std::panicking::default_hook::ha8790851fc656c1a [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x5ac3f7c4b5c5 - as core::ops::function::Fn>::call::hdad4d0506655a157 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 11: 0x5ac3f7c4b5c5 - test::test_main::{{closure}}::hdf61abd52acd3de0 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x5ac3f8184343 - as core::ops::function::Fn>::call::h52c5bf698b1366e5 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 13: 0x5ac3f8184343 - std::panicking::rust_panic_with_hook::ha306bc05bdb5b696 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x5ac3f8183ffa - std::panicking::begin_panic_handler::{{closure}}::h2c0d6e717a62810c [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x5ac3f8182929 - std::sys::backtrace::__rust_end_short_backtrace::h1e7465e8c528d13d [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5ac3f8183c8d - rust_begin_unwind [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x5ac3f81abc90 - core::panicking::panic_fmt::h0c17c793f18e9c3f [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5ac3f81ac136 - core::result::unwrap_failed::hb71c1a118c26f2bc [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/result.rs:1704:5 [INFO] [stdout] 19: 0x5ac3f7c103ee - core::result::Result::unwrap::h55e9ac4c38280027 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/result.rs:1109:23 [INFO] [stdout] 20: 0x5ac3f7c103ee - health_check_test::setup::run_sql::he0b9fd80825b5a12 [INFO] [stdout] at /opt/rustwide/workdir/app/tests/setup/mod.rs:15:16 [INFO] [stdout] 21: 0x5ac3f7c10a9c - health_check_test::setup::MockEnvironment::new::hc34757d0590b7a75 [INFO] [stdout] at /opt/rustwide/workdir/app/tests/setup/mod.rs:44:9 [INFO] [stdout] 22: 0x5ac3f7c10f0a - health_check_test::test::health_check::h3e9b5556c96dc2d6 [INFO] [stdout] at /opt/rustwide/workdir/app/tests/health_check_test.rs:9:23 [INFO] [stdout] 23: 0x5ac3f7c10ec7 - health_check_test::test::health_check::{{closure}}::hf988333fdc445f53 [INFO] [stdout] at /opt/rustwide/workdir/app/tests/health_check_test.rs:8:22 [INFO] [stdout] 24: 0x5ac3f7c0b286 - core::ops::function::FnOnce::call_once::h4e8b5212abfaefd2 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5ac3f7c50dbb - core::ops::function::FnOnce::call_once::ha8d13c24f305262f [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5ac3f7c50dbb - test::__rust_begin_short_backtrace::hda7ed5913d26b4c3 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:637:18 [INFO] [stdout] 27: 0x5ac3f7c4fc38 - test::run_test_in_process::{{closure}}::h98799ac8ad05dc17 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:660:60 [INFO] [stdout] 28: 0x5ac3f7c4fc38 - as core::ops::function::FnOnce<()>>::call_once::h9915be725ed5cec7 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5ac3f7c4fc38 - std::panicking::try::do_call::hdae5166dc0f6479b [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:587:40 [INFO] [stdout] 30: 0x5ac3f7c4fc38 - std::panicking::try::h8fa0f35111734e43 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:550:19 [INFO] [stdout] 31: 0x5ac3f7c4fc38 - std::panic::catch_unwind::h2c5c178909d676e7 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panic.rs:358:14 [INFO] [stdout] 32: 0x5ac3f7c4fc38 - test::run_test_in_process::h2157e57f25733f22 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:660:27 [INFO] [stdout] 33: 0x5ac3f7c4fc38 - test::run_test::{{closure}}::h22055a3e9dc56ab9 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:581:43 [INFO] [stdout] 34: 0x5ac3f7c12bf5 - test::run_test::{{closure}}::h0de666e52c64b314 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/test/src/lib.rs:611:41 [INFO] [stdout] 35: 0x5ac3f7c12bf5 - std::sys::backtrace::__rust_begin_short_backtrace::hc24dfc6dbc7f5867 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 36: 0x5ac3f7c1657a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h036a075b14c8a889 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5ac3f7c1657a - as core::ops::function::FnOnce<()>>::call_once::h77e5e1e1c11b3182 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5ac3f7c1657a - std::panicking::try::do_call::h64009ce4a7d5024a [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:587:40 [INFO] [stdout] 39: 0x5ac3f7c1657a - std::panicking::try::h9f253851f45b6cf2 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panicking.rs:550:19 [INFO] [stdout] 40: 0x5ac3f7c1657a - std::panic::catch_unwind::hbcdf318df191e0d2 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/panic.rs:358:14 [INFO] [stdout] 41: 0x5ac3f7c1657a - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b0514eb1722a9bb [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5ac3f7c1657a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h49ed8239622cf2ed [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5ac3f818823b - as core::ops::function::FnOnce>::call_once::h5d46408001e51da6 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 44: 0x5ac3f818823b - as core::ops::function::FnOnce>::call_once::hfb44b07af29285a8 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 45: 0x5ac3f818823b - std::sys::pal::unix::thread::Thread::new::thread_start::h3fe202b40d9df201 [INFO] [stdout] at /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 46: 0x7075a5fd2ac3 - [INFO] [stdout] 47: 0x7075a6063a04 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::health_check [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p app --test health_check_test` [INFO] running `Command { std: "docker" "inspect" "8b4b4a788c3708d7f711510aacd089d5880f0a785e01457bb673f907b109048d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b4b4a788c3708d7f711510aacd089d5880f0a785e01457bb673f907b109048d", kill_on_drop: false }` [INFO] [stdout] 8b4b4a788c3708d7f711510aacd089d5880f0a785e01457bb673f907b109048d