[INFO] fetching crate rust_tcp_sever 0.1.8... [INFO] checking rust_tcp_sever-0.1.8 against master#f167efad2f51088d86180ee89177b3d7c9e7c2f5 for pr-129543 [INFO] extracting crate rust_tcp_sever 0.1.8 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate rust_tcp_sever 0.1.8 on toolchain f167efad2f51088d86180ee89177b3d7c9e7c2f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust_tcp_sever 0.1.8 [INFO] finished tweaking crates.io crate rust_tcp_sever 0.1.8 [INFO] tweaked toml for crates.io crate rust_tcp_sever 0.1.8 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate rust_tcp_sever 0.1.8 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" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb56e4ada1592134d344be18f777dde0d7af89950563c1ac8b2cca00136b1a9d [INFO] running `Command { std: "docker" "start" "-a" "bb56e4ada1592134d344be18f777dde0d7af89950563c1ac8b2cca00136b1a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb56e4ada1592134d344be18f777dde0d7af89950563c1ac8b2cca00136b1a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb56e4ada1592134d344be18f777dde0d7af89950563c1ac8b2cca00136b1a9d", kill_on_drop: false }` [INFO] [stdout] bb56e4ada1592134d344be18f777dde0d7af89950563c1ac8b2cca00136b1a9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3411ecf83f5bdaf664c83869d95298de4ed40b2cf6001b931f99cbf36834ac2 [INFO] running `Command { std: "docker" "start" "-a" "d3411ecf83f5bdaf664c83869d95298de4ed40b2cf6001b931f99cbf36834ac2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rust_tcp_sever v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/server/tcp_server.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | match unsafe { &MAP_CODE_PAGE } [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 154 | match unsafe { addr_of!(MAP_CODE_PAGE) } [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/server/tcp_server.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | match unsafe { &MAP_CODE_PAGE } [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 154 | match unsafe { addr_of!(MAP_CODE_PAGE) } [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> examples/default_start.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | fn match_methods(request: &Request, response: &mut Response) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> examples/default_start.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | fn match_methods(request: &Request, response: &mut Response) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "d3411ecf83f5bdaf664c83869d95298de4ed40b2cf6001b931f99cbf36834ac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3411ecf83f5bdaf664c83869d95298de4ed40b2cf6001b931f99cbf36834ac2", kill_on_drop: false }` [INFO] [stdout] d3411ecf83f5bdaf664c83869d95298de4ed40b2cf6001b931f99cbf36834ac2