[INFO] fetching crate water_http 1.3.4... [INFO] checking water_http-1.3.4 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate water_http 1.3.4 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate water_http 1.3.4 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-1-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 611e75036dd728b891b6f604387a8cf237688dfc14344a32090209d7aab832f8 [INFO] running `Command { std: "docker" "start" "-a" "611e75036dd728b891b6f604387a8cf237688dfc14344a32090209d7aab832f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "611e75036dd728b891b6f604387a8cf237688dfc14344a32090209d7aab832f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "611e75036dd728b891b6f604387a8cf237688dfc14344a32090209d7aab832f8", kill_on_drop: false }` [INFO] [stdout] 611e75036dd728b891b6f604387a8cf237688dfc14344a32090209d7aab832f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b90e0d361534f405a00b57ef780bef59643f4faf009876c025040cccdd99a2b2 [INFO] running `Command { std: "docker" "start" "-a" "b90e0d361534f405a00b57ef780bef59643f4faf009876c025040cccdd99a2b2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.157 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling aws-lc-rs v1.8.1 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.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 memchr v2.7.4 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling aws-lc-sys v0.20.1 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [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: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: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: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/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: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: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: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: 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: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: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: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" "b90e0d361534f405a00b57ef780bef59643f4faf009876c025040cccdd99a2b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b90e0d361534f405a00b57ef780bef59643f4faf009876c025040cccdd99a2b2", kill_on_drop: false }` [INFO] [stdout] b90e0d361534f405a00b57ef780bef59643f4faf009876c025040cccdd99a2b2