[INFO] fetching crate mizumochi 0.1.0... [INFO] testing mizumochi-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate mizumochi 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate mizumochi 0.1.0 [INFO] finished tweaking crates.io crate mizumochi 0.1.0 [INFO] tweaked toml for crates.io crate mizumochi 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mizumochi 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 117 packages to latest compatible versions [INFO] [stderr] Adding bytecodec v0.4.15 (available: v0.5.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.51) [INFO] [stderr] Adding fibers_http_server v0.1.12 (available: v0.3.0) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.44) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 549ebcfe09815b87dd85219455f50a379351fd9e3a68f5663bd1f443c5f3feef [INFO] running `Command { std: "docker" "start" "-a" "549ebcfe09815b87dd85219455f50a379351fd9e3a68f5663bd1f443c5f3feef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "549ebcfe09815b87dd85219455f50a379351fd9e3a68f5663bd1f443c5f3feef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "549ebcfe09815b87dd85219455f50a379351fd9e3a68f5663bd1f443c5f3feef", kill_on_drop: false }` [INFO] [stdout] 549ebcfe09815b87dd85219455f50a379351fd9e3a68f5663bd1f443c5f3feef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46418d33167426a73402a6e1df75d216f0a4bea21cd5943b63750088f55bbed8 [INFO] running `Command { std: "docker" "start" "-a" "46418d33167426a73402a6e1df75d216f0a4bea21cd5943b63750088f55bbed8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling fuse v0.3.1 [INFO] [stderr] Compiling slog v2.8.2 [INFO] [stderr] Compiling procinfo v0.4.2 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling nbchan v0.1.3 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Compiling atomic_immut v0.1.4 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling splay_tree v0.2.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling term v1.2.0 [INFO] [stderr] Compiling factory v0.1.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling fibers v0.1.13 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Compiling slog-term v2.9.2 [INFO] [stderr] Compiling trackable v1.3.0 [INFO] [stderr] Compiling trackable v0.2.24 [INFO] [stderr] Compiling bytecodec v0.4.15 [INFO] [stderr] Compiling httpcodec v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling prometrics v0.1.13 [INFO] [stderr] Compiling fibers_http_server v0.1.12 [INFO] [stderr] Compiling mizumochi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | ) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:157:53 [INFO] [stdout] | [INFO] [stdout] 157 | fn parse_time(mut input: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 157 | fn parse_time(mut input: String) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config/speed.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | let speed = s.parse::().map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config/speed.rs:37:58 [INFO] [stdout] | [INFO] [stdout] 37 | let speed = s.parse::().map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mizumochi.rs:375:57 [INFO] [stdout] | [INFO] [stdout] 375 | error!(self.logger, "init error: {}", error.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mizumochi.rs:389:67 [INFO] [stdout] | [INFO] [stdout] 389 | error!(self.logger, "lookup error: {}", error.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mizumochi.rs:446:68 [INFO] [stdout] | [INFO] [stdout] 446 | error!(self.logger, "readdir error: {}", error.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mizumochi.rs:876:61 [INFO] [stdout] | [INFO] [stdout] 876 | error!(self.logger, "init error: {}", error.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `speed_limit_disabled` is never read [INFO] [stdout] --> src/metrics.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Metrics { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub speed_limit_disabled: Counter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "46418d33167426a73402a6e1df75d216f0a4bea21cd5943b63750088f55bbed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46418d33167426a73402a6e1df75d216f0a4bea21cd5943b63750088f55bbed8", kill_on_drop: false }` [INFO] [stdout] 46418d33167426a73402a6e1df75d216f0a4bea21cd5943b63750088f55bbed8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 500bcd276f5c23c497f989726162c891b84cb6843d29fa9b8ae9d70be866c959 [INFO] running `Command { std: "docker" "start" "-a" "500bcd276f5c23c497f989726162c891b84cb6843d29fa9b8ae9d70be866c959", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling mizumochi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | ) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:157:53 [INFO] [stdout] | [INFO] [stdout] 157 | fn parse_time(mut input: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 157 | fn parse_time(mut input: String) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config/speed.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | let speed = s.parse::().map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config/speed.rs:37:58 [INFO] [stdout] | [INFO] [stdout] 37 | let speed = s.parse::().map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mizumochi.rs:375:57 [INFO] [stdout] | [INFO] [stdout] 375 | error!(self.logger, "init error: {}", error.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mizumochi.rs:389:67 [INFO] [stdout] | [INFO] [stdout] 389 | error!(self.logger, "lookup error: {}", error.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mizumochi.rs:446:68 [INFO] [stdout] | [INFO] [stdout] 446 | error!(self.logger, "readdir error: {}", error.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mizumochi.rs:876:61 [INFO] [stdout] | [INFO] [stdout] 876 | error!(self.logger, "init error: {}", error.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `speed_limit_disabled` is never read [INFO] [stdout] --> src/metrics.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Metrics { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub speed_limit_disabled: Counter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "500bcd276f5c23c497f989726162c891b84cb6843d29fa9b8ae9d70be866c959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "500bcd276f5c23c497f989726162c891b84cb6843d29fa9b8ae9d70be866c959", kill_on_drop: false }` [INFO] [stdout] 500bcd276f5c23c497f989726162c891b84cb6843d29fa9b8ae9d70be866c959 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e02c46d54a761a7223712c7ff87d6b8a77fc78db3f6cbab87a82cd375ce7acdf [INFO] running `Command { std: "docker" "start" "-a" "e02c46d54a761a7223712c7ff87d6b8a77fc78db3f6cbab87a82cd375ce7acdf", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/http.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | ) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 21 | ) -> Result<(), Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:36:29 [INFO] [stderr] | [INFO] [stderr] 36 | fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 36 | fn main() -> Result<(), Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:157:53 [INFO] [stderr] | [INFO] [stderr] 157 | fn parse_time(mut input: String) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 157 | fn parse_time(mut input: String) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/config/speed.rs:32:58 [INFO] [stderr] | [INFO] [stderr] 32 | let speed = s.parse::().map_err(|e| e.description().to_string())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/config/speed.rs:37:58 [INFO] [stderr] | [INFO] [stderr] 37 | let speed = s.parse::().map_err(|e| e.description().to_string())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/mizumochi.rs:375:57 [INFO] [stderr] | [INFO] [stderr] 375 | error!(self.logger, "init error: {}", error.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/mizumochi.rs:389:67 [INFO] [stderr] | [INFO] [stderr] 389 | error!(self.logger, "lookup error: {}", error.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/mizumochi.rs:446:68 [INFO] [stderr] | [INFO] [stderr] 446 | error!(self.logger, "readdir error: {}", error.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/mizumochi.rs:876:61 [INFO] [stderr] | [INFO] [stderr] 876 | error!(self.logger, "init error: {}", error.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `speed_limit_disabled` is never read [INFO] [stderr] --> src/metrics.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Metrics { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 39 | pub speed_limit_disabled: Counter, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Metrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `mizumochi` (bin "mizumochi" test) generated 10 warnings (run `cargo fix --bin "mizumochi" -p mizumochi --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mizumochi-ae24323bcc8943db) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test state::tests::test_state_manager ... ok [INFO] [stdout] test state::tests::test_toggle_mode_keep_unstable ... ok [INFO] [stdout] test state::tests::test_toggle_mode_unstable_to_stable ... ok [INFO] [stdout] test config::speed::tests::test_speed_new ... ok [INFO] [stdout] test state::tests::test_toggle_mode_keep_stable ... ok [INFO] [stdout] test state::tests::test_toggle_mode_stable_to_unstable ... ok [INFO] [stdout] test mizumochi::tests::test_compute_sleep_duration_to_adjust_speed ... ok [INFO] [stdout] test state::tests::test_toggle_mode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e02c46d54a761a7223712c7ff87d6b8a77fc78db3f6cbab87a82cd375ce7acdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e02c46d54a761a7223712c7ff87d6b8a77fc78db3f6cbab87a82cd375ce7acdf", kill_on_drop: false }` [INFO] [stdout] e02c46d54a761a7223712c7ff87d6b8a77fc78db3f6cbab87a82cd375ce7acdf