[INFO] cloning repository https://github.com/dannyvi/demo-warp-rest-api-jwt-openapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dannyvi/demo-warp-rest-api-jwt-openapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdannyvi%2Fdemo-warp-rest-api-jwt-openapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdannyvi%2Fdemo-warp-rest-api-jwt-openapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ef2460eab38602fa5ce37e4a7e2add319cff24c [INFO] testing dannyvi/demo-warp-rest-api-jwt-openapi against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdannyvi%2Fdemo-warp-rest-api-jwt-openapi" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dannyvi/demo-warp-rest-api-jwt-openapi on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dannyvi/demo-warp-rest-api-jwt-openapi [INFO] finished tweaking git repo https://github.com/dannyvi/demo-warp-rest-api-jwt-openapi [INFO] tweaked toml for git repo https://github.com/dannyvi/demo-warp-rest-api-jwt-openapi written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dannyvi/demo-warp-rest-api-jwt-openapi 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ipnetwork v0.18.0 [INFO] [stderr] Downloaded base62 v1.1.5 [INFO] [stderr] Downloaded base62-uuid v1.1.0 [INFO] [stderr] Downloaded bigdecimal v0.1.2 [INFO] [stderr] Downloaded time v0.3.16 [INFO] [stderr] Downloaded time-macros v0.2.5 [INFO] [stderr] Downloaded listenfd v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3db20e433f9591725558debaf3c149200e811d6f6f589dc719ccaa4342814c4 [INFO] running `Command { std: "docker" "start" "-a" "f3db20e433f9591725558debaf3c149200e811d6f6f589dc719ccaa4342814c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3db20e433f9591725558debaf3c149200e811d6f6f589dc719ccaa4342814c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3db20e433f9591725558debaf3c149200e811d6f6f589dc719ccaa4342814c4", kill_on_drop: false }` [INFO] [stdout] f3db20e433f9591725558debaf3c149200e811d6f6f589dc719ccaa4342814c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d5e9bd25719fc5bd35d74ff01a3b2183e83678171700301f2c910dfc08c53a8 [INFO] running `Command { std: "docker" "start" "-a" "6d5e9bd25719fc5bd35d74ff01a3b2183e83678171700301f2c910dfc08c53a8", kill_on_drop: false }` [INFO] [stderr] warning: profile package spec `guppy` in profile `dev` did not match any packages [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling pq-sys v0.4.7 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling time-macros v0.2.5 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling iana-time-zone v0.1.51 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling time v0.3.16 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling base62 v1.1.5 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling headers v0.3.8 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling base62-uuid v1.1.0 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling pem v1.1.0 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling env_logger v0.9.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling listenfd v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling dotenvy v0.15.6 [INFO] [stderr] Compiling ipnetwork v0.18.0 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling uuid v1.2.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling jsonwebtoken v8.1.1 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling warp v0.3.3 [INFO] [stderr] Compiling demo-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/schema.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | users (id) { [INFO] [stdout] 5 | | id -> Varchar, [INFO] [stdout] 6 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::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:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | users (id) { [INFO] [stdout] 5 | | id -> Varchar, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 6 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [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 `diesel::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:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | users (id) { [INFO] [stdout] 5 | | id -> Varchar, [INFO] [stdout] 6 | | username -> Varchar, [INFO] [stdout] | | -------- `username` is not local [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_username` [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 `diesel::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:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | users (id) { [INFO] [stdout] 5 | | id -> Varchar, [INFO] [stdout] 6 | | username -> Varchar, [INFO] [stdout] 7 | | mobile -> Varchar, [INFO] [stdout] | | ------ `mobile` is not local [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_mobile` [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 `diesel::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:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | users (id) { [INFO] [stdout] 5 | | id -> Varchar, [INFO] [stdout] 6 | | username -> Varchar, [INFO] [stdout] 7 | | mobile -> Varchar, [INFO] [stdout] 8 | | created_at -> Timestamp, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_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 `diesel::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:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | users (id) { [INFO] [stdout] 5 | | id -> Varchar, [INFO] [stdout] 6 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 9 | | updated_at -> Timestamp, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_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 `diesel::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/models/user.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Queryable, Serialize, Deserialize, Debug, Clone, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_user` [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | ---- `User` 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: 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/models/user.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable, AsChangeset, Serialize, Deserialize)] [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_userdto` [INFO] [stdout] 17 | #[table_name = "users"] [INFO] [stdout] 18 | pub struct UserDTO { [INFO] [stdout] | ------- `UserDTO` 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] --> db/src/models/user.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable, AsChangeset, Serialize, Deserialize)] [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_userdto` [INFO] [stdout] 17 | #[table_name = "users"] [INFO] [stdout] 18 | pub struct UserDTO { [INFO] [stdout] | ------- `UserDTO` 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] --> db/src/models/user.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable, AsChangeset, Serialize, Deserialize)] [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_userdto` [INFO] [stdout] 17 | #[table_name = "users"] [INFO] [stdout] 18 | pub struct UserDTO { [INFO] [stdout] | ------- `UserDTO` 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] --> db/src/models/user.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable, AsChangeset, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_userdto` [INFO] [stdout] 17 | #[table_name = "users"] [INFO] [stdout] 18 | pub struct UserDTO { [INFO] [stdout] | ------- `UserDTO` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/models/user.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable, AsChangeset, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_userdto` [INFO] [stdout] 17 | #[table_name = "users"] [INFO] [stdout] 18 | pub struct UserDTO { [INFO] [stdout] | ------- `UserDTO` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling demo-warp-rest-api-jwt-openapi v0.1.0 (/opt/rustwide/workdir/api) [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> api/src/handles/users.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `redis_url` is never read [INFO] [stdout] --> api/src/context/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub database_url: String, [INFO] [stdout] 8 | pub redis_url: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [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" "6d5e9bd25719fc5bd35d74ff01a3b2183e83678171700301f2c910dfc08c53a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d5e9bd25719fc5bd35d74ff01a3b2183e83678171700301f2c910dfc08c53a8", kill_on_drop: false }` [INFO] [stdout] 6d5e9bd25719fc5bd35d74ff01a3b2183e83678171700301f2c910dfc08c53a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6b4fc183ae1e6a9c5753775cb08fd53e3b6bbbf0ac43a71cdc55fc1b92997b4 [INFO] running `Command { std: "docker" "start" "-a" "d6b4fc183ae1e6a9c5753775cb08fd53e3b6bbbf0ac43a71cdc55fc1b92997b4", kill_on_drop: false }` [INFO] [stderr] warning: profile package spec `guppy` in profile `dev` did not match any packages [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:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | users (id) { [INFO] [stdout] 5 | | id -> Varchar, [INFO] [stdout] 6 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::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:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | users (id) { [INFO] [stdout] 5 | | id -> Varchar, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 6 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [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 `diesel::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:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | users (id) { [INFO] [stdout] 5 | | id -> Varchar, [INFO] [stdout] 6 | | username -> Varchar, [INFO] [stdout] | | -------- `username` is not local [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_username` [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 `diesel::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:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | users (id) { [INFO] [stdout] 5 | | id -> Varchar, [INFO] [stdout] 6 | | username -> Varchar, [INFO] [stdout] 7 | | mobile -> Varchar, [INFO] [stdout] | | ------ `mobile` is not local [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_mobile` [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 `diesel::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:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | users (id) { [INFO] [stdout] 5 | | id -> Varchar, [INFO] [stdout] 6 | | username -> Varchar, [INFO] [stdout] 7 | | mobile -> Varchar, [INFO] [stdout] 8 | | created_at -> Timestamp, [INFO] [stdout] | | ---------- `created_at` is not local [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_created_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 `diesel::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:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / diesel::table! { [INFO] [stdout] 4 | | users (id) { [INFO] [stdout] 5 | | id -> Varchar, [INFO] [stdout] 6 | | username -> Varchar, [INFO] [stdout] ... | [INFO] [stdout] 9 | | updated_at -> Timestamp, [INFO] [stdout] | | ---------- `updated_at` is not local [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_updated_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 `diesel::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/models/user.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Queryable, Serialize, Deserialize, Debug, Clone, PartialEq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_user` [INFO] [stdout] 8 | pub struct User { [INFO] [stdout] | ---- `User` 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: 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/models/user.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable, AsChangeset, Serialize, Deserialize)] [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_userdto` [INFO] [stdout] 17 | #[table_name = "users"] [INFO] [stdout] 18 | pub struct UserDTO { [INFO] [stdout] | ------- `UserDTO` 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] --> db/src/models/user.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable, AsChangeset, Serialize, Deserialize)] [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_userdto` [INFO] [stdout] 17 | #[table_name = "users"] [INFO] [stdout] 18 | pub struct UserDTO { [INFO] [stdout] | ------- `UserDTO` 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] --> db/src/models/user.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable, AsChangeset, Serialize, Deserialize)] [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_userdto` [INFO] [stdout] 17 | #[table_name = "users"] [INFO] [stdout] 18 | pub struct UserDTO { [INFO] [stdout] | ------- `UserDTO` 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] --> db/src/models/user.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable, AsChangeset, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_userdto` [INFO] [stdout] 17 | #[table_name = "users"] [INFO] [stdout] 18 | pub struct UserDTO { [INFO] [stdout] | ------- `UserDTO` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/models/user.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Insertable, AsChangeset, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `AsChangeset` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_as_changeset_for_userdto` [INFO] [stdout] 17 | #[table_name = "users"] [INFO] [stdout] 18 | pub struct UserDTO { [INFO] [stdout] | ------- `UserDTO` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AsChangeset` 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 `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling demo-warp-rest-api-jwt-openapi v0.1.0 (/opt/rustwide/workdir/api) [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> api/src/handles/users.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `redis_url` is never read [INFO] [stdout] --> api/src/context/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub database_url: String, [INFO] [stdout] 8 | pub redis_url: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [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" "d6b4fc183ae1e6a9c5753775cb08fd53e3b6bbbf0ac43a71cdc55fc1b92997b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6b4fc183ae1e6a9c5753775cb08fd53e3b6bbbf0ac43a71cdc55fc1b92997b4", kill_on_drop: false }` [INFO] [stdout] d6b4fc183ae1e6a9c5753775cb08fd53e3b6bbbf0ac43a71cdc55fc1b92997b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bf04d506e4401c3d5ab685dbbcc7d6e660ded27723eabd997468e127a753a493 [INFO] running `Command { std: "docker" "start" "-a" "bf04d506e4401c3d5ab685dbbcc7d6e660ded27723eabd997468e127a753a493", kill_on_drop: false }` [INFO] [stderr] warning: profile package spec `guppy` in profile `dev` did not match any packages [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:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / diesel::table! { [INFO] [stderr] 4 | | users (id) { [INFO] [stderr] 5 | | id -> Varchar, [INFO] [stderr] 6 | | username -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 11 | | } [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: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `diesel::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:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / diesel::table! { [INFO] [stderr] 4 | | users (id) { [INFO] [stderr] 5 | | id -> Varchar, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 6 | | username -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 11 | | } [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 `diesel::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:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / diesel::table! { [INFO] [stderr] 4 | | users (id) { [INFO] [stderr] 5 | | id -> Varchar, [INFO] [stderr] 6 | | username -> Varchar, [INFO] [stderr] | | -------- `username` is not local [INFO] [stderr] ... | [INFO] [stderr] 11 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_username` [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 `diesel::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:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / diesel::table! { [INFO] [stderr] 4 | | users (id) { [INFO] [stderr] 5 | | id -> Varchar, [INFO] [stderr] 6 | | username -> Varchar, [INFO] [stderr] 7 | | mobile -> Varchar, [INFO] [stderr] | | ------ `mobile` is not local [INFO] [stderr] ... | [INFO] [stderr] 11 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_mobile` [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 `diesel::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:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / diesel::table! { [INFO] [stderr] 4 | | users (id) { [INFO] [stderr] 5 | | id -> Varchar, [INFO] [stderr] 6 | | username -> Varchar, [INFO] [stderr] 7 | | mobile -> Varchar, [INFO] [stderr] 8 | | created_at -> Timestamp, [INFO] [stderr] | | ---------- `created_at` is not local [INFO] [stderr] ... | [INFO] [stderr] 11 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_created_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 `diesel::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:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / diesel::table! { [INFO] [stderr] 4 | | users (id) { [INFO] [stderr] 5 | | id -> Varchar, [INFO] [stderr] 6 | | username -> Varchar, [INFO] [stderr] ... | [INFO] [stderr] 9 | | updated_at -> Timestamp, [INFO] [stderr] | | ---------- `updated_at` is not local [INFO] [stderr] 10 | | } [INFO] [stderr] 11 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_updated_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 `diesel::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/models/user.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Queryable, Serialize, Deserialize, Debug, Clone, PartialEq)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_user` [INFO] [stderr] 8 | pub struct User { [INFO] [stderr] | ---- `User` 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: 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/models/user.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Insertable, AsChangeset, Serialize, Deserialize)] [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_userdto` [INFO] [stderr] 17 | #[table_name = "users"] [INFO] [stderr] 18 | pub struct UserDTO { [INFO] [stderr] | ------- `UserDTO` 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] --> db/src/models/user.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Insertable, AsChangeset, Serialize, Deserialize)] [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_userdto` [INFO] [stderr] 17 | #[table_name = "users"] [INFO] [stderr] 18 | pub struct UserDTO { [INFO] [stderr] | ------- `UserDTO` 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] --> db/src/models/user.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Insertable, AsChangeset, Serialize, Deserialize)] [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_userdto` [INFO] [stderr] 17 | #[table_name = "users"] [INFO] [stderr] 18 | pub struct UserDTO { [INFO] [stderr] | ------- `UserDTO` 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] --> db/src/models/user.rs:16:22 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Insertable, AsChangeset, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `AsChangeset` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_changeset_for_userdto` [INFO] [stderr] 17 | #[table_name = "users"] [INFO] [stderr] 18 | pub struct UserDTO { [INFO] [stderr] | ------- `UserDTO` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `AsChangeset` 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 `AsChangeset` (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/models/user.rs:16:22 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Insertable, AsChangeset, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `AsChangeset` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_as_changeset_for_userdto` [INFO] [stderr] 17 | #[table_name = "users"] [INFO] [stderr] 18 | pub struct UserDTO { [INFO] [stderr] | ------- `UserDTO` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AsChangeset` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `AsChangeset` 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 `AsChangeset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `demo-db` (lib) generated 12 warnings [INFO] [stderr] warning: unused import: `std::convert::Infallible` [INFO] [stderr] --> api/src/handles/users.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::convert::Infallible; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `redis_url` is never read [INFO] [stderr] --> api/src/context/config.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Config { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 7 | pub database_url: String, [INFO] [stderr] 8 | pub redis_url: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `demo-warp-rest-api-jwt-openapi` (bin "api-server" test) generated 2 warnings (run `cargo fix --bin "api-server" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [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/main.rs (/opt/rustwide/target/debug/deps/api_server-064b2ccab35e87af) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test context::config::tests::it_gets_a_config_from_the_lazy_static ... FAILED [INFO] [stdout] test context::config::tests::it_gets_a_config ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- context::config::tests::it_gets_a_config_from_the_lazy_static stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'context::config::tests::it_gets_a_config_from_the_lazy_static' panicked at api/src/context/config.rs:25:23: [INFO] [stdout] Configuration Error: MissingValue( [INFO] [stdout] "database_url", [INFO] [stdout] ) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5845ba76f08a - std::backtrace_rs::backtrace::libunwind::trace::ha13ab8a94fd3bb92 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5845ba76f08a - std::backtrace_rs::backtrace::trace_unsynchronized::h2a4c556e569d314b [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5845ba76f08a - std::sys::backtrace::_print_fmt::hf52186dec7bdf1bb [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5845ba76f08a - ::fmt::hb5c3379828c15690 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5845ba795ad3 - core::fmt::rt::Argument::fmt::h8220db795cd6f76c [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5845ba795ad3 - core::fmt::write::hd20c41beeec2e8c0 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/fmt/mod.rs:1440:21 [INFO] [stdout] 6: 0x5845ba76bf83 - std::io::Write::write_fmt::hf276ec928345bea3 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x5845ba76eed2 - std::sys::backtrace::BacktraceLock::print::h4fa77b65bb5ed2ec [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5845ba7705c0 - std::panicking::default_hook::{{closure}}::hd3560f93167cf51e [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5845ba77035d - std::panicking::default_hook::h361b8e3c5cbb2501 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:319:9 [INFO] [stdout] 10: 0x5845ba723783 - as core::ops::function::Fn>::call::h52b4c42c9dce8b0e [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 11: 0x5845ba723783 - test::test_main::{{closure}}::h1a9dc25180417899 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x5845ba770df3 - as core::ops::function::Fn>::call::h080867abcafb687f [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 13: 0x5845ba770df3 - std::panicking::rust_panic_with_hook::h7e187ba6ef3a8505 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:836:13 [INFO] [stdout] 14: 0x5845ba770aca - std::panicking::begin_panic_handler::{{closure}}::h2160aaedd30b4698 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:701:13 [INFO] [stdout] 15: 0x5845ba76f589 - std::sys::backtrace::__rust_end_short_backtrace::h2544fe16c7a2009f [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5845ba77075d - rust_begin_unwind [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:692:5 [INFO] [stdout] 17: 0x5845ba6e3d30 - core::panicking::panic_fmt::h55d7693adb8e1cee [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5845ba6e846a - api_server::context::config::get_config::heefceba730aec5c6 [INFO] [stdout] at /opt/rustwide/workdir/api/src/context/config.rs:25:23 [INFO] [stdout] 19: 0x5845ba6e56d1 - ::deref::__static_ref_initialize::h24d41b13b44ee3ea [INFO] [stdout] at /opt/rustwide/workdir/api/src/context/config.rs:16:37 [INFO] [stdout] 20: 0x5845ba6e56d1 - core::ops::function::FnOnce::call_once::h1b657dfad9445169 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 21: 0x5845ba6e46d6 - lazy_static::lazy::Lazy::get::{{closure}}::h40158664361d0ebc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lazy_static-1.4.0/src/inline_lazy.rs:31:29 [INFO] [stdout] 22: 0x5845ba6e4978 - std::sync::poison::once::Once::call_once::{{closure}}::h44ca898756c90176 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/sync/poison/once.rs:158:41 [INFO] [stdout] 23: 0x5845ba6e33c4 - std::sys::sync::once::futex::Once::call::h41951b69df6eddce [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/sys/sync/once/futex.rs:176:21 [INFO] [stdout] 24: 0x5845ba6e48e4 - std::sync::poison::once::Once::call_once::hb290647bc9e93aa9 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/sync/poison/once.rs:158:9 [INFO] [stdout] 25: 0x5845ba6e9e1f - lazy_static::lazy::Lazy::get::hdffe1fc6428c305b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lazy_static-1.4.0/src/inline_lazy.rs:30:9 [INFO] [stdout] 26: 0x5845ba6e9e1f - ::deref::__stability::hc712bf37611505f2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lazy_static-1.4.0/src/lib.rs:142:21 [INFO] [stdout] 27: 0x5845ba6e9e1f - ::deref::hc357cb71fdfd3a73 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lazy_static-1.4.0/src/lib.rs:144:17 [INFO] [stdout] 28: 0x5845ba6ea018 - api_server::context::config::tests::it_gets_a_config_from_the_lazy_static::hbee25665ebc1f5d4 [INFO] [stdout] at /opt/rustwide/workdir/api/src/context/config.rs:42:20 [INFO] [stdout] 29: 0x5845ba6e9fe7 - api_server::context::config::tests::it_gets_a_config_from_the_lazy_static::{{closure}}::h8477758df11db540 [INFO] [stdout] at /opt/rustwide/workdir/api/src/context/config.rs:40:47 [INFO] [stdout] 30: 0x5845ba6e5696 - core::ops::function::FnOnce::call_once::h0804f2fa8ab2d8e9 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 31: 0x5845ba728fdb - core::ops::function::FnOnce::call_once::h42df3dc9a56fb705 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 32: 0x5845ba728fdb - test::__rust_begin_short_backtrace::hf2ff4d4d12dd75b0 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/test/src/lib.rs:632:18 [INFO] [stdout] 33: 0x5845ba727e63 - test::run_test_in_process::{{closure}}::h8461a23c6c0ac10c [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/test/src/lib.rs:655:60 [INFO] [stdout] 34: 0x5845ba727e63 - as core::ops::function::FnOnce<()>>::call_once::hefab1bfcb42baf2e [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 35: 0x5845ba727e63 - std::panicking::try::do_call::h75c82cb1133d19f1 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:584:40 [INFO] [stdout] 36: 0x5845ba727e63 - std::panicking::try::h41d68fc63841231a [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:547:19 [INFO] [stdout] 37: 0x5845ba727e63 - std::panic::catch_unwind::h7a7ff6adf9e0c698 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panic.rs:358:14 [INFO] [stdout] 38: 0x5845ba727e63 - test::run_test_in_process::hcd527530689ec177 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/test/src/lib.rs:655:27 [INFO] [stdout] 39: 0x5845ba727e63 - test::run_test::{{closure}}::h51ba581aac56ca21 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/test/src/lib.rs:576:43 [INFO] [stdout] 40: 0x5845ba6ebb65 - test::run_test::{{closure}}::h9d0d2581742c4e6c [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/test/src/lib.rs:606:41 [INFO] [stdout] 41: 0x5845ba6ebb65 - std::sys::backtrace::__rust_begin_short_backtrace::h94b953e0285eca69 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 42: 0x5845ba6ef5f6 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hac891bfe52f0501a [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/thread/mod.rs:564:17 [INFO] [stdout] 43: 0x5845ba6ef5f6 - as core::ops::function::FnOnce<()>>::call_once::hd4f76b3ef0615394 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 44: 0x5845ba6ef5f6 - std::panicking::try::do_call::h31b1a419f4fa670c [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:584:40 [INFO] [stdout] 45: 0x5845ba6ef5f6 - std::panicking::try::h277e348adef7f0af [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:547:19 [INFO] [stdout] 46: 0x5845ba6ef5f6 - std::panic::catch_unwind::h06db5059e51a109d [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panic.rs:358:14 [INFO] [stdout] 47: 0x5845ba6ef5f6 - std::thread::Builder::spawn_unchecked_::{{closure}}::h048aed1b5c822396 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/thread/mod.rs:562:30 [INFO] [stdout] 48: 0x5845ba6ef5f6 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9f03098da71d0b51 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 49: 0x5845ba774f4b - as core::ops::function::FnOnce>::call_once::hcc221cc1d8cbbdc7 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 50: 0x5845ba774f4b - as core::ops::function::FnOnce>::call_once::he5e5264a0dcd6e5f [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 51: 0x5845ba774f4b - std::sys::pal::unix::thread::Thread::new::thread_start::h307a072356a0dfca [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 52: 0x75b170db6ac3 - [INFO] [stdout] 53: 0x75b170e47a04 - clone [INFO] [stdout] 54: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- context::config::tests::it_gets_a_config stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'context::config::tests::it_gets_a_config' panicked at api/src/context/config.rs:25:23: [INFO] [stdout] Configuration Error: MissingValue( [INFO] [stdout] "database_url", [INFO] [stdout] ) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5845ba76f08a - std::backtrace_rs::backtrace::libunwind::trace::ha13ab8a94fd3bb92 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5845ba76f08a - std::backtrace_rs::backtrace::trace_unsynchronized::h2a4c556e569d314b [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5845ba76f08a - std::sys::backtrace::_print_fmt::hf52186dec7bdf1bb [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5845ba76f08a - ::fmt::hb5c3379828c15690 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5845ba795ad3 - core::fmt::rt::Argument::fmt::h8220db795cd6f76c [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5845ba795ad3 - core::fmt::write::hd20c41beeec2e8c0 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/fmt/mod.rs:1440:21 [INFO] [stdout] 6: 0x5845ba76bf83 - std::io::Write::write_fmt::hf276ec928345bea3 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x5845ba76eed2 - std::sys::backtrace::BacktraceLock::print::h4fa77b65bb5ed2ec [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5845ba7705c0 - std::panicking::default_hook::{{closure}}::hd3560f93167cf51e [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5845ba77035d - std::panicking::default_hook::h361b8e3c5cbb2501 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:319:9 [INFO] [stdout] 10: 0x5845ba723783 - as core::ops::function::Fn>::call::h52b4c42c9dce8b0e [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 11: 0x5845ba723783 - test::test_main::{{closure}}::h1a9dc25180417899 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x5845ba770df3 - as core::ops::function::Fn>::call::h080867abcafb687f [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 13: 0x5845ba770df3 - std::panicking::rust_panic_with_hook::h7e187ba6ef3a8505 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:836:13 [INFO] [stdout] 14: 0x5845ba770aca - std::panicking::begin_panic_handler::{{closure}}::h2160aaedd30b4698 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:701:13 [INFO] [stdout] 15: 0x5845ba76f589 - std::sys::backtrace::__rust_end_short_backtrace::h2544fe16c7a2009f [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5845ba77075d - rust_begin_unwind [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:692:5 [INFO] [stdout] 17: 0x5845ba6e3d30 - core::panicking::panic_fmt::h55d7693adb8e1cee [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5845ba6e846a - api_server::context::config::get_config::heefceba730aec5c6 [INFO] [stdout] at /opt/rustwide/workdir/api/src/context/config.rs:25:23 [INFO] [stdout] 19: 0x5845ba6e9eb1 - api_server::context::config::tests::it_gets_a_config::h11b0f2831cfdcd5c [INFO] [stdout] at /opt/rustwide/workdir/api/src/context/config.rs:35:22 [INFO] [stdout] 20: 0x5845ba6e9e87 - api_server::context::config::tests::it_gets_a_config::{{closure}}::h63e14d158220cbcc [INFO] [stdout] at /opt/rustwide/workdir/api/src/context/config.rs:34:26 [INFO] [stdout] 21: 0x5845ba6e5766 - core::ops::function::FnOnce::call_once::hb5cbf7333fe30fb8 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x5845ba728fdb - core::ops::function::FnOnce::call_once::h42df3dc9a56fb705 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5845ba728fdb - test::__rust_begin_short_backtrace::hf2ff4d4d12dd75b0 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/test/src/lib.rs:632:18 [INFO] [stdout] 24: 0x5845ba727e63 - test::run_test_in_process::{{closure}}::h8461a23c6c0ac10c [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/test/src/lib.rs:655:60 [INFO] [stdout] 25: 0x5845ba727e63 - as core::ops::function::FnOnce<()>>::call_once::hefab1bfcb42baf2e [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 26: 0x5845ba727e63 - std::panicking::try::do_call::h75c82cb1133d19f1 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:584:40 [INFO] [stdout] 27: 0x5845ba727e63 - std::panicking::try::h41d68fc63841231a [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:547:19 [INFO] [stdout] 28: 0x5845ba727e63 - std::panic::catch_unwind::h7a7ff6adf9e0c698 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panic.rs:358:14 [INFO] [stdout] 29: 0x5845ba727e63 - test::run_test_in_process::hcd527530689ec177 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/test/src/lib.rs:655:27 [INFO] [stdout] 30: 0x5845ba727e63 - test::run_test::{{closure}}::h51ba581aac56ca21 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/test/src/lib.rs:576:43 [INFO] [stdout] 31: 0x5845ba6ebb65 - test::run_test::{{closure}}::h9d0d2581742c4e6c [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/test/src/lib.rs:606:41 [INFO] [stdout] 32: 0x5845ba6ebb65 - std::sys::backtrace::__rust_begin_short_backtrace::h94b953e0285eca69 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 33: 0x5845ba6ef5f6 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hac891bfe52f0501a [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/thread/mod.rs:564:17 [INFO] [stdout] 34: 0x5845ba6ef5f6 - as core::ops::function::FnOnce<()>>::call_once::hd4f76b3ef0615394 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 35: 0x5845ba6ef5f6 - std::panicking::try::do_call::h31b1a419f4fa670c [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:584:40 [INFO] [stdout] 36: 0x5845ba6ef5f6 - std::panicking::try::h277e348adef7f0af [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panicking.rs:547:19 [INFO] [stdout] 37: 0x5845ba6ef5f6 - std::panic::catch_unwind::h06db5059e51a109d [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/panic.rs:358:14 [INFO] [stdout] 38: 0x5845ba6ef5f6 - std::thread::Builder::spawn_unchecked_::{{closure}}::h048aed1b5c822396 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/thread/mod.rs:562:30 [INFO] [stdout] 39: 0x5845ba6ef5f6 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9f03098da71d0b51 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x5845ba774f4b - as core::ops::function::FnOnce>::call_once::hcc221cc1d8cbbdc7 [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 41: 0x5845ba774f4b - as core::ops::function::FnOnce>::call_once::he5e5264a0dcd6e5f [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 42: 0x5845ba774f4b - std::sys::pal::unix::thread::Thread::new::thread_start::h307a072356a0dfca [INFO] [stdout] at /rustc/fe9b9751fa54a5871b87cd36a582f9b7b06123fd/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 43: 0x75b170db6ac3 - [INFO] [stdout] 44: 0x75b170e47a04 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] context::config::tests::it_gets_a_config [INFO] [stdout] context::config::tests::it_gets_a_config_from_the_lazy_static [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin api-server` [INFO] running `Command { std: "docker" "inspect" "bf04d506e4401c3d5ab685dbbcc7d6e660ded27723eabd997468e127a753a493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf04d506e4401c3d5ab685dbbcc7d6e660ded27723eabd997468e127a753a493", kill_on_drop: false }` [INFO] [stdout] bf04d506e4401c3d5ab685dbbcc7d6e660ded27723eabd997468e127a753a493