[INFO] cloning repository https://github.com/OnlyCS/jasmine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OnlyCS/jasmine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOnlyCS%2Fjasmine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOnlyCS%2Fjasmine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b686669dbaefdf1912270a10c20080fcfcc057e [INFO] checking OnlyCS/jasmine/1b686669dbaefdf1912270a10c20080fcfcc057e against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOnlyCS%2Fjasmine" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OnlyCS/jasmine 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 git repo https://github.com/OnlyCS/jasmine [INFO] finished tweaking git repo https://github.com/OnlyCS/jasmine [INFO] tweaked toml for git repo https://github.com/OnlyCS/jasmine written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/OnlyCS/jasmine 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] 76830ce6ced44c7e738b657860bee1ffdf49c7706dfed3fc9baaf33763102435 [INFO] running `Command { std: "docker" "start" "-a" "76830ce6ced44c7e738b657860bee1ffdf49c7706dfed3fc9baaf33763102435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76830ce6ced44c7e738b657860bee1ffdf49c7706dfed3fc9baaf33763102435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76830ce6ced44c7e738b657860bee1ffdf49c7706dfed3fc9baaf33763102435", kill_on_drop: false }` [INFO] [stdout] 76830ce6ced44c7e738b657860bee1ffdf49c7706dfed3fc9baaf33763102435 [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] 5795c6b0258b600d70b4d381fda9861303a8c5cf29ecbccdf4bf608c5aecaf72 [INFO] running `Command { std: "docker" "start" "-a" "5795c6b0258b600d70b4d381fda9861303a8c5cf29ecbccdf4bf608c5aecaf72", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.2 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking clap_builder v4.4.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling clap_derive v4.4.0 [INFO] [stderr] Compiling pest v2.7.2 [INFO] [stderr] Checking clap v4.4.0 [INFO] [stderr] Compiling pest_meta v2.7.2 [INFO] [stderr] Compiling pest_generator v2.7.2 [INFO] [stderr] Compiling pest_derive v2.7.2 [INFO] [stderr] Checking jasmine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `process::Command` [INFO] [stdout] --> src/main.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{fs::File, io::Write, path::PathBuf, process::Command}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process::Command` [INFO] [stdout] --> src/main.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{fs::File, io::Write, path::PathBuf, process::Command}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/rewrite/mod.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(closures) = &mut CREATE_CLOSURES { [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(closures) = &raw mut CREATE_CLOSURES { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/rewrite/mod.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / CREATE_CLOSURES [INFO] [stdout] 74 | | .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/rewrite/mod.rs:351:43 [INFO] [stdout] | [INFO] [stdout] 351 | for (ident, closure_type) in unsafe { CREATE_CLOSURES.clone().unwrap_or(HashMap::new()) } { [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/rewrite/mod.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(closures) = &mut CREATE_CLOSURES { [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(closures) = &raw mut CREATE_CLOSURES { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/rewrite/mod.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / CREATE_CLOSURES [INFO] [stdout] 74 | | .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/rewrite/mod.rs:351:43 [INFO] [stdout] | [INFO] [stdout] 351 | for (ident, closure_type) in unsafe { CREATE_CLOSURES.clone().unwrap_or(HashMap::new()) } { [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.32s [INFO] running `Command { std: "docker" "inspect" "5795c6b0258b600d70b4d381fda9861303a8c5cf29ecbccdf4bf608c5aecaf72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5795c6b0258b600d70b4d381fda9861303a8c5cf29ecbccdf4bf608c5aecaf72", kill_on_drop: false }` [INFO] [stdout] 5795c6b0258b600d70b4d381fda9861303a8c5cf29ecbccdf4bf608c5aecaf72