[INFO] cloning repository https://github.com/mcclatchy/rusty_api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mcclatchy/rusty_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcclatchy%2Frusty_api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcclatchy%2Frusty_api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed8ec279b93a971ccdcb49edcb4ad8c3bdf6d2c2 [INFO] testing mcclatchy/rusty_api against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcclatchy%2Frusty_api" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mcclatchy/rusty_api [INFO] finished tweaking git repo https://github.com/mcclatchy/rusty_api [INFO] tweaked toml for git repo https://github.com/mcclatchy/rusty_api written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mcclatchy/rusty_api on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mcclatchy/rusty_api 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d664d278b52f1b3f6055ea7e0ead39cdf1e7f75088d0af5c27bb39c963274a0c [INFO] running `Command { std: "docker" "start" "-a" "d664d278b52f1b3f6055ea7e0ead39cdf1e7f75088d0af5c27bb39c963274a0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d664d278b52f1b3f6055ea7e0ead39cdf1e7f75088d0af5c27bb39c963274a0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d664d278b52f1b3f6055ea7e0ead39cdf1e7f75088d0af5c27bb39c963274a0c", kill_on_drop: false }` [INFO] [stdout] d664d278b52f1b3f6055ea7e0ead39cdf1e7f75088d0af5c27bb39c963274a0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e4fbeb120ccc9e40d15918aa727e2b26431c33581ccf29a75bc7ee9f94c43a92 [INFO] running `Command { std: "docker" "start" "-a" "e4fbeb120ccc9e40d15918aa727e2b26431c33581ccf29a75bc7ee9f94c43a92", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling ahash v0.4.6 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling futures-lite v1.11.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling smallvec v1.5.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling tokio v0.3.5 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling lru v0.6.1 [INFO] [stderr] Compiling mio v0.7.6 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling fsio v0.1.3 [INFO] [stderr] Compiling bytes v0.6.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling spin v0.7.0 [INFO] [stderr] Compiling envmnt v0.8.4 [INFO] [stderr] Compiling async-std v1.7.0 [INFO] [stderr] Compiling cgi v0.6.0 [INFO] [stderr] Compiling urldecode v0.1.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling tokio-macros v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling async-stream v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling multer v1.2.2 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling async-graphql-value v2.0.5 [INFO] [stderr] Compiling bson v1.1.0 [INFO] [stderr] Compiling async-graphql-parser v2.1.2 [INFO] [stderr] Compiling async-graphql-derive v2.1.4 [INFO] [stderr] Compiling async-graphql v2.1.7 [INFO] [stderr] Compiling rusty_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | posts (id) { [INFO] [stdout] 3 | | id -> Text, [INFO] [stdout] 4 | | title -> Text, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `table` is not local [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_table` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[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 `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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | posts (id) { [INFO] [stdout] 3 | | id -> Text, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 4 | | title -> Text, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_id` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | posts (id) { [INFO] [stdout] 3 | | id -> Text, [INFO] [stdout] 4 | | title -> Text, [INFO] [stdout] | | ----- `title` is not local [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_title` [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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | posts (id) { [INFO] [stdout] 3 | | id -> Text, [INFO] [stdout] 4 | | title -> Text, [INFO] [stdout] 5 | | body -> Text, [INFO] [stdout] | | ---- `body` is not local [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_body` [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/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / table! { [INFO] [stdout] 2 | | posts (id) { [INFO] [stdout] 3 | | id -> Text, [INFO] [stdout] 4 | | title -> Text, [INFO] [stdout] 5 | | body -> Text, [INFO] [stdout] 6 | | published -> Bool, [INFO] [stdout] | | --------- `published` is not local [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_published` [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/models.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable, Insertable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_post` [INFO] [stdout] 7 | pub struct Post { [INFO] [stdout] | ---- `Post` 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/models.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable, 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_post` [INFO] [stdout] 7 | pub struct Post { [INFO] [stdout] | ---- `Post` 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/models.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable, 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_post` [INFO] [stdout] 7 | pub struct Post { [INFO] [stdout] | ---- `Post` 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/models.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Queryable, 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_post` [INFO] [stdout] 7 | pub struct Post { [INFO] [stdout] | ---- `Post` 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcgQJwm6/symbols.o" "<9 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libtokio-454a9d828be018e9.rlib,libsignal_hook_registry-f9b0df688ada2f6e.rlib,libnum_cpus-3f76d6ca851cba98.rlib,libbytes-ad92b4b895d6e126.rlib,libmio-d147150e8d0f3fe1.rlib,liburldecode-fade184eddbd35b5.rlib,librusty_api-d66f000d6fb32f1d.rlib,libtoml-34740a374fd7b8a1.rlib,libasync_graphql-c306c5572a790b4b.rlib,libblocking-59c35a61956352e5.rlib,libfutures_lite-2d1048137cb493c9.rlib,libfastrand-e119175d2828e6aa.rlib,libwaker_fn-a5e48e138c7cfc0a.rlib,libparking-e8e3e9cca08ecc67.rlib,libpin_project_lite-0ca2013d16485e58.rlib,libatomic_waker-3f97ef3c26c3e519.rlib,libasync_task-f2297bb9627d4a9b.rlib,libasync_channel-1be39edbc5481545.rlib,libconcurrent_queue-e4f29435bb894f00.rlib,libcache_padded-09eaef83cb37a81c.rlib,libtempfile-35e57826e7746420.rlib,libremove_dir_all-4e221c62d36b2749.rlib,libspin-748b483506bfaead.rlib,liblru-9c0501c82c0f384c.rlib,libstatic_assertions-df27c3b343cf637f.rlib,libasync_stream-dfdea36e604fea81.rlib,libuuid-29bf550f6f36f949.rlib,liburl-ec5cb3ac1e6324c2.rlib,libidna-870ade081d451e97.rlib,libunicode_normalization-56bcba8c1bad119f.rlib,libtinyvec-bf1dbee9b1979df8.rlib,libtinyvec_macros-c54c30cfa88e68f0.rlib,libunicode_bidi-3c976b4886511d83.rlib,libform_urlencoded-488e316ced97c0bc.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libmatches-d7125afe50072f5c.rlib,libasync_graphql_parser-7f6d6beb04911f2f.rlib,libpest-80731a695d4ad35d.rlib,libucd_trie-13451e140af838e0.rlib,libbson-de15eaf407da6f50.rlib,libbase64-58f9c786d7f23eb6.rlib,librand-985e687f46e961c9.rlib,librand_chacha-d5bc9eebe9d09904.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-a095151c856006aa.rlib,libgetrandom-1344fd9eb6376816.rlib,libhex-06cfbc8d0a660e4b.rlib,liblinked_hash_map-0f2b9de21f5e8ed8.rlib,libmulter-11a5b7889b6d96a0.rlib,libmime-2517c84452183460.rlib,libtwoway-452d176dfd876db6.rlib,libunchecked_index-e66b4165409f571d.rlib,libhttparse-84d0bdd2ca156c81.rlib,libencoding_rs-6d3f174ee004485f.rlib,libregex-dc6fc9a339096fe6.rlib,libthread_local-c6b88a4b7954c5cd.rlib,libregex_syntax-f08b89cd54c818a2.rlib,libaho_corasick-b254e07826576682.rlib,libfutures-637d6d81d4a38ac5.rlib,libfutures_executor-3ff020475bccf63e.rlib,libtracing-87f11b7fc3911191.rlib,libpin_project_lite-d0fd130d5e984292.rlib,libtracing_core-a852a6f7fd6e2f1f.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libchrono-a8713f5cb4783c9a.rlib,libnum_integer-f0f410ff67500ebc.rlib,libnum_traits-e187c9543899d750.rlib,libtime-c53152a6fc20a453.rlib,libsha2-50dc3c634a080611.rlib,libcpuid_bool-f14a20ba81419679.rlib,libopaque_debug-bfd86111b0908dde.rlib,libdigest-cb24a8a3b0469a00.rlib,libblock_buffer-3e06d8fb86df9fbf.rlib,libgeneric_array-21e94a8244c38e49.rlib,libtypenum-0d13c3a14e20be66.rlib,libasync_mutex-e2c0a8a7e868ac84.rlib,libevent_listener-f3861cd01bcd9b96.rlib,libasync_graphql_value-520959abbd764448.rlib,libserde_json-579b555c192d9979.rlib,libryu-af883cd9b444a782.rlib,libindexmap-0786852babd6569b.rlib,libhashbrown-4dacf4ab3f398383.rlib,libahash-4b8f73d3ee32f5ab.rlib,libfutures_util-94233e1e1f788f14.rlib,libmemchr-73e1d28ab8a2c4a0.rlib,libfutures_io-522ff199ae36f16d.rlib,libslab-7c577fd9ceb1ab41.rlib,libfutures_channel-d2694823b14afabc.rlib,libpin_project-a46a6233fd0e9fff.rlib,libfutures_sink-7b6a3cd975d6946f.rlib,libfutures_task-d67e9f1bede36b68.rlib,libonce_cell-942554d6a4b98f73.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-83bd470fdac9e3a5.rlib,libthiserror-aa1268c091d287bf.rlib,libserde-46a5cdb90e4c4c5d.rlib,libdiesel-ab15a18732a26831.rlib,liblibsqlite3_sys-a37c41eb135b6ad8.rlib,libr2d2-b132b43b71c08bbd.rlib,libscheduled_thread_pool-79506f26732e16fb.rlib,libparking_lot-b62ee844c7058cbb.rlib,libparking_lot_core-5b2a4e15383bb4fd.rlib,liblibc-ce4aba793d669fc4.rlib,libsmallvec-5af9f3f24dbe2067.rlib,liblock_api-96b38419b92836ef.rlib,libscopeguard-73056285f12cb829.rlib,libinstant-96e83b871cb6a3bd.rlib,libcfg_if-66d55f6b302e88c8.rlib,liblog-5ca0b1d9cc473f42.rlib,libcfg_if-2d17986ae484e939.rlib,libbyteorder-549def2b2525ef52.rlib,libcgi-ca4200145133e03a.rlib,libhttp-5cd50ddc06c5152b.rlib,libitoa-a59540a3a09fb750.rlib,libbytes-3e6aab9f92fa68ff.rlib,libfnv-81596130b397d5c3.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcgQJwm6/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/libsqlite3-sys-e6fe39adb1803f7c/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rusty_api-02d266c16971bd1f" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-1344fd9eb6376816.rlib(getrandom-1344fd9eb6376816.getrandom.7f3abae538de6bfd-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.15/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17h100941632568ea4eE+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_api` (bin "rusty_api") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "e4fbeb120ccc9e40d15918aa727e2b26431c33581ccf29a75bc7ee9f94c43a92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4fbeb120ccc9e40d15918aa727e2b26431c33581ccf29a75bc7ee9f94c43a92", kill_on_drop: false }` [INFO] [stdout] e4fbeb120ccc9e40d15918aa727e2b26431c33581ccf29a75bc7ee9f94c43a92