[INFO] fetching crate hashira 0.0.2-alpha... [INFO] testing hashira-0.0.2-alpha against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate hashira 0.0.2-alpha into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate hashira 0.0.2-alpha [INFO] finished tweaking crates.io crate hashira 0.0.2-alpha [INFO] tweaked toml for crates.io crate hashira 0.0.2-alpha written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hashira 0.0.2-alpha on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--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] Locking 124 packages to latest compatible versions [INFO] [stderr] Adding cookie v0.17.0 (available: v0.18.1) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.10.0) [INFO] [stderr] Adding matchit v0.7.3 (available: v0.8.6) [INFO] [stderr] Adding serde-wasm-bindgen v0.5.0 (available: v0.6.5) [INFO] [stderr] Adding serde_qs v0.12.0 (available: v0.15.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding yew v0.20.0 (available: v0.21.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded multer-derive-macros v0.1.1-alpha [INFO] [stderr] Downloaded hashira-macros v0.0.2-alpha [INFO] [stderr] Downloaded multer-derive v0.1.1-alpha [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bd2c7970ff66916dfefb81d365ee7cbf0e142d970b5ae18eb10fa54e646b7d8 [INFO] running `Command { std: "docker" "start" "-a" "9bd2c7970ff66916dfefb81d365ee7cbf0e142d970b5ae18eb10fa54e646b7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bd2c7970ff66916dfefb81d365ee7cbf0e142d970b5ae18eb10fa54e646b7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bd2c7970ff66916dfefb81d365ee7cbf0e142d970b5ae18eb10fa54e646b7d8", kill_on_drop: false }` [INFO] [stdout] 9bd2c7970ff66916dfefb81d365ee7cbf0e142d970b5ae18eb10fa54e646b7d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e71ba0c04b464cbfad09b6d19f00c02fe0da3adddeb053ae92585433b0775804 [INFO] running `Command { std: "docker" "start" "-a" "e71ba0c04b464cbfad09b6d19f00c02fe0da3adddeb053ae92585433b0775804", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling yew-macro v0.20.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling multer-derive-macros v0.1.1-alpha [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling hashira-macros v0.0.2-alpha [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pinned v0.1.0 [INFO] [stderr] Compiling prokio v0.1.0 [INFO] [stderr] Compiling multer-derive v0.1.1-alpha [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde-wasm-bindgen v0.5.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_qs v0.12.0 [INFO] [stderr] Compiling implicit-clone v0.3.10 [INFO] [stderr] Compiling gloo-utils v0.1.7 [INFO] [stderr] Compiling gloo-events v0.1.2 [INFO] [stderr] Compiling gloo-dialogs v0.1.1 [INFO] [stderr] Compiling gloo-render v0.1.1 [INFO] [stderr] Compiling gloo-file v0.2.3 [INFO] [stderr] Compiling gloo-console v0.2.3 [INFO] [stderr] Compiling gloo-history v0.1.5 [INFO] [stderr] Compiling gloo-storage v0.2.2 [INFO] [stderr] Compiling gloo-net v0.3.1 [INFO] [stderr] Compiling gloo-worker v0.2.1 [INFO] [stderr] Compiling gloo v0.8.1 [INFO] [stderr] Compiling yew v0.20.0 [INFO] [stderr] Compiling hashira v0.0.2-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `client` [INFO] [stdout] --> src/app/app.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | #[cfg_attr(client = "client", allow(unused_mut, unused_variables))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(client, values("client"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(client, values(\"client\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `client` [INFO] [stdout] --> src/app/app.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | #[cfg(not(client = "client"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(client, values("client"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(client, values(\"client\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes_::*` [INFO] [stdout] --> src/web/types/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use bytes_::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | init.headers(&headers); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | init.body(Some(&JsValue::from_str(&self))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | init.headers(&headers); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | init.body(Some(&JsValue::from_str(self))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | init.headers(&headers); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | init.body(Some(&JsValue::from_str(&json))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | init.headers(&headers); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | init.body(Some(&JsValue::from_str(¶ms))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | init.body(Some(&self)); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/app/router.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_match<'a>(&'a self, path: &'a str) -> Option> { [INFO] [stdout] | ^^ ^^ ---------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_match<'a>(&'a self, path: &'a str) -> Option> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/routing/params.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> indexmap::map::Iter { [INFO] [stdout] | ^^^^^ ----------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> indexmap::map::Iter<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/links.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn iter(&self) -> std::slice::Iter<'_, LinkTag> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/meta.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn attrs(&self) -> std::collections::btree_map::Iter { [INFO] [stdout] | ^^^^^ ------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn attrs(&self) -> std::collections::btree_map::Iter<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/meta.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn meta_tags(&self) -> std::collections::btree_map::Values { [INFO] [stdout] | ^^^^^ ---------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 66 | pub fn meta_tags(&self) -> std::collections::btree_map::Values<'_, String, MetaTag> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/scripts.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> std::slice::Iter<'_, ScriptTag> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "e71ba0c04b464cbfad09b6d19f00c02fe0da3adddeb053ae92585433b0775804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e71ba0c04b464cbfad09b6d19f00c02fe0da3adddeb053ae92585433b0775804", kill_on_drop: false }` [INFO] [stdout] e71ba0c04b464cbfad09b6d19f00c02fe0da3adddeb053ae92585433b0775804 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9ab9e01f7ae5ad4ee1f8c487edd9f8103fa4511bf8fb67e8431852fde81e7c39 [INFO] running `Command { std: "docker" "start" "-a" "9ab9e01f7ae5ad4ee1f8c487edd9f8103fa4511bf8fb67e8431852fde81e7c39", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling prokio v0.1.0 [INFO] [stderr] Compiling multer-derive v0.1.1-alpha [INFO] [stderr] Compiling yew v0.20.0 [INFO] [stderr] Compiling hashira v0.0.2-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `client` [INFO] [stdout] --> src/app/app.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | #[cfg_attr(client = "client", allow(unused_mut, unused_variables))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(client, values("client"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(client, values(\"client\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `client` [INFO] [stdout] --> src/app/app.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | #[cfg(not(client = "client"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(client, values("client"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(client, values(\"client\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes_::*` [INFO] [stdout] --> src/web/types/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use bytes_::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | init.headers(&headers); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | init.body(Some(&JsValue::from_str(&self))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | init.headers(&headers); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | init.body(Some(&JsValue::from_str(self))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | init.headers(&headers); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | init.body(Some(&JsValue::from_str(&json))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | init.headers(&headers); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | init.body(Some(&JsValue::from_str(¶ms))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | init.body(Some(&self)); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `client` [INFO] [stdout] --> src/app/app.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | #[cfg_attr(client = "client", allow(unused_mut, unused_variables))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(client, values("client"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(client, values(\"client\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `client` [INFO] [stdout] --> src/app/app.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | #[cfg(not(client = "client"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(client, values("client"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(client, values(\"client\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes_::*` [INFO] [stdout] --> src/web/types/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use bytes_::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/app/router.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_match<'a>(&'a self, path: &'a str) -> Option> { [INFO] [stdout] | ^^ ^^ ---------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_match<'a>(&'a self, path: &'a str) -> Option> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/routing/params.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> indexmap::map::Iter { [INFO] [stdout] | ^^^^^ ----------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> indexmap::map::Iter<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/links.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn iter(&self) -> std::slice::Iter<'_, LinkTag> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/meta.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn attrs(&self) -> std::collections::btree_map::Iter { [INFO] [stdout] | ^^^^^ ------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn attrs(&self) -> std::collections::btree_map::Iter<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/meta.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn meta_tags(&self) -> std::collections::btree_map::Values { [INFO] [stdout] | ^^^^^ ---------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 66 | pub fn meta_tags(&self) -> std::collections::btree_map::Values<'_, String, MetaTag> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/scripts.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> std::slice::Iter<'_, ScriptTag> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | init.headers(&headers); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | init.body(Some(&JsValue::from_str(&self))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | init.headers(&headers); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | init.body(Some(&JsValue::from_str(self))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | init.headers(&headers); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | init.body(Some(&JsValue::from_str(&json))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | init.headers(&headers); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | init.body(Some(&JsValue::from_str(¶ms))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/actions/into_request_config.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | init.body(Some(&self)); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/types/inject.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | struct Number(u32); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Number` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/app/router.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_match<'a>(&'a self, path: &'a str) -> Option> { [INFO] [stdout] | ^^ ^^ ---------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn find_match<'a>(&'a self, path: &'a str) -> Option> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/routing/params.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> indexmap::map::Iter { [INFO] [stdout] | ^^^^^ ----------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn iter(&self) -> indexmap::map::Iter<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/links.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn iter(&self) -> std::slice::Iter<'_, LinkTag> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/meta.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn attrs(&self) -> std::collections::btree_map::Iter { [INFO] [stdout] | ^^^^^ ------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn attrs(&self) -> std::collections::btree_map::Iter<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/meta.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn meta_tags(&self) -> std::collections::btree_map::Values { [INFO] [stdout] | ^^^^^ ---------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 66 | pub fn meta_tags(&self) -> std::collections::btree_map::Values<'_, String, MetaTag> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/scripts.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> std::slice::Iter<'_, ScriptTag> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.85s [INFO] running `Command { std: "docker" "inspect" "9ab9e01f7ae5ad4ee1f8c487edd9f8103fa4511bf8fb67e8431852fde81e7c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ab9e01f7ae5ad4ee1f8c487edd9f8103fa4511bf8fb67e8431852fde81e7c39", kill_on_drop: false }` [INFO] [stdout] 9ab9e01f7ae5ad4ee1f8c487edd9f8103fa4511bf8fb67e8431852fde81e7c39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8067ad9248cfcd48a41dfd66c94c95732051fc8001bcb4174c4654d53316be15 [INFO] running `Command { std: "docker" "start" "-a" "8067ad9248cfcd48a41dfd66c94c95732051fc8001bcb4174c4654d53316be15", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `client` [INFO] [stderr] --> src/app/app.rs:160:16 [INFO] [stderr] | [INFO] [stderr] 160 | #[cfg_attr(client = "client", allow(unused_mut, unused_variables))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(client, values("client"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(client, values(\"client\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `client` [INFO] [stderr] --> src/app/app.rs:162:19 [INFO] [stderr] | [INFO] [stderr] 162 | #[cfg(not(client = "client"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(client, values("client"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(client, values(\"client\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `bytes_::*` [INFO] [stderr] --> src/web/types/mod.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub use bytes_::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stderr] --> src/actions/into_request_config.rs:61:14 [INFO] [stderr] | [INFO] [stderr] 61 | init.headers(&headers); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stderr] --> src/actions/into_request_config.rs:62:14 [INFO] [stderr] | [INFO] [stderr] 62 | init.body(Some(&JsValue::from_str(&self))); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stderr] --> src/actions/into_request_config.rs:82:14 [INFO] [stderr] | [INFO] [stderr] 82 | init.headers(&headers); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stderr] --> src/actions/into_request_config.rs:83:14 [INFO] [stderr] | [INFO] [stderr] 83 | init.body(Some(&JsValue::from_str(self))); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stderr] --> src/actions/into_request_config.rs:105:14 [INFO] [stderr] | [INFO] [stderr] 105 | init.headers(&headers); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stderr] --> src/actions/into_request_config.rs:106:14 [INFO] [stderr] | [INFO] [stderr] 106 | init.body(Some(&JsValue::from_str(&json))); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `web_sys::RequestInit::headers`: Use `set_headers()` instead. [INFO] [stderr] --> src/actions/into_request_config.rs:126:14 [INFO] [stderr] | [INFO] [stderr] 126 | init.headers(&headers); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stderr] --> src/actions/into_request_config.rs:138:18 [INFO] [stderr] | [INFO] [stderr] 138 | init.body(Some(&JsValue::from_str(¶ms))); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stderr] --> src/actions/into_request_config.rs:151:14 [INFO] [stderr] | [INFO] [stderr] 151 | init.body(Some(&self)); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/app/router.rs:69:28 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn find_match<'a>(&'a self, path: &'a str) -> Option> { [INFO] [stderr] | ^^ ^^ ---------------- the lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 69 | pub fn find_match<'a>(&'a self, path: &'a str) -> Option> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/routing/params.rs:38:17 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn iter(&self) -> indexmap::map::Iter { [INFO] [stderr] | ^^^^^ ----------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 38 | pub fn iter(&self) -> indexmap::map::Iter<'_, String, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/server/links.rs:74:17 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stderr] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 74 | pub fn iter(&self) -> std::slice::Iter<'_, LinkTag> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/server/meta.rs:34:18 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn attrs(&self) -> std::collections::btree_map::Iter { [INFO] [stderr] | ^^^^^ ------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 34 | pub fn attrs(&self) -> std::collections::btree_map::Iter<'_, String, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/server/meta.rs:66:22 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn meta_tags(&self) -> std::collections::btree_map::Values { [INFO] [stderr] | ^^^^^ ---------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 66 | pub fn meta_tags(&self) -> std::collections::btree_map::Values<'_, String, MetaTag> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/server/scripts.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stderr] | ^^^^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 59 | pub fn iter(&self) -> std::slice::Iter<'_, ScriptTag> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `hashira` (lib) generated 18 warnings (run `cargo fix --lib -p hashira` to apply 7 suggestions) [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/web/types/inject.rs:51:23 [INFO] [stderr] | [INFO] [stderr] 51 | struct Number(u32); [INFO] [stderr] | ------ ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Number` 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: `hashira` (lib test) generated 19 warnings (18 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/hashira-149f441ea0817c40) [INFO] [stdout] [INFO] [stdout] running 59 tests [INFO] [stdout] test app::app_service::tests::app_data_test ... ok [INFO] [stdout] test app::app_service::tests::nested_route_test ... ok [INFO] [stdout] test app::app_service::tests::router_test ... ok [INFO] [stdout] test routing::params::tests::test_from_iterator ... ok [INFO] [stdout] test routing::params::tests::test_params ... ok [INFO] [stdout] test routing::path_router::tests::test_find_match ... ok [INFO] [stdout] test routing::path_router::tests::test_find_match_not_found ... ok [INFO] [stdout] test routing::path_router::tests::test_insert ... ok [INFO] [stdout] test routing::path_router::tests::test_invalid_empty_route ... ok [INFO] [stdout] test app::app_service::tests::page_route_test ... ok [INFO] [stdout] test routing::path_router::tests::test_invalid_starting_char_route ... ok [INFO] [stdout] test routing::path_router::tests::test_invalid_ending_char_route ... ok [INFO] [stdout] test routing::path_router::tests::test_invalid_whitespace_route ... ok [INFO] [stdout] test routing::path_router::tests::test_valid_route ... ok [INFO] [stdout] test routing::server_router::tests::at_any_method_route_test ... ok [INFO] [stdout] test routing::server_router::tests::at_method_mismatch_test ... ok [INFO] [stdout] test routing::server_router::tests::at_not_found_test ... ok [INFO] [stdout] test routing::server_router::tests::at_test ... ok [INFO] [stdout] test routing::server_router::tests::insert_different_methods_test ... ok [INFO] [stdout] test routing::server_router::tests::insert_invalid_path_test ... ok [INFO] [stdout] test routing::server_router::tests::insert_method_conflict_test_1 ... ok [INFO] [stdout] test routing::server_router::tests::insert_method_conflict_test_2 ... ok [INFO] [stdout] test routing::server_router::tests::insert_method_conflict_test_3 ... ok [INFO] [stdout] test routing::server_router::tests::insert_test ... ok [INFO] [stdout] test server::links::tests::test_add_attribute ... ok [INFO] [stdout] test server::links::tests::test_extend_page_links ... ok [INFO] [stdout] test server::links::tests::test_insert_page_links ... ok [INFO] [stdout] test server::links::tests::test_link_tag_display ... ok [INFO] [stdout] test server::links::tests::test_new_link_tag ... ok [INFO] [stdout] test server::links::tests::test_new_page_links ... ok [INFO] [stdout] test server::links::tests::test_new_script_tag ... ok [INFO] [stdout] test server::links::tests::test_new_stylesheet_link_tag ... ok [INFO] [stdout] test app::app_service::tests::error_route_test ... ok [INFO] [stdout] test server::meta::tests::test_extend ... ok [INFO] [stdout] test server::links::tests::test_page_links_display ... ok [INFO] [stdout] test server::meta::tests::test_new_meta_tag ... ok [INFO] [stdout] test server::meta::tests::test_metadata ... ok [INFO] [stdout] test server::meta::tests::test_with_content_meta_tag ... ok [INFO] [stdout] test server::scripts::tests::test_page_scripts_insert ... ok [INFO] [stdout] test server::scripts::tests::test_script_tag_with_attributes ... ok [INFO] [stdout] test server::scripts::tests::test_page_scripts_extend ... ok [INFO] [stdout] test server::scripts::tests::test_script_tag_with_content ... ok [INFO] [stdout] test web::types::data::tests::data_from_request_test ... ok [INFO] [stdout] test server::meta::tests::test_display_meta_tag ... ok [INFO] [stdout] test web::types::either_::tests::either_from_left_test ... ok [INFO] [stdout] test web::types::either_::tests::either_from_right_test ... ok [INFO] [stdout] test web::types::either_::tests::not_match_test ... ok [INFO] [stdout] test web::types::inject::tests::inject_test ... ok [INFO] [stdout] test web::types::form::tests::test_form_from_request_uri ... ok [INFO] [stdout] test web::types::json::tests::test_json_from_request ... ok [INFO] [stdout] test web::types::option::tests::option_from_request_test ... ok [INFO] [stdout] test web::types::result::tests::result_from_request_test ... ok [INFO] [stdout] test web::types::form::tests::test_form_from_request_body ... ok [INFO] [stdout] test web::types::query::tests::query_from_request_test ... ok [INFO] [stdout] test app::app_service::tests::duplicated_error_handler_test - should panic ... ok [INFO] [stdout] test app::app_service::tests::invalid_page_route_test_2 - should panic ... ok [INFO] [stdout] test app::app_service::tests::invalid_route_test_2 - should panic ... ok [INFO] [stdout] test app::app_service::tests::invalid_page_route_test_1 - should panic ... ok [INFO] [stdout] test app::app_service::tests::invalid_route_test_1 - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 59 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8067ad9248cfcd48a41dfd66c94c95732051fc8001bcb4174c4654d53316be15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8067ad9248cfcd48a41dfd66c94c95732051fc8001bcb4174c4654d53316be15", kill_on_drop: false }` [INFO] [stdout] 8067ad9248cfcd48a41dfd66c94c95732051fc8001bcb4174c4654d53316be15