[INFO] fetching crate env-template 0.1.1... [INFO] checking env-template-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate env-template 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate env-template 0.1.1 [INFO] finished tweaking crates.io crate env-template 0.1.1 [INFO] tweaked toml for crates.io crate env-template 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate env-template 0.1.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 env-template 0.1.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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b5855c446d5ce0c9dafaf581802ed19f036d8e6e1c8a96f4cac92925fd55eef [INFO] running `Command { std: "docker" "start" "-a" "0b5855c446d5ce0c9dafaf581802ed19f036d8e6e1c8a96f4cac92925fd55eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b5855c446d5ce0c9dafaf581802ed19f036d8e6e1c8a96f4cac92925fd55eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b5855c446d5ce0c9dafaf581802ed19f036d8e6e1c8a96f4cac92925fd55eef", kill_on_drop: false }` [INFO] [stdout] 0b5855c446d5ce0c9dafaf581802ed19f036d8e6e1c8a96f4cac92925fd55eef [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 -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] d2d9f1f95a82ba4f86c0504264c8480344f9e5d36df9b2722deb4ae9e5005c51 [INFO] running `Command { std: "docker" "start" "-a" "d2d9f1f95a82ba4f86c0504264c8480344f9e5d36df9b2722deb4ae9e5005c51", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking quick-error v2.0.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking handlebars v3.5.4 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking env-template v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `dotenv::from_path_iter`: please use `from_path` in conjunction with `var` instead [INFO] [stdout] --> src/main.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | (false, Some(v)) => dotenv::from_path_iter(v.canonicalize()?)?.collect::>()?, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dotenv::from_filename_iter`: please use `from_path` in conjunction with `var` instead [INFO] [stdout] --> src/main.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | (false, None) => dotenv::from_filename_iter(".env")?.collect::>()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dotenv::from_path_iter`: please use `from_path` in conjunction with `var` instead [INFO] [stdout] --> src/main.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | (false, Some(v)) => dotenv::from_path_iter(v.canonicalize()?)?.collect::>()?, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dotenv::from_filename_iter`: please use `from_path` in conjunction with `var` instead [INFO] [stdout] --> src/main.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | (false, None) => dotenv::from_filename_iter(".env")?.collect::>()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / #[structopt( [INFO] [stdout] 16 | | short = "v", [INFO] [stdout] 17 | | long = "vars", [INFO] [stdout] 18 | | help = "Load the variables from this file instead of .env" [INFO] [stdout] 19 | | )] [INFO] [stdout] 20 | | vars: Option, [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:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / #[structopt(help = "The template to render")] [INFO] [stdout] 23 | | file: PathBuf, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / #[structopt( [INFO] [stdout] 16 | | short = "v", [INFO] [stdout] 17 | | long = "vars", [INFO] [stdout] 18 | | help = "Load the variables from this file instead of .env" [INFO] [stdout] 19 | | )] [INFO] [stdout] 20 | | vars: Option, [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 `env-template` (bin "env-template") due to 2 previous errors; 2 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / #[structopt(help = "The template to render")] [INFO] [stdout] 23 | | file: PathBuf, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/main.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | file: PathBuf::from_str("all_env.txt")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | file: PathBuf::from_str("all_env.txt")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | run(args, &mut output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = run(args, &mut output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/main.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | file: PathBuf::from_str("file_only.txt")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | file: PathBuf::from_str("file_only.txt")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/main.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | file: PathBuf::from_str("all_env.txt")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | file: PathBuf::from_str("all_env.txt")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `env-template` (bin "env-template" test) due to 8 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d2d9f1f95a82ba4f86c0504264c8480344f9e5d36df9b2722deb4ae9e5005c51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2d9f1f95a82ba4f86c0504264c8480344f9e5d36df9b2722deb4ae9e5005c51", kill_on_drop: false }` [INFO] [stdout] d2d9f1f95a82ba4f86c0504264c8480344f9e5d36df9b2722deb4ae9e5005c51