[INFO] cloning repository https://github.com/kaciras-blog/lwoss [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaciras-blog/lwoss" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaciras-blog%2Flwoss", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaciras-blog%2Flwoss'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 461983c51d5ebdf88f29454ae2dcb49e73dbfeb1 [INFO] testing kaciras-blog/lwoss against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaciras-blog%2Flwoss" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kaciras-blog/lwoss on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kaciras-blog/lwoss [INFO] finished tweaking git repo https://github.com/kaciras-blog/lwoss [INFO] tweaked toml for git repo https://github.com/kaciras-blog/lwoss written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kaciras-blog/lwoss 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" "+1.79.0" "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 `mime_guess` dependency) [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http-range-header v0.3.0 [INFO] [stderr] Downloaded xxhash-rust v0.8.6 [INFO] [stderr] Downloaded clap_derive v4.3.2 [INFO] [stderr] Downloaded axum-extra v0.7.4 [INFO] [stderr] Downloaded clap_builder v4.3.3 [INFO] [stderr] Downloaded tower-http v0.4.0 [INFO] [stderr] Downloaded similar v2.2.1 [INFO] [stderr] Downloaded insta v1.29.0 [INFO] [stderr] Downloaded clap v4.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 709f595c647a36389130c8b5967cde2717238893c373632464fa8e8005d47050 [INFO] running `Command { std: "docker" "start" "-a" "709f595c647a36389130c8b5967cde2717238893c373632464fa8e8005d47050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "709f595c647a36389130c8b5967cde2717238893c373632464fa8e8005d47050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "709f595c647a36389130c8b5967cde2717238893c373632464fa8e8005d47050", kill_on_drop: false }` [INFO] [stdout] 709f595c647a36389130c8b5967cde2717238893c373632464fa8e8005d47050 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 598d0132be0ce9c9eba86f97372107632387cfdb5245f82e979eeb93b1906249 [INFO] running `Command { std: "docker" "start" "-a" "598d0132be0ce9c9eba86f97372107632387cfdb5245f82e979eeb93b1906249", 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 `mime_guess` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling anstyle-parse v0.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling matchit v0.7.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling xxhash-rust v0.8.6 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.18 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling time v0.3.22 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling simplelog v0.12.1 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling clap_builder v4.3.3 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling diesel_derives v2.1.0 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling pin-project v1.1.0 [INFO] [stderr] Compiling clap v4.3.3 [INFO] [stderr] Compiling tower-http v0.4.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling diesel v2.1.0 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.3.19 [INFO] [stderr] Compiling toml_datetime v0.6.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.2 [INFO] [stderr] Compiling toml_edit v0.19.10 [INFO] [stderr] Compiling toml v0.7.4 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling axum-extra v0.7.4 [INFO] [stderr] Compiling lwoss v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/range.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncRead` [INFO] [stdout] --> src/range.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use futures::{AsyncRead, FutureExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::post` [INFO] [stdout] --> src/api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::routing::post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/range.rs:104:46 [INFO] [stdout] | [INFO] [stdout] 104 | pub async fn send_range(headers: &HeaderMap, mut reader: FileRangeReadr) -> Response { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/range.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | async fn single(builder: Builder, mut reader: FileRangeReadr, x: RangeInclusive) -> Response { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/range.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | use futures::{AsyncRead, FutureExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFutureExt` [INFO] [stdout] --> src/range.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | use futures::{AsyncRead, FutureExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/range.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | use futures::{AsyncRead, FutureExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body_limit` is never read [INFO] [stdout] --> src/main.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 42 | struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | body_limit: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/range.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum FileCache { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 26 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_file` is never used [INFO] [stdout] --> src/range.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn send_file( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CodecDetect` is never used [INFO] [stdout] --> src/manual.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum CodecDetect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "598d0132be0ce9c9eba86f97372107632387cfdb5245f82e979eeb93b1906249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "598d0132be0ce9c9eba86f97372107632387cfdb5245f82e979eeb93b1906249", kill_on_drop: false }` [INFO] [stdout] 598d0132be0ce9c9eba86f97372107632387cfdb5245f82e979eeb93b1906249 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bfa09bf4b43f858702016a5d19d17dd7b1795df416e6cf4f03aa88f14239cf4 [INFO] running `Command { std: "docker" "start" "-a" "4bfa09bf4b43f858702016a5d19d17dd7b1795df416e6cf4f03aa88f14239cf4", 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 `mime_guess` dependency) [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling similar v2.2.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling insta v1.29.0 [INFO] [stderr] Compiling lwoss v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/range.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncRead` [INFO] [stdout] --> src/range.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use futures::{AsyncRead, FutureExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::post` [INFO] [stdout] --> src/api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::routing::post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/range.rs:104:46 [INFO] [stdout] | [INFO] [stdout] 104 | pub async fn send_range(headers: &HeaderMap, mut reader: FileRangeReadr) -> Response { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/range.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | async fn single(builder: Builder, mut reader: FileRangeReadr, x: RangeInclusive) -> Response { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/range.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | use futures::{AsyncRead, FutureExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFutureExt` [INFO] [stdout] --> src/range.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | use futures::{AsyncRead, FutureExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/range.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | use futures::{AsyncRead, FutureExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body_limit` is never read [INFO] [stdout] --> src/main.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 42 | struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | body_limit: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_file` is never used [INFO] [stdout] --> src/range.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn send_file( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CodecDetect` is never used [INFO] [stdout] --> src/manual.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum CodecDetect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.90s [INFO] running `Command { std: "docker" "inspect" "4bfa09bf4b43f858702016a5d19d17dd7b1795df416e6cf4f03aa88f14239cf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bfa09bf4b43f858702016a5d19d17dd7b1795df416e6cf4f03aa88f14239cf4", kill_on_drop: false }` [INFO] [stdout] 4bfa09bf4b43f858702016a5d19d17dd7b1795df416e6cf4f03aa88f14239cf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4cec8a8abb868d928aad55427f888a186ba034e5c3511dd47ceee76d8def9df7 [INFO] running `Command { std: "docker" "start" "-a" "4cec8a8abb868d928aad55427f888a186ba034e5c3511dd47ceee76d8def9df7", 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 `mime_guess` dependency) [INFO] [stderr] warning: unused import: `std::future::Future` [INFO] [stderr] --> src/range.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::future::Future; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncRead` [INFO] [stderr] --> src/range.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | use futures::{AsyncRead, FutureExt, StreamExt, TryFutureExt}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `axum::routing::post` [INFO] [stderr] --> src/api.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use axum::routing::post; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/range.rs:104:46 [INFO] [stderr] | [INFO] [stderr] 104 | pub async fn send_range(headers: &HeaderMap, mut reader: FileRangeReadr) -> Response { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/range.rs:165:35 [INFO] [stderr] | [INFO] [stderr] 165 | async fn single(builder: Builder, mut reader: FileRangeReadr, x: RangeInclusive) -> Response { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused import: `StreamExt` [INFO] [stderr] --> src/range.rs:18:37 [INFO] [stderr] | [INFO] [stderr] 18 | use futures::{AsyncRead, FutureExt, StreamExt, TryFutureExt}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TryFutureExt` [INFO] [stderr] --> src/range.rs:18:48 [INFO] [stderr] | [INFO] [stderr] 18 | use futures::{AsyncRead, FutureExt, StreamExt, TryFutureExt}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FutureExt` [INFO] [stderr] --> src/range.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | use futures::{AsyncRead, FutureExt, StreamExt, TryFutureExt}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `body_limit` is never read [INFO] [stderr] --> src/main.rs:51:2 [INFO] [stderr] | [INFO] [stderr] 42 | struct AppConfig { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 51 | body_limit: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `send_file` is never used [INFO] [stderr] --> src/range.rs:79:14 [INFO] [stderr] | [INFO] [stderr] 79 | pub async fn send_file( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `CodecDetect` is never used [INFO] [stderr] --> src/manual.rs:57:10 [INFO] [stderr] | [INFO] [stderr] 57 | pub enum CodecDetect { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `lwoss` (bin "lwoss" test) generated 11 warnings (run `cargo fix --bin "lwoss" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lwoss-b854f38c7f7ae9ad) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test range::tests::etag ... ok [INFO] [stdout] test range::tests::not_found ... ok [INFO] [stdout] test range::tests::single ... ok [INFO] [stdout] test range::tests::non_range ... ok [INFO] [stdout] test range::tests::invalid_range ... ok [INFO] [stdout] test range::tests::multiple ... ok [INFO] [stdout] test range::tests::begin_only ... ok [INFO] [stdout] test range::tests::end_only ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4cec8a8abb868d928aad55427f888a186ba034e5c3511dd47ceee76d8def9df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cec8a8abb868d928aad55427f888a186ba034e5c3511dd47ceee76d8def9df7", kill_on_drop: false }` [INFO] [stdout] 4cec8a8abb868d928aad55427f888a186ba034e5c3511dd47ceee76d8def9df7 [INFO] testing kaciras-blog/lwoss against beta-2024-06-22 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaciras-blog%2Flwoss" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kaciras-blog/lwoss on toolchain beta-2024-06-22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kaciras-blog/lwoss [INFO] finished tweaking git repo https://github.com/kaciras-blog/lwoss [INFO] tweaked toml for git repo https://github.com/kaciras-blog/lwoss written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kaciras-blog/lwoss already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-06-22" "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 `mime_guess` dependency) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94dd32f74491005b16d00de8073308577fb5fdacb0d0759fa53b9a4226f7fffb [INFO] running `Command { std: "docker" "start" "-a" "94dd32f74491005b16d00de8073308577fb5fdacb0d0759fa53b9a4226f7fffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94dd32f74491005b16d00de8073308577fb5fdacb0d0759fa53b9a4226f7fffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94dd32f74491005b16d00de8073308577fb5fdacb0d0759fa53b9a4226f7fffb", kill_on_drop: false }` [INFO] [stdout] 94dd32f74491005b16d00de8073308577fb5fdacb0d0759fa53b9a4226f7fffb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3ac41f691d881838ebb8449b793692015fe06b32f968f8523af7f3c43d25e0f [INFO] running `Command { std: "docker" "start" "-a" "e3ac41f691d881838ebb8449b793692015fe06b32f968f8523af7f3c43d25e0f", 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 `mime_guess` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.0 [INFO] [stderr] Compiling anstyle v1.0.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling matchit v0.7.0 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling xxhash-rust v0.8.6 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.18 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling time v0.3.22 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.22/src/format_description/parse/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let items = format_items [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(items.into()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `items` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 83 | let items: Box<_> = format_items [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `time` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e3ac41f691d881838ebb8449b793692015fe06b32f968f8523af7f3c43d25e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3ac41f691d881838ebb8449b793692015fe06b32f968f8523af7f3c43d25e0f", kill_on_drop: false }` [INFO] [stdout] e3ac41f691d881838ebb8449b793692015fe06b32f968f8523af7f3c43d25e0f