[INFO] fetching crate hagen 0.1.5... [INFO] checking hagen-0.1.5 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate hagen 0.1.5 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate hagen 0.1.5 [INFO] finished tweaking crates.io crate hagen 0.1.5 [INFO] tweaked toml for crates.io crate hagen 0.1.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hagen 0.1.5 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 hagen 0.1.5 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] [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a375b2fa215a4fa8b1889e948b572276b48c2fceb2a66f42008e7e18b6e828df [INFO] running `Command { std: "docker" "start" "-a" "a375b2fa215a4fa8b1889e948b572276b48c2fceb2a66f42008e7e18b6e828df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a375b2fa215a4fa8b1889e948b572276b48c2fceb2a66f42008e7e18b6e828df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a375b2fa215a4fa8b1889e948b572276b48c2fceb2a66f42008e7e18b6e828df", kill_on_drop: false }` [INFO] [stdout] a375b2fa215a4fa8b1889e948b572276b48c2fceb2a66f42008e7e18b6e828df [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] 27633dd6e108f592615a643bbf447688065876ded5fe85c15eda0572cbccbc71 [INFO] running `Command { std: "docker" "start" "-a" "27633dd6e108f592615a643bbf447688065876ded5fe85c15eda0572cbccbc71", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking smallvec v1.3.0 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling pulldown-cmark v0.6.1 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking array_tool v1.0.3 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking quick-xml v0.17.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking relative-path v1.0.0 [INFO] [stderr] Checking strum v0.17.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling strum_macros v0.17.1 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.6 [INFO] [stderr] Checking structopt v0.3.13 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking handlebars v3.0.1 [INFO] [stderr] Checking jsonpath_lib v0.2.5 [INFO] [stderr] Checking hagen-core v0.1.5 [INFO] [stderr] Checking hagen v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | for cause in Fail::iter_chain(err.as_fail()) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | for cause in ::iter_chain(err.as_fail()) { [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / /// Override the basename of the site [INFO] [stdout] 17 | | #[structopt(short = "b", long = "base")] [INFO] [stdout] 18 | | basename: 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: std::result::Result [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / /// The root of the site. Must contain the file "hagen.yaml" and the "content" directory. [INFO] [stdout] 21 | | #[structopt(short = "r", long = "root")] [INFO] [stdout] 22 | | root: Option, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hagen` (bin "hagen") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | for cause in Fail::iter_chain(err.as_fail()) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | for cause in ::iter_chain(err.as_fail()) { [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / /// Override the basename of the site [INFO] [stdout] 17 | | #[structopt(short = "b", long = "base")] [INFO] [stdout] 18 | | basename: 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: std::result::Result [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / /// The root of the site. Must contain the file "hagen.yaml" and the "content" directory. [INFO] [stdout] 21 | | #[structopt(short = "r", long = "root")] [INFO] [stdout] 22 | | root: Option, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hagen` (bin "hagen" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "27633dd6e108f592615a643bbf447688065876ded5fe85c15eda0572cbccbc71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27633dd6e108f592615a643bbf447688065876ded5fe85c15eda0572cbccbc71", kill_on_drop: false }` [INFO] [stdout] 27633dd6e108f592615a643bbf447688065876ded5fe85c15eda0572cbccbc71