[INFO] fetching crate pagebreak 0.9.2... [INFO] checking pagebreak-0.9.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate pagebreak 0.9.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate pagebreak 0.9.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pagebreak 0.9.2 [INFO] tweaked toml for crates.io crate pagebreak 0.9.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pagebreak 0.9.2 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 pagebreak 0.9.2 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5c4f02313a0808fa46125b0e8b699b929054bf731576078ace9ab7439b8d6a6a [INFO] running `Command { std: "docker" "start" "-a" "5c4f02313a0808fa46125b0e8b699b929054bf731576078ace9ab7439b8d6a6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c4f02313a0808fa46125b0e8b699b929054bf731576078ace9ab7439b8d6a6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c4f02313a0808fa46125b0e8b699b929054bf731576078ace9ab7439b8d6a6a", kill_on_drop: false }` [INFO] [stdout] 5c4f02313a0808fa46125b0e8b699b929054bf731576078ace9ab7439b8d6a6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9b9ac2eae70a185d3d3fc5a1c9dd9d718477cd32d49662148b98cfccdddc17b0 [INFO] running `Command { std: "docker" "start" "-a" "9b9ac2eae70a185d3d3fc5a1c9dd9d718477cd32d49662148b98cfccdddc17b0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling siphasher v0.3.6 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking tendril v0.4.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Checking lexiclean v0.0.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking peg v0.6.3 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Checking string_cache v0.8.1 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling thiserror-impl v1.0.28 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling inventory-impl v0.1.11 [INFO] [stderr] Compiling typed-builder v0.7.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling sealed v0.3.0 [INFO] [stderr] Compiling cucumber-codegen v0.10.2 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking thiserror v1.0.28 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking kuchiki v0.8.1 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking pagebreak v0.9.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures v0.3.17 [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/errors.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageError { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub code: PageErrorCode, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gherkin_rust v0.10.1 [INFO] [stderr] Checking cucumber v0.10.2 [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/cucumber.rs:97:48 [INFO] [stdout] | [INFO] [stdout] 97 | async fn new() -> Result { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 98 | | Ok(Self { tmp_dir: None }) [INFO] [stdout] 99 | | } [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] --> tests/cucumber.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | Ok(Self { tmp_dir: None }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/steps/step_definitions.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[given(regex = "^I have an? (?:\"|')(.*)(?:\"|') file with the content:$")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `given` (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] --> tests/steps/step_definitions.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[given(regex = "^I have an? (?:\"|')(.*)(?:\"|') file with the body:$")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `given` (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] --> tests/steps/step_definitions.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[then(regex = "^I should see (?:\"|')(.*)(?:\"|') in (?:\"|')(.*)(?:\"|')$")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `then` (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] --> tests/steps/step_definitions.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[then(regex = "^I should not see (?:\"|')(.*)(?:\"|') in (?:\"|')(.*)(?:\"|')$")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `then` (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] --> tests/steps/step_definitions.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | #[then(regex = "^I should see the file (?:\"|')(.*)(?:\"|')$")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `then` (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] --> tests/steps/step_definitions.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | #[then(regex = "^I should not see the file (?:\"|')(.*)(?:\"|')$")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `then` (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] --> tests/steps/step_definitions.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | #[then(regex = "^I should see a selector (?:\"|')(.*)(?:\"|') in (?:\"|')(\\S*)(?:\"|')$")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `then` (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] --> tests/steps/step_definitions.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / #[then( [INFO] [stdout] 84 | | regex = "^I should see a selector (?:\"|')(.*)(?:\"|') in (?:\"|')(.*)(?:\"|') with the attributes:$" [INFO] [stdout] 85 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `then` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pagebreak` (test "cucumber") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "9b9ac2eae70a185d3d3fc5a1c9dd9d718477cd32d49662148b98cfccdddc17b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b9ac2eae70a185d3d3fc5a1c9dd9d718477cd32d49662148b98cfccdddc17b0", kill_on_drop: false }` [INFO] [stdout] 9b9ac2eae70a185d3d3fc5a1c9dd9d718477cd32d49662148b98cfccdddc17b0