[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#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOnlyCS%2Fjasmine" "/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/OnlyCS/jasmine 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 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-7-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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 270ba2063a3ac056ecc673381a5bfdba14ac2ffda4415932ddc7b6273504ffe7 [INFO] running `Command { std: "docker" "start" "-a" "270ba2063a3ac056ecc673381a5bfdba14ac2ffda4415932ddc7b6273504ffe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "270ba2063a3ac056ecc673381a5bfdba14ac2ffda4415932ddc7b6273504ffe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "270ba2063a3ac056ecc673381a5bfdba14ac2ffda4415932ddc7b6273504ffe7", kill_on_drop: false }` [INFO] [stdout] 270ba2063a3ac056ecc673381a5bfdba14ac2ffda4415932ddc7b6273504ffe7 [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 -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] 874b96d505e417c87f9b00f78e6e83951bdf16761a4e9c1e60a2a84700ea7f76 [INFO] running `Command { std: "docker" "start" "-a" "874b96d505e417c87f9b00f78e6e83951bdf16761a4e9c1e60a2a84700ea7f76", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking anstyle v1.0.2 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking clap_builder v4.4.0 [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 14.56s [INFO] running `Command { std: "docker" "inspect" "874b96d505e417c87f9b00f78e6e83951bdf16761a4e9c1e60a2a84700ea7f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "874b96d505e417c87f9b00f78e6e83951bdf16761a4e9c1e60a2a84700ea7f76", kill_on_drop: false }` [INFO] [stdout] 874b96d505e417c87f9b00f78e6e83951bdf16761a4e9c1e60a2a84700ea7f76