[INFO] cloning repository https://github.com/lajp/clash-royale-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lajp/clash-royale-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flajp%2Fclash-royale-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flajp%2Fclash-royale-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f62a47b369deae572fc9b8e54f6509dacf0b30e [INFO] testing lajp/clash-royale-bot 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%2Flajp%2Fclash-royale-bot" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lajp/clash-royale-bot [INFO] finished tweaking git repo https://github.com/lajp/clash-royale-bot [INFO] tweaked toml for git repo https://github.com/lajp/clash-royale-bot written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lajp/clash-royale-bot 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/lajp/clash-royale-bot 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] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `serenity` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] db806f2a7626561b062ffff6ed4891f9f263ee24cddce7f6c5e5767e32573c81 [INFO] running `Command { std: "docker" "start" "-a" "db806f2a7626561b062ffff6ed4891f9f263ee24cddce7f6c5e5767e32573c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db806f2a7626561b062ffff6ed4891f9f263ee24cddce7f6c5e5767e32573c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db806f2a7626561b062ffff6ed4891f9f263ee24cddce7f6c5e5767e32573c81", kill_on_drop: false }` [INFO] [stdout] db806f2a7626561b062ffff6ed4891f9f263ee24cddce7f6c5e5767e32573c81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1a7e669a2c97b87f02ec16ddbcdc0155957ae11a6800326102d12e3404add00e [INFO] running `Command { std: "docker" "start" "-a" "1a7e669a2c97b87f02ec16ddbcdc0155957ae11a6800326102d12e3404add00e", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `serenity` dependency) [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl-src v111.17.0+1.1.1m [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling serenity v0.10.9 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling command_attr v0.3.7 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tracing-subscriber v0.3.3 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.23.1 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling clokwerk v0.3.5 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.7 [INFO] [stderr] Compiling clash-royale-bot 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:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | Players (id) { [INFO] [stdout] 4 | | id -> Integer, [INFO] [stdout] 5 | | discord_id -> BigInt, [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [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:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | Players (id) { [INFO] [stdout] 4 | | id -> Integer, [INFO] [stdout] | | -- `id` is not local [INFO] [stdout] 5 | | discord_id -> BigInt, [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [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:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | Players (id) { [INFO] [stdout] 4 | | id -> Integer, [INFO] [stdout] 5 | | discord_id -> BigInt, [INFO] [stdout] | | ---------- `discord_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_discord_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:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | Players (id) { [INFO] [stdout] 4 | | id -> Integer, [INFO] [stdout] 5 | | discord_id -> BigInt, [INFO] [stdout] 6 | | clash_royale_id -> Text, [INFO] [stdout] | | --------------- `clash_royale_id` is not local [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_clash_royale_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:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / table! { [INFO] [stdout] 3 | | Players (id) { [INFO] [stdout] 4 | | id -> Integer, [INFO] [stdout] 5 | | discord_id -> BigInt, [INFO] [stdout] 6 | | clash_royale_id -> Text, [INFO] [stdout] 7 | | last_updated -> BigInt, [INFO] [stdout] | | ------------ `last_updated` is not local [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_`QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_last_updated` [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:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Queryable, Clone, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Queryable` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_queryable_for_player` [INFO] [stdout] 2 | pub struct Player { [INFO] [stdout] | ------ `Player` 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:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[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_newplayer` [INFO] [stdout] 12 | #[table_name="Players"] [INFO] [stdout] 13 | pub struct NewPlayer { [INFO] [stdout] | --------- `NewPlayer` 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:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[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_newplayer` [INFO] [stdout] 12 | #[table_name="Players"] [INFO] [stdout] 13 | pub struct NewPlayer { [INFO] [stdout] | --------- `NewPlayer` 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:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[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_newplayer` [INFO] [stdout] 12 | #[table_name="Players"] [INFO] [stdout] 13 | pub struct NewPlayer { [INFO] [stdout] | --------- `NewPlayer` 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/rustcg3LeLB/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libtracing_subscriber-867d643d1f549aa7.rlib,libthread_local-f3100146a9d14467.rlib,libsharded_slab-5513b71284fab34e.rlib,libansi_term-bdfff57b5fb49171.rlib,libmatchers-5edc85095b7a2136.rlib,libregex_automata-a34e99598e24ddb3.rlib,libregex-df300059498790b5.rlib,libregex_syntax-ae12054508fb30be.rlib,libtracing_log-daeb466867e37195.rlib,libdotenv-071ec522f34dd5ab.rlib,libanyhow-2858c64878c73591.rlib,libclokwerk-4a129b936761d38c.rlib,libserenity-e86160d5ad4fa65b.rlib,libstatic_assertions-df27c3b343cf637f.rlib,libuwl-4e923f4efdd59a06.rlib,libtypemap_rev-26afbf9d0c71777a.rlib,libchrono-32d27185a6f2942f.rlib,libnum_integer-776fc74e87f61fcf.rlib,libnum_traits-e5050f906ed56291.rlib,libtime-da84419c211426cc.rlib,libreqwest-85432ea4a5b8929d.rlib,librustls_pemfile-f4c618a17a0dac39.rlib,libhyper_rustls-4eb45cfb380a3d38.rlib,libhyper_tls-5101f41c9d4cdb9b.rlib,libserde_urlencoded-42784bd88caad56b.rlib,libwebpki_roots-ebe37bdaeaf41e58.rlib,libipnet-de7db76026111e4e.rlib,libtokio_native_tls-2569290420edc44f.rlib,libtokio_rustls-b2e3438c1b9118bd.rlib,libencoding_rs-4e731bec34c6008e.rlib,libmime_guess-3acd940f06e3e478.rlib,libunicase-6460775036904752.rlib,libmime-2517c84452183460.rlib,librustls-fd1a9ac69d6019e8.rlib,libsct-7eb41a3c714c9285.rlib,libwebpki-af42f78677dce2c3.rlib,libnative_tls-4875f2b42a85e744.rlib,libopenssl_probe-8a0f606d549d520a.rlib,libopenssl-80a7f2760c13ae55.rlib,libbitflags-e274cd04b58a060d.rlib,libforeign_types-025c2fe8e99a8f1a.rlib,libforeign_types_shared-823307d82477c688.rlib,libopenssl_sys-6ca6a32fed27b4e4.rlib,libhyper-0295bcbaad85d2ed.rlib,libwant-633d9112559b1b2f.rlib,libtry_lock-d956e9fcf0af499a.rlib,libsocket2-9d30beb063976ff8.rlib,libh2-5386fd271c4b80fa.rlib,libindexmap-205a9cda8df2427d.rlib,libhashbrown-f6484c11bf24e065.rlib,libtower_service-a4da4ae722e0ce46.rlib,libtokio_util-f1a8c27c4d811b9f.rlib,libhttp_body-50df622c499c93dd.rlib,libtracing-9daf59d3b798563e.rlib,libtracing_core-cb9ff8edd824c994.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libfutures-622c995330fdc4f7.rlib,libfutures_executor-b26f3c8fd68e6bd9.rlib,libflate2-68550eb1d8c84bfa.rlib,libminiz_oxide-16b4b8547a6b52b2.rlib,libadler-b32dea79b2f05ffd.rlib,libcrc32fast-2f577f19d3018458.rlib,libasync_tungstenite-9b3cb6285af44eaf.rlib,libwebpki_roots-b471fce7064eab27.rlib,libpin_project-cbb39a6b4c88edd5.rlib,libtokio_rustls-1298778b2026ae0b.rlib,librustls-2fb79aac7a06b446.rlib,libbase64-1447dfff012d42f8.rlib,libsct-6eb2d884f90674b8.rlib,libwebpki-307f4529b0267a81.rlib,libring-b1960ee038b993b9.rlib,libspin-727e07ee1a68c4a1.rlib,libuntrusted-ac99e7922c585a09.rlib,libtokio-3482c94a5bb34175.rlib,libsignal_hook_registry-db88c77fa579aa5f.rlib,libnum_cpus-9bc0ac120b03b2a0.rlib,libonce_cell-aa4d53ed7caf4352.rlib,libmio-ec0c70146e696191.rlib,libfutures_util-3b5c1234d84db501.rlib,libmemchr-a2892755812de0fe.rlib,libslab-93074f6ff5a0b7db.rlib,libfutures_channel-139ff9d749335193.rlib,libpin_project_lite-668e52fe3a18bf8a.rlib,libfutures_sink-26e1cde46a1f65be.rlib,libfutures_task-767933cb8c25aa57.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-5d81b298188dcfe2.rlib,libfutures_io-9e2e646b1319d723.rlib,libtungstenite-955d9fa0f86ed7c4.rlib,librand-963a637d1309a7f8.rlib,librand_chacha-a493fb87aa545816.rlib,libppv_lite86-7955ccdf208dacd3.rlib,librand_core-47a8d0553c55e35d.rlib,libgetrandom-f16ac6fd9ff49973.rlib,libutf8-f59a957f78b3215a.rlib,libsha1-9373cc1e908fa349.rlib,libopaque_debug-bfd86111b0908dde.rlib,libcpufeatures-03d302c468f0d4ec.rlib,libblock_buffer-25706bba038043a1.rlib,libdigest-cb6da49643218646.rlib,libgeneric_array-1f475603ae941cbb.rlib,libtypenum-c30adc9f15bf22b3.rlib,libbase64-58f9c786d7f23eb6.rlib,libinput_buffer-5a75820fff9834b5.rlib,libbytes-3e6aab9f92fa68ff.rlib,libhttparse-d0c202cec822a6f8.rlib,liburl-4dc046bcdff1bf68.rlib,libidna-b27d6234464fcaf9.rlib,libunicode_normalization-b999db1f4766a6ba.rlib,libtinyvec-4bc788528a02b60f.rlib,libtinyvec_macros-c54c30cfa88e68f0.rlib,libunicode_bidi-fb711a4a1fa89e19.rlib,libform_urlencoded-08b32e4d9c417640.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libmatches-210e485a89affeee.rlib,libhttp-90db212c53e29df1.rlib,libitoa-7c9a83f6047c872a.rlib,libbytes-37e68ee094a72681.rlib,libfnv-81596130b397d5c3.rlib,libserde_json-baf3b3bb7c9b8218.rlib,libryu-653032556b772f2f.rlib,libitoa-158d7e21e599682f.rlib,libserde-dd4e3b3825c7c5f6.rlib,libdiesel-80edea0737e99f4f.rlib,liblibsqlite3_sys-851e240f4be0023a.rlib,libr2d2-3965d5078025fac7.rlib,libscheduled_thread_pool-5c6aabec802dbb13.rlib,libparking_lot-ba5344b171e09627.rlib,libparking_lot_core-a1b76ad4cabbaf04.rlib,liblibc-7253a04f790802a5.rlib,libsmallvec-58335197664382aa.rlib,liblock_api-c3c95a699de46305.rlib,libscopeguard-73056285f12cb829.rlib,libinstant-e23fa3fb52ce1101.rlib,liblog-ac2d7cc7e3389574.rlib,libcfg_if-66d55f6b302e88c8.rlib,libbyteorder-c7092f68299ac016.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/rustcg3LeLB/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-077b7de261ae6502/out" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/openssl-sys-15c885a08314813e/out/openssl-build/install/lib" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/ring-06fdfba297fd69d6/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/clash_royale_bot-a41d359576b7cf35" "-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-f16ac6fd9ff49973.rlib(getrandom-f16ac6fd9ff49973.getrandom.f85116abd144a55-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.16/src/util_libc.rs:113:(.text._ZN9getrandom9util_libc13open_readonly17haf9b9bfbdff27412E+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 `clash-royale-bot` (bin "clash-royale-bot") due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1a7e669a2c97b87f02ec16ddbcdc0155957ae11a6800326102d12e3404add00e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a7e669a2c97b87f02ec16ddbcdc0155957ae11a6800326102d12e3404add00e", kill_on_drop: false }` [INFO] [stdout] 1a7e669a2c97b87f02ec16ddbcdc0155957ae11a6800326102d12e3404add00e