[INFO] cloning repository https://github.com/lUn4-23/chat-net-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lUn4-23/chat-net-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlUn4-23%2Fchat-net-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlUn4-23%2Fchat-net-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49b23957d5bba25eb7b2d80c8936ed0e70ac96f4 [INFO] testing lUn4-23/chat-net-server against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlUn4-23%2Fchat-net-server" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lUn4-23/chat-net-server [INFO] finished tweaking git repo https://github.com/lUn4-23/chat-net-server [INFO] tweaked toml for git repo https://github.com/lUn4-23/chat-net-server written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lUn4-23/chat-net-server on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lUn4-23/chat-net-server 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v1.21.1 [INFO] [stderr] Downloaded pem v3.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 882806a83423fff6b46777de88442e96c18209253bbfd3c8c5928311dd016478 [INFO] running `Command { std: "docker" "start" "-a" "882806a83423fff6b46777de88442e96c18209253bbfd3c8c5928311dd016478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "882806a83423fff6b46777de88442e96c18209253bbfd3c8c5928311dd016478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "882806a83423fff6b46777de88442e96c18209253bbfd3c8c5928311dd016478", kill_on_drop: false }` [INFO] [stdout] 882806a83423fff6b46777de88442e96c18209253bbfd3c8c5928311dd016478 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b425f1622492a5d221f80b1d873f9095e9dd63efc7ad60b746c36876d0ce5d5f [INFO] running `Command { std: "docker" "start" "-a" "b425f1622492a5d221f80b1d873f9095e9dd63efc7ad60b746c36876d0ce5d5f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.32.0 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling rusqlite v0.34.0 [INFO] [stderr] Compiling chat-net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Json, Router, extract, response, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsonwebtoken` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use jsonwebtoken; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `axum::Json: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/main.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | token: axum::Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `axum::Json` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `axum::Json` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::raw::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 168 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `axum::Json: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/main.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | token: axum::Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `axum::Json` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `axum::Json` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::raw::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 168 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1869 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1870 | where [INFO] [stdout] 1871 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `axum::Json: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/main.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `axum::Json` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `axum::Json` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::raw::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 168 others [INFO] [stdout] note: required by a bound in `_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `axum::Json: Serialize` is not satisfied [INFO] [stdout] --> src/main.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `axum::Json` [INFO] [stdout] 96 | struct Session { [INFO] [stdout] 97 | token: axum::Json, [INFO] [stdout] | ------------------------------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `axum::Json` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 152 others [INFO] [stdout] note: required by a bound in `_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:1866:21 [INFO] [stdout] | [INFO] [stdout] 1864 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1865 | where [INFO] [stdout] 1866 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/main.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | async fn auth_user(extract::Json(payload): extract::Json) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chat-net` (bin "chat-net") due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b425f1622492a5d221f80b1d873f9095e9dd63efc7ad60b746c36876d0ce5d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b425f1622492a5d221f80b1d873f9095e9dd63efc7ad60b746c36876d0ce5d5f", kill_on_drop: false }` [INFO] [stdout] b425f1622492a5d221f80b1d873f9095e9dd63efc7ad60b746c36876d0ce5d5f