[INFO] cloning repository https://github.com/natsunoyoru97/rust-http-server-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/natsunoyoru97/rust-http-server-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatsunoyoru97%2Frust-http-server-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatsunoyoru97%2Frust-http-server-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a05e2d9f26546f117132e33525e38c1c73fe8912 [INFO] testing natsunoyoru97/rust-http-server-tutorial against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatsunoyoru97%2Frust-http-server-tutorial" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/natsunoyoru97/rust-http-server-tutorial on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/natsunoyoru97/rust-http-server-tutorial [INFO] finished tweaking git repo https://github.com/natsunoyoru97/rust-http-server-tutorial [INFO] tweaked toml for git repo https://github.com/natsunoyoru97/rust-http-server-tutorial written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/natsunoyoru97/rust-http-server-tutorial 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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.about [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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46441eccf5ad77397622167a25bf765c5b82b7d0f43cef373460632a332f8ce9 [INFO] running `Command { std: "docker" "start" "-a" "46441eccf5ad77397622167a25bf765c5b82b7d0f43cef373460632a332f8ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46441eccf5ad77397622167a25bf765c5b82b7d0f43cef373460632a332f8ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46441eccf5ad77397622167a25bf765c5b82b7d0f43cef373460632a332f8ce9", kill_on_drop: false }` [INFO] [stdout] 46441eccf5ad77397622167a25bf765c5b82b7d0f43cef373460632a332f8ce9 [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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1168f1ad087f90c662fdec2cd3a3edbbd9aebbbf27f54a788bcbdc7b8dd5fe13 [INFO] running `Command { std: "docker" "start" "-a" "1168f1ad087f90c662fdec2cd3a3edbbd9aebbbf27f54a788bcbdc7b8dd5fe13", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.about [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling arc-swap v1.5.0 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling slog-async v2.7.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling libflate_lz77 v1.1.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling slog-scope v4.4.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling rmp v0.8.10 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Compiling clap_derive v3.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling slog-kvfilter v0.7.0 [INFO] [stderr] Compiling trackable v1.2.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling slog-term v2.8.0 [INFO] [stderr] Compiling slog-stdlog v4.1.0 [INFO] [stderr] Compiling libflate v1.1.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling clap v3.0.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling rmp-serde v0.14.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling sloggers v2.1.1 [INFO] [stderr] Compiling serdeconv v0.4.0 [INFO] [stderr] Compiling network_programming_tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/request.rs:60:50 [INFO] [stdout] | [INFO] [stdout] 58 | impl<'a> FileType<'_> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 59 | /// 初始化文件格式 [INFO] [stdout] 60 | pub fn init_file_type(file_type: &'a str) -> FileType { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.78s [INFO] running `Command { std: "docker" "inspect" "1168f1ad087f90c662fdec2cd3a3edbbd9aebbbf27f54a788bcbdc7b8dd5fe13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1168f1ad087f90c662fdec2cd3a3edbbd9aebbbf27f54a788bcbdc7b8dd5fe13", kill_on_drop: false }` [INFO] [stdout] 1168f1ad087f90c662fdec2cd3a3edbbd9aebbbf27f54a788bcbdc7b8dd5fe13 [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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58953709ded44c0ced6d0961567f15c1aa230f3b069fe9ac6d27889103ed3fa9 [INFO] running `Command { std: "docker" "start" "-a" "58953709ded44c0ced6d0961567f15c1aa230f3b069fe9ac6d27889103ed3fa9", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.about [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling network_programming_tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Shutdown` [INFO] [stdout] --> examples/simple_http_server.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::{TcpListener, TcpStream, Shutdown}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/request.rs:60:50 [INFO] [stdout] | [INFO] [stdout] 58 | impl<'a> FileType<'_> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 59 | /// 初始化文件格式 [INFO] [stdout] 60 | pub fn init_file_type(file_type: &'a str) -> FileType { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [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" "58953709ded44c0ced6d0961567f15c1aa230f3b069fe9ac6d27889103ed3fa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58953709ded44c0ced6d0961567f15c1aa230f3b069fe9ac6d27889103ed3fa9", kill_on_drop: false }` [INFO] [stdout] 58953709ded44c0ced6d0961567f15c1aa230f3b069fe9ac6d27889103ed3fa9 [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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7e477356445dd6b28663e84605ae5a50f030003c9ae2e2372aa8486240005692 [INFO] running `Command { std: "docker" "start" "-a" "7e477356445dd6b28663e84605ae5a50f030003c9ae2e2372aa8486240005692", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.about [INFO] [stderr] warning: unused import: `Shutdown` [INFO] [stderr] --> examples/simple_http_server.rs:3:40 [INFO] [stderr] | [INFO] [stderr] 3 | use std::net::{TcpListener, TcpStream, Shutdown}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/request.rs:60:50 [INFO] [stderr] | [INFO] [stderr] 58 | impl<'a> FileType<'_> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 59 | /// 初始化文件格式 [INFO] [stderr] 60 | pub fn init_file_type(file_type: &'a str) -> FileType { [INFO] [stderr] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `network_programming_tutorial` (example "simple_http_server") generated 1 warning (run `cargo fix --example "simple_http_server"` to apply 1 suggestion) [INFO] [stderr] warning: `network_programming_tutorial` (bin "network_programming_tutorial" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [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/lib.rs (/opt/rustwide/target/debug/deps/network_programming_tutorial-e5dd3810be05fa8a) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/network_programming_tutorial-c1d0c58ef0762b7b) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests network_programming_tutorial [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7e477356445dd6b28663e84605ae5a50f030003c9ae2e2372aa8486240005692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e477356445dd6b28663e84605ae5a50f030003c9ae2e2372aa8486240005692", kill_on_drop: false }` [INFO] [stdout] 7e477356445dd6b28663e84605ae5a50f030003c9ae2e2372aa8486240005692