[INFO] cloning repository https://github.com/dexgs/transpo2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dexgs/transpo2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdexgs%2Ftranspo2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdexgs%2Ftranspo2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1150df6dcaff4133c802c041b3d703d3ef683b1b [INFO] testing dexgs/transpo2 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%2Fdexgs%2Ftranspo2" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dexgs/transpo2 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/dexgs/transpo2 [INFO] finished tweaking git repo https://github.com/dexgs/transpo2 [INFO] tweaked toml for git repo https://github.com/dexgs/transpo2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dexgs/transpo2 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded waker-set v0.2.0 [INFO] [stderr] Downloaded trillium-http v0.2.11 [INFO] [stderr] Downloaded trillium-static v0.4.0 [INFO] [stderr] Downloaded streaming-zip v0.5.0 [INFO] [stderr] Downloaded smol-timeout v0.6.0 [INFO] [stderr] Downloaded routefinder v0.5.3 [INFO] [stderr] Downloaded trillium-server-common v0.3.0 [INFO] [stderr] Downloaded trillium-smol v0.2.1 [INFO] [stderr] Downloaded mime-db v1.6.0 [INFO] [stderr] Downloaded etag v3.0.0 [INFO] [stderr] Downloaded trillium-askama v0.3.0 [INFO] [stderr] Downloaded trillium-router v0.3.4 [INFO] [stderr] Downloaded async-net v1.7.0 [INFO] [stderr] Downloaded signal-hook-async-std v0.2.2 [INFO] [stderr] Downloaded rlimit v0.6.2 [INFO] [stderr] Downloaded trillium-tls-common v0.1.0 [INFO] [stderr] Downloaded str-buf v2.0.5 [INFO] [stderr] Downloaded trillium v0.2.6 [INFO] [stderr] Downloaded stopper v0.2.0 [INFO] [stderr] Downloaded trillium-websockets v0.5.1 [INFO] [stderr] Downloaded memmem v0.1.1 [INFO] [stderr] Downloaded smartcow v0.2.1 [INFO] [stderr] Downloaded libsqlite3-sys v0.22.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c0e6f0dfeefeb7e2a7152f7aad956766b31ac4b2f4b7686e7be2e7f2b2e4a1d0 [INFO] running `Command { std: "docker" "start" "-a" "c0e6f0dfeefeb7e2a7152f7aad956766b31ac4b2f4b7686e7be2e7f2b2e4a1d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0e6f0dfeefeb7e2a7152f7aad956766b31ac4b2f4b7686e7be2e7f2b2e4a1d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0e6f0dfeefeb7e2a7152f7aad956766b31ac4b2f4b7686e7be2e7f2b2e4a1d0", kill_on_drop: false }` [INFO] [stdout] c0e6f0dfeefeb7e2a7152f7aad956766b31ac4b2f4b7686e7be2e7f2b2e4a1d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 78f405e486a3711a4f896bf914f4a0f7dbf9118765bcdb7883f358a982d34df1 [INFO] running `Command { std: "docker" "start" "-a" "78f405e486a3711a4f896bf914f4a0f7dbf9118765bcdb7883f358a982d34df1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.52 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.27 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-io v0.3.27 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling concurrent-queue v2.1.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling async-lock v2.7.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling polling v2.6.0 [INFO] [stderr] Compiling async-trait v0.1.66 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling smartcow v0.2.1 [INFO] [stderr] Compiling waker-set v0.2.0 [INFO] [stderr] Compiling async-io v1.12.0 [INFO] [stderr] Compiling serde_derive v1.0.156 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling serde v1.0.156 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling memmem v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.11 [INFO] [stderr] Compiling atomic-waker v1.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling async-channel v1.8.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling blocking v1.3.0 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling futures-task v0.3.27 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling async-net v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.27 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling async-executor v1.5.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling async-process v1.6.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling futures-sink v0.3.27 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling rlimit v0.6.2 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling str-buf v2.0.5 [INFO] [stderr] Compiling xxhash-rust v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling futures-macro v0.3.27 [INFO] [stderr] Compiling etag v3.0.0 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling async-global-executor v2.3.1 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling stopper v0.2.0 [INFO] [stderr] Compiling trillium-http v0.2.11 [INFO] [stderr] Compiling trillium-tls-common v0.1.0 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling signal-hook-async-std v0.2.2 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling routefinder v0.5.3 [INFO] [stderr] Compiling trillium v0.2.6 [INFO] [stderr] Compiling relative-path v1.8.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling mime-db v1.6.0 [INFO] [stderr] Compiling smol-timeout v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling argon2 v0.4.1 [INFO] [stderr] Compiling smol v1.3.0 [INFO] [stderr] Compiling streaming-zip v0.5.0 [INFO] [stderr] Compiling urlencoding v2.1.2 [INFO] [stderr] Compiling async-tungstenite v0.17.2 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling trillium-server-common v0.3.0 [INFO] [stderr] Compiling trillium-websockets v0.5.1 [INFO] [stderr] Compiling trillium-static v0.4.0 [INFO] [stderr] Compiling trillium-router v0.3.4 [INFO] [stderr] Compiling trillium-smol v0.2.1 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling askama_shared v0.12.2 [INFO] [stderr] Compiling askama_derive v0.11.2 [INFO] [stderr] Compiling askama v0.11.1 [INFO] [stderr] Compiling trillium-askama v0.3.0 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling transpo2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `upload_id` is never read [INFO] [stdout] --> src/templates.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct UploadLinkTemplate { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | pub upload_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UploadLinkTemplate` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_id` is never read [INFO] [stdout] --> src/templates.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct PasteDownloadTemplate<'a> { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 146 | pub file_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PasteDownloadTemplate` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] --> src/db.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Insertable)] [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_upload` [INFO] [stdout] 48 | #[table_name="uploads"] [INFO] [stdout] 49 | pub struct Upload { [INFO] [stdout] | ------ `Upload` 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] --> src/db.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Insertable)] [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_upload` [INFO] [stdout] 48 | #[table_name="uploads"] [INFO] [stdout] 49 | pub struct Upload { [INFO] [stdout] | ------ `Upload` 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] --> src/db.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Insertable)] [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_upload` [INFO] [stdout] 48 | #[table_name="uploads"] [INFO] [stdout] 49 | pub struct Upload { [INFO] [stdout] | ------ `Upload` 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] --> src/db.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_upload` [INFO] [stdout] ... [INFO] [stdout] 49 | pub struct Upload { [INFO] [stdout] | ------ `Upload` 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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] | | --------- `file_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_file_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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] 72 | | mime_type -> Text, [INFO] [stdout] | | --------- `mime_type` is not local [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_mime_type` [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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] 72 | | mime_type -> Text, [INFO] [stdout] 73 | | password_hash -> Nullable, [INFO] [stdout] | | ------------- `password_hash` is not local [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_password_hash` [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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] ... | [INFO] [stdout] 74 | | remaining_downloads -> Nullable, [INFO] [stdout] | | ------------------- `remaining_downloads` is not local [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_remaining_downloads` [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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] ... | [INFO] [stdout] 75 | | num_accessors -> Integer, [INFO] [stdout] | | ------------- `num_accessors` is not local [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_num_accessors` [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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] ... | [INFO] [stdout] 76 | | expire_after -> Timestamp, [INFO] [stdout] | | ------------ `expire_after` is not local [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_expire_after` [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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] ... | [INFO] [stdout] 77 | | is_completed -> Bool, [INFO] [stdout] | | ------------ `is_completed` is not local [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_is_completed` [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "78f405e486a3711a4f896bf914f4a0f7dbf9118765bcdb7883f358a982d34df1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78f405e486a3711a4f896bf914f4a0f7dbf9118765bcdb7883f358a982d34df1", kill_on_drop: false }` [INFO] [stdout] 78f405e486a3711a4f896bf914f4a0f7dbf9118765bcdb7883f358a982d34df1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 819b944a60ddc36a8a8bf43502fdcdc9d03a5a5a551b12571f1a747d2909da9f [INFO] running `Command { std: "docker" "start" "-a" "819b944a60ddc36a8a8bf43502fdcdc9d03a5a5a551b12571f1a747d2909da9f", kill_on_drop: false }` [INFO] [stderr] Compiling transpo2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `upload_id` is never read [INFO] [stdout] --> src/templates.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct UploadLinkTemplate { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | pub upload_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UploadLinkTemplate` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_id` is never read [INFO] [stdout] --> src/templates.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct PasteDownloadTemplate<'a> { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 146 | pub file_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PasteDownloadTemplate` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] --> src/db.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Insertable)] [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_upload` [INFO] [stdout] 48 | #[table_name="uploads"] [INFO] [stdout] 49 | pub struct Upload { [INFO] [stdout] | ------ `Upload` 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] --> src/db.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Insertable)] [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_upload` [INFO] [stdout] 48 | #[table_name="uploads"] [INFO] [stdout] 49 | pub struct Upload { [INFO] [stdout] | ------ `Upload` 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] --> src/db.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Insertable)] [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_upload` [INFO] [stdout] 48 | #[table_name="uploads"] [INFO] [stdout] 49 | pub struct Upload { [INFO] [stdout] | ------ `Upload` 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] --> src/db.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Queryable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_upload` [INFO] [stdout] ... [INFO] [stdout] 49 | pub struct Upload { [INFO] [stdout] | ------ `Upload` 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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] | | --------- `file_name` is not local [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_file_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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] 72 | | mime_type -> Text, [INFO] [stdout] | | --------- `mime_type` is not local [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_mime_type` [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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] 72 | | mime_type -> Text, [INFO] [stdout] 73 | | password_hash -> Nullable, [INFO] [stdout] | | ------------- `password_hash` is not local [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_password_hash` [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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] ... | [INFO] [stdout] 74 | | remaining_downloads -> Nullable, [INFO] [stdout] | | ------------------- `remaining_downloads` is not local [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_remaining_downloads` [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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] ... | [INFO] [stdout] 75 | | num_accessors -> Integer, [INFO] [stdout] | | ------------- `num_accessors` is not local [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_num_accessors` [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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] ... | [INFO] [stdout] 76 | | expire_after -> Timestamp, [INFO] [stdout] | | ------------ `expire_after` is not local [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_expire_after` [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] --> src/db.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / table! { [INFO] [stdout] 69 | | uploads (id) { [INFO] [stdout] 70 | | id -> BigInt, [INFO] [stdout] 71 | | file_name -> Text, [INFO] [stdout] ... | [INFO] [stdout] 77 | | is_completed -> Bool, [INFO] [stdout] | | ------------ `is_completed` is not local [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_is_completed` [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] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.18s [INFO] running `Command { std: "docker" "inspect" "819b944a60ddc36a8a8bf43502fdcdc9d03a5a5a551b12571f1a747d2909da9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "819b944a60ddc36a8a8bf43502fdcdc9d03a5a5a551b12571f1a747d2909da9f", kill_on_drop: false }` [INFO] [stdout] 819b944a60ddc36a8a8bf43502fdcdc9d03a5a5a551b12571f1a747d2909da9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c5d9c2b97c798fd5e3e6501fc7e44c7c65c1ac3b74fe6b4e655043a3ff77d94f [INFO] running `Command { std: "docker" "start" "-a" "c5d9c2b97c798fd5e3e6501fc7e44c7c65c1ac3b74fe6b4e655043a3ff77d94f", kill_on_drop: false }` [INFO] [stderr] warning: field `upload_id` is never read [INFO] [stderr] --> src/templates.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 102 | pub struct UploadLinkTemplate { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 105 | pub upload_id: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UploadLinkTemplate` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `file_id` is never read [INFO] [stderr] --> src/templates.rs:146:9 [INFO] [stderr] | [INFO] [stderr] 145 | pub struct PasteDownloadTemplate<'a> { [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] 146 | pub file_id: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PasteDownloadTemplate` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/db.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Insertable)] [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_upload` [INFO] [stderr] 48 | #[table_name="uploads"] [INFO] [stderr] 49 | pub struct Upload { [INFO] [stderr] | ------ `Upload` 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] --> src/db.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Insertable)] [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_upload` [INFO] [stderr] 48 | #[table_name="uploads"] [INFO] [stderr] 49 | pub struct Upload { [INFO] [stderr] | ------ `Upload` 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] --> src/db.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Insertable)] [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_upload` [INFO] [stderr] 48 | #[table_name="uploads"] [INFO] [stderr] 49 | pub struct Upload { [INFO] [stderr] | ------ `Upload` 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] --> src/db.rs:46:10 [INFO] [stderr] | [INFO] [stderr] 46 | #[derive(Queryable)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Queryable` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_queryable_for_upload` [INFO] [stderr] ... [INFO] [stderr] 49 | pub struct Upload { [INFO] [stderr] | ------ `Upload` 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] --> src/db.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / table! { [INFO] [stderr] 69 | | uploads (id) { [INFO] [stderr] 70 | | id -> BigInt, [INFO] [stderr] 71 | | file_name -> Text, [INFO] [stderr] ... | [INFO] [stderr] 79 | | } [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] --> src/db.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / table! { [INFO] [stderr] 69 | | uploads (id) { [INFO] [stderr] 70 | | id -> BigInt, [INFO] [stderr] | | -- `id` is not local [INFO] [stderr] 71 | | file_name -> Text, [INFO] [stderr] ... | [INFO] [stderr] 79 | | } [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] --> src/db.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / table! { [INFO] [stderr] 69 | | uploads (id) { [INFO] [stderr] 70 | | id -> BigInt, [INFO] [stderr] 71 | | file_name -> Text, [INFO] [stderr] | | --------- `file_name` is not local [INFO] [stderr] ... | [INFO] [stderr] 79 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_file_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] --> src/db.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / table! { [INFO] [stderr] 69 | | uploads (id) { [INFO] [stderr] 70 | | id -> BigInt, [INFO] [stderr] 71 | | file_name -> Text, [INFO] [stderr] 72 | | mime_type -> Text, [INFO] [stderr] | | --------- `mime_type` is not local [INFO] [stderr] ... | [INFO] [stderr] 79 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_mime_type` [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] --> src/db.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / table! { [INFO] [stderr] 69 | | uploads (id) { [INFO] [stderr] 70 | | id -> BigInt, [INFO] [stderr] 71 | | file_name -> Text, [INFO] [stderr] 72 | | mime_type -> Text, [INFO] [stderr] 73 | | password_hash -> Nullable, [INFO] [stderr] | | ------------- `password_hash` is not local [INFO] [stderr] ... | [INFO] [stderr] 79 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_password_hash` [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] --> src/db.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / table! { [INFO] [stderr] 69 | | uploads (id) { [INFO] [stderr] 70 | | id -> BigInt, [INFO] [stderr] 71 | | file_name -> Text, [INFO] [stderr] ... | [INFO] [stderr] 74 | | remaining_downloads -> Nullable, [INFO] [stderr] | | ------------------- `remaining_downloads` is not local [INFO] [stderr] ... | [INFO] [stderr] 79 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_remaining_downloads` [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] --> src/db.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / table! { [INFO] [stderr] 69 | | uploads (id) { [INFO] [stderr] 70 | | id -> BigInt, [INFO] [stderr] 71 | | file_name -> Text, [INFO] [stderr] ... | [INFO] [stderr] 75 | | num_accessors -> Integer, [INFO] [stderr] | | ------------- `num_accessors` is not local [INFO] [stderr] ... | [INFO] [stderr] 79 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_num_accessors` [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] --> src/db.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / table! { [INFO] [stderr] 69 | | uploads (id) { [INFO] [stderr] 70 | | id -> BigInt, [INFO] [stderr] 71 | | file_name -> Text, [INFO] [stderr] ... | [INFO] [stderr] 76 | | expire_after -> Timestamp, [INFO] [stderr] | | ------------ `expire_after` is not local [INFO] [stderr] ... | [INFO] [stderr] 79 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_expire_after` [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] --> src/db.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / table! { [INFO] [stderr] 69 | | uploads (id) { [INFO] [stderr] 70 | | id -> BigInt, [INFO] [stderr] 71 | | file_name -> Text, [INFO] [stderr] ... | [INFO] [stderr] 77 | | is_completed -> Bool, [INFO] [stderr] | | ------------ `is_completed` is not local [INFO] [stderr] 78 | | } [INFO] [stderr] 79 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_`QueryId` is not local [INFO] [stderr] | move the `impl` block outside of this function `_impl_query_id_for_is_completed` [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: `transpo2` (bin "transpo2" test) generated 15 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/transpo2-29c8a7a37663f268) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test b64::tests::test_base64_decode ... ok [INFO] [stdout] test b64::tests::test_base64_encode ... ok [INFO] [stdout] test multipart_form::tests::test_parse ... ok [INFO] [stdout] test multipart_form::tests::test_find_subslice ... ok [INFO] [stdout] test multipart_form::tests::test_find_ending_subslice_of ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c5d9c2b97c798fd5e3e6501fc7e44c7c65c1ac3b74fe6b4e655043a3ff77d94f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5d9c2b97c798fd5e3e6501fc7e44c7c65c1ac3b74fe6b4e655043a3ff77d94f", kill_on_drop: false }` [INFO] [stdout] c5d9c2b97c798fd5e3e6501fc7e44c7c65c1ac3b74fe6b4e655043a3ff77d94f