[INFO] fetching crate elk 0.3.1... [INFO] checking elk-0.3.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate elk 0.3.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate elk 0.3.1 [INFO] finished tweaking crates.io crate elk 0.3.1 [INFO] tweaked toml for crates.io crate elk 0.3.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate elk 0.3.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate elk 0.3.1 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26bc56784e1851da821bc54de99882f66118b246b0faac3865586710b3667380 [INFO] running `Command { std: "docker" "start" "-a" "26bc56784e1851da821bc54de99882f66118b246b0faac3865586710b3667380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26bc56784e1851da821bc54de99882f66118b246b0faac3865586710b3667380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26bc56784e1851da821bc54de99882f66118b246b0faac3865586710b3667380", kill_on_drop: false }` [INFO] [stdout] 26bc56784e1851da821bc54de99882f66118b246b0faac3865586710b3667380 [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78b66ea5f892def47b55b3323bb3683d79c1e2ca9fbb16e274ec5e9cf822c5f6 [INFO] running `Command { std: "docker" "start" "-a" "78b66ea5f892def47b55b3323bb3683d79c1e2ca9fbb16e274ec5e9cf822c5f6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling dirs v3.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking terminal_size v0.1.15 [INFO] [stderr] Checking filesize v0.2.0 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking serde_yaml v0.8.14 [INFO] [stderr] Compiling serde_test v1.0.117 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling linear-map v1.2.0 [INFO] [stderr] Compiling config_struct v0.5.0 [INFO] [stderr] Compiling elk v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/input.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / /// Print a specified range of lines [INFO] [stdout] 36 | | #[structopt(name = "n:m", short = "l", long = "lines", default_value = ":")] [INFO] [stdout] 37 | | lines: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/statistic.rs:33:67 [INFO] [stdout] | [INFO] [stdout] 33 | output.push_str(format!("\nCharacters read:\t\t{}\n", total_chars).as_str()); [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] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/statistic.rs:34:71 [INFO] [stdout] | [INFO] [stdout] 34 | output.push_str(format!("Unicode Characters read:\t{}\n", total_uni_chars).as_str()); [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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/input.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / /// Print a specified range of lines [INFO] [stdout] 36 | | #[structopt(name = "n:m", short = "l", long = "lines", default_value = ":")] [INFO] [stdout] 37 | | lines: String, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elk` (bin "elk") due to 1 previous error; 2 warnings emitted [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/statistic.rs:33:67 [INFO] [stdout] | [INFO] [stdout] 33 | output.push_str(format!("\nCharacters read:\t\t{}\n", total_chars).as_str()); [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] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/statistic.rs:34:71 [INFO] [stdout] | [INFO] [stdout] 34 | output.push_str(format!("Unicode Characters read:\t{}\n", total_uni_chars).as_str()); [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] [stderr] error: could not compile `elk` (bin "elk" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "78b66ea5f892def47b55b3323bb3683d79c1e2ca9fbb16e274ec5e9cf822c5f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78b66ea5f892def47b55b3323bb3683d79c1e2ca9fbb16e274ec5e9cf822c5f6", kill_on_drop: false }` [INFO] [stdout] 78b66ea5f892def47b55b3323bb3683d79c1e2ca9fbb16e274ec5e9cf822c5f6