[INFO] fetching crate water_http 1.3.4... [INFO] checking water_http-1.3.4 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate water_http 1.3.4 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate water_http 1.3.4 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate water_http 1.3.4 [INFO] finished tweaking crates.io crate water_http 1.3.4 [INFO] tweaked toml for crates.io crate water_http 1.3.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate water_http 1.3.4 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8c5e1d0707ce661f0e0f408e90cb3df3e93119541d787e26ea5fbc09b791110 [INFO] running `Command { std: "docker" "start" "-a" "b8c5e1d0707ce661f0e0f408e90cb3df3e93119541d787e26ea5fbc09b791110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8c5e1d0707ce661f0e0f408e90cb3df3e93119541d787e26ea5fbc09b791110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8c5e1d0707ce661f0e0f408e90cb3df3e93119541d787e26ea5fbc09b791110", kill_on_drop: false }` [INFO] [stdout] b8c5e1d0707ce661f0e0f408e90cb3df3e93119541d787e26ea5fbc09b791110 [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=forbid -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8401493f2d8a36fe9141180e839c4a82f0f42934735eddcaedf157255f7df7d0 [INFO] running `Command { std: "docker" "start" "-a" "8401493f2d8a36fe9141180e839c4a82f0f42934735eddcaedf157255f7df7d0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.157 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling aws-lc-rs v1.8.1 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling aws-lc-sys v0.20.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking rustls-webpki v0.102.6 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking water_http v1.3.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/framework_http/response/senders.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | let public_path = unsafe {&___SERVER_CONFIGURATIONS.as_ref().unwrap().public_files_path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/framework_http/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | server_structure_impl_context!(->!); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `include_response_senders_functions` which comes from the expansion of the macro `server_structure_impl_context` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/framework_http/response/senders.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | let public_path = unsafe {&___SERVER_CONFIGURATIONS.as_ref().unwrap().public_files_path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/framework_http/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | server_structure_impl_context!(->!); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `include_response_senders_functions` which comes from the expansion of the macro `server_structure_impl_context` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/framework_http/response/senders.rs:340:45 [INFO] [stdout] | [INFO] [stdout] 340 | let threshold = unsafe {___SERVER_CONFIGURATIONS.as_ref().unwrap().threshold_for_encoding_response}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/framework_http/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | server_structure_impl_context!(->!); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `include_response_senders_functions` which comes from the expansion of the macro `server_structure_impl_context` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/framework_http/response/senders.rs:340:45 [INFO] [stdout] | [INFO] [stdout] 340 | let threshold = unsafe {___SERVER_CONFIGURATIONS.as_ref().unwrap().threshold_for_encoding_response}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/framework_http/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | server_structure_impl_context!(->!); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `include_response_senders_functions` which comes from the expansion of the macro `server_structure_impl_context` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/framework_http/response/senders.rs:435:46 [INFO] [stdout] | [INFO] [stdout] 435 | let threshold = unsafe {___SERVER_CONFIGURATIONS.as_ref().unwrap().threshold_for_encoding_response}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/framework_http/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | server_structure_impl_context!(->!); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `include_response_senders_functions` which comes from the expansion of the macro `server_structure_impl_context` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/framework_http/mod.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | let results = crate::___ROUTERS.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/framework_http/response/senders.rs:435:46 [INFO] [stdout] | [INFO] [stdout] 435 | let threshold = unsafe {___SERVER_CONFIGURATIONS.as_ref().unwrap().threshold_for_encoding_response}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/framework_http/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | server_structure_impl_context!(->!); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `include_response_senders_functions` which comes from the expansion of the macro `server_structure_impl_context` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/framework_http/request/mod.rs:120:57 [INFO] [stdout] | [INFO] [stdout] 120 | let mut req_headers : Option<&Vec> =unsafe {___SERVER_CONFIGURATIONS.as_ref().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/framework_http/mod.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | let results = crate::___ROUTERS.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/framework_http/server_runner/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | ___SERVER_CONFIGURATIONS.as_ref().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/framework_http/request/mod.rs:120:57 [INFO] [stdout] | [INFO] [stdout] 120 | let mut req_headers : Option<&Vec> =unsafe {___SERVER_CONFIGURATIONS.as_ref().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/framework_http/server_runner/mod.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(_) = crate::___ROUTERS.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/framework_http/server_runner/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | ___SERVER_CONFIGURATIONS.as_ref().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/framework_http/server_runner/mod.rs:243:31 [INFO] [stdout] | [INFO] [stdout] 243 | let config = unsafe { ___SERVER_CONFIGURATIONS.as_ref().unwrap()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/framework_http/server_runner/mod.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(_) = crate::___ROUTERS.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/structure/mod.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | / crate::___ROUTERS [INFO] [stdout] 89 | | .as_mut() [INFO] [stdout] | |_________________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/framework_http/server_runner/mod.rs:243:31 [INFO] [stdout] | [INFO] [stdout] 243 | let config = unsafe { ___SERVER_CONFIGURATIONS.as_ref().unwrap()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/structure/mod.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | / crate::___ROUTERS [INFO] [stdout] 89 | | .as_mut() [INFO] [stdout] | |_________________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "8401493f2d8a36fe9141180e839c4a82f0f42934735eddcaedf157255f7df7d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8401493f2d8a36fe9141180e839c4a82f0f42934735eddcaedf157255f7df7d0", kill_on_drop: false }` [INFO] [stdout] 8401493f2d8a36fe9141180e839c4a82f0f42934735eddcaedf157255f7df7d0