[INFO] fetching crate flowcore 0.142.0... [INFO] checking flowcore-0.142.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate flowcore 0.142.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate flowcore 0.142.0 [INFO] finished tweaking crates.io crate flowcore 0.142.0 [INFO] tweaked toml for crates.io crate flowcore 0.142.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate flowcore 0.142.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 78 packages to latest compatible versions [INFO] [stderr] Adding toml v0.8.23 (available: v0.9.8) [INFO] [stderr] Adding url v2.2.2 (available: v2.5.7) [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] 3bcb81e943ae8e3643b863ba5111216dfa0a1928b64cb3910f493b27ee9c0dff [INFO] running `Command { std: "docker" "start" "-a" "3bcb81e943ae8e3643b863ba5111216dfa0a1928b64cb3910f493b27ee9c0dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bcb81e943ae8e3643b863ba5111216dfa0a1928b64cb3910f493b27ee9c0dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bcb81e943ae8e3643b863ba5111216dfa0a1928b64cb3910f493b27ee9c0dff", kill_on_drop: false }` [INFO] [stdout] 3bcb81e943ae8e3643b863ba5111216dfa0a1928b64cb3910f493b27ee9c0dff [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] 3b8ea1d68ff9472167305241b4fa8dee3af07e4b04a082d79ff125aa35903184 [INFO] running `Command { std: "docker" "start" "-a" "3b8ea1d68ff9472167305241b4fa8dee3af07e4b04a082d79ff125aa35903184", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling libz-sys v1.1.23 [INFO] [stderr] Compiling curl-sys v0.4.84+curl-8.17.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking object v0.37.3 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking simpath v2.5.0 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking flowcore v0.142.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / error_chain! { [INFO] [stdout] 11 | | types { [INFO] [stdout] 12 | | Error, [INFO] [stdout] 13 | | ErrorKind, [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / error_chain! { [INFO] [stdout] 11 | | types { [INFO] [stdout] 12 | | Error, [INFO] [stdout] 13 | | ErrorKind, [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/model/route.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn pop(&self) -> (Cow, Option) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 186 | pub fn pop(&self) -> (Cow<'_, Route>, Option) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/model/route.rs:201:41 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn without_trailing_array_index(&self) -> (Cow, usize, bool) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 201 | pub fn without_trailing_array_index(&self) -> (Cow<'_, Route>, usize, bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/model/route.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn pop(&self) -> (Cow, Option) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 186 | pub fn pop(&self) -> (Cow<'_, Route>, Option) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/model/route.rs:201:41 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn without_trailing_array_index(&self) -> (Cow, usize, bool) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 201 | pub fn without_trailing_array_index(&self) -> (Cow<'_, Route>, usize, bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/url_helper.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | let mut root = PathBuf::from_str(env!("CARGO_MANIFEST_DIR")) [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 `flowcore` (lib test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3b8ea1d68ff9472167305241b4fa8dee3af07e4b04a082d79ff125aa35903184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b8ea1d68ff9472167305241b4fa8dee3af07e4b04a082d79ff125aa35903184", kill_on_drop: false }` [INFO] [stdout] 3b8ea1d68ff9472167305241b4fa8dee3af07e4b04a082d79ff125aa35903184