[INFO] cloning repository https://github.com/ElusiveMori/ceres-mpqtool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ElusiveMori/ceres-mpqtool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElusiveMori%2Fceres-mpqtool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElusiveMori%2Fceres-mpqtool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c94367516facb7268e4d7ac7f49385e9b1cf4c0d [INFO] checking ElusiveMori/ceres-mpqtool against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElusiveMori%2Fceres-mpqtool" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ElusiveMori/ceres-mpqtool [INFO] finished tweaking git repo https://github.com/ElusiveMori/ceres-mpqtool [INFO] tweaked toml for git repo https://github.com/ElusiveMori/ceres-mpqtool written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ElusiveMori/ceres-mpqtool 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 git repo https://github.com/ElusiveMori/ceres-mpqtool 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] de98e3405801b6b0f9248677cd15a5bc391b9e3de577656f27e9e61735b18856 [INFO] running `Command { std: "docker" "start" "-a" "de98e3405801b6b0f9248677cd15a5bc391b9e3de577656f27e9e61735b18856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de98e3405801b6b0f9248677cd15a5bc391b9e3de577656f27e9e61735b18856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de98e3405801b6b0f9248677cd15a5bc391b9e3de577656f27e9e61735b18856", kill_on_drop: false }` [INFO] [stdout] de98e3405801b6b0f9248677cd15a5bc391b9e3de577656f27e9e61735b18856 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ecf3d3ea7208896d093699b0b84b204f76e897c266db2e49d70407d6c0cce8a9 [INFO] running `Command { std: "docker" "start" "-a" "ecf3d3ea7208896d093699b0b84b204f76e897c266db2e49d70407d6c0cce8a9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking slash-formatter v2.2.5 [INFO] [stderr] Checking path-dedot v1.1.13 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling err-derive v0.1.6 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking path-absolutize v1.1.7 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling proc-macro-error v0.4.9 [INFO] [stderr] Compiling err-derive v0.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.9 [INFO] [stderr] Checking ceres-mpq v0.1.8 [INFO] [stderr] Checking mpqtool v0.1.5-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | let path = PathBuf::from_str(&file_normalized).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:244:30 [INFO] [stdout] | [INFO] [stdout] 244 | let input_dir_absolute = PathBuf::from_str(input_dir).unwrap().absolutize()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_ToolError` [INFO] [stdout] 9 | pub enum ToolError { [INFO] [stdout] | --------- `ToolError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_ToolError` [INFO] [stdout] 9 | pub enum ToolError { [INFO] [stdout] | --------- `ToolError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | let path = PathBuf::from_str(&file_normalized).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:244:30 [INFO] [stdout] | [INFO] [stdout] 244 | let input_dir_absolute = PathBuf::from_str(input_dir).unwrap().absolutize()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mpqtool` (bin "mpqtool" test) due to 2 previous errors; 2 warnings emitted [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_ToolError` [INFO] [stdout] 9 | pub enum ToolError { [INFO] [stdout] | --------- `ToolError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_ToolError` [INFO] [stdout] 9 | pub enum ToolError { [INFO] [stdout] | --------- `ToolError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mpqtool` (bin "mpqtool") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ecf3d3ea7208896d093699b0b84b204f76e897c266db2e49d70407d6c0cce8a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecf3d3ea7208896d093699b0b84b204f76e897c266db2e49d70407d6c0cce8a9", kill_on_drop: false }` [INFO] [stdout] ecf3d3ea7208896d093699b0b84b204f76e897c266db2e49d70407d6c0cce8a9