[INFO] fetching crate cargo-serve-docs 0.1.1... [INFO] checking cargo-serve-docs-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate cargo-serve-docs 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate cargo-serve-docs 0.1.1 [INFO] finished tweaking crates.io crate cargo-serve-docs 0.1.1 [INFO] tweaked toml for crates.io crate cargo-serve-docs 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-serve-docs 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 cargo-serve-docs 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] 0cfd3ade5da3ea6958d3e5c9df97e3c49d67053d6b0a96e9c87e3bd49607b57d [INFO] running `Command { std: "docker" "start" "-a" "0cfd3ade5da3ea6958d3e5c9df97e3c49d67053d6b0a96e9c87e3bd49607b57d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cfd3ade5da3ea6958d3e5c9df97e3c49d67053d6b0a96e9c87e3bd49607b57d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cfd3ade5da3ea6958d3e5c9df97e3c49d67053d6b0a96e9c87e3bd49607b57d", kill_on_drop: false }` [INFO] [stdout] 0cfd3ade5da3ea6958d3e5c9df97e3c49d67053d6b0a96e9c87e3bd49607b57d [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] 62dbe7d72c5f5f05a692b36920eed5a26ece06e26de3afa483435e846450b88a [INFO] running `Command { std: "docker" "start" "-a" "62dbe7d72c5f5f05a692b36920eed5a26ece06e26de3afa483435e846450b88a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Checking bitflags v1.3.1 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling camino v1.0.5 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking inotify v0.9.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking notify v5.0.0-pre.11 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling qu-derive v0.2.1 [INFO] [stderr] Checking structopt v0.3.22 [INFO] [stderr] Checking qu v0.2.1 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking cargo_metadata v0.14.0 [INFO] [stderr] Checking hyper-staticfile v0.6.0 [INFO] [stderr] Checking cargo-serve-docs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / /// Path to the cargo manifest at the root of the project (Cargo.toml) [INFO] [stdout] 32 | | #[structopt(name = "MANIFEST", short = "m", long)] [INFO] [stdout] 33 | | manifest: 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:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /// Add an extra file or directory to be watched [INFO] [stdout] 35 | | #[structopt(long = "watch-extra", name = "FILE")] [INFO] [stdout] 36 | | watch_extra: Vec, [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:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / /// Arguments to pass to `cargo doc`. Pass flags after a `--` [INFO] [stdout] 41 | | #[structopt(name = "ARG")] [INFO] [stdout] 42 | | cargo_args: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/main.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 151 | | Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] 152 | | // clone for each request [INFO] [stdout] 153 | | let config = config.clone(); [INFO] [stdout] 154 | | handle(config, req) [INFO] [stdout] 155 | | })) [INFO] [stdout] 156 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/main.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | / Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] 152 | | // clone for each request [INFO] [stdout] 153 | | let config = config.clone(); [INFO] [stdout] 154 | | handle(config, req) [INFO] [stdout] 155 | | })) [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-serve-docs` (bin "cargo-serve-docs" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / /// Path to the cargo manifest at the root of the project (Cargo.toml) [INFO] [stdout] 32 | | #[structopt(name = "MANIFEST", short = "m", long)] [INFO] [stdout] 33 | | manifest: 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:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /// Add an extra file or directory to be watched [INFO] [stdout] 35 | | #[structopt(long = "watch-extra", name = "FILE")] [INFO] [stdout] 36 | | watch_extra: Vec, [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:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / /// Arguments to pass to `cargo doc`. Pass flags after a `--` [INFO] [stdout] 41 | | #[structopt(name = "ARG")] [INFO] [stdout] 42 | | cargo_args: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/main.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 151 | | Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] 152 | | // clone for each request [INFO] [stdout] 153 | | let config = config.clone(); [INFO] [stdout] 154 | | handle(config, req) [INFO] [stdout] 155 | | })) [INFO] [stdout] 156 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/main.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | / Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] 152 | | // clone for each request [INFO] [stdout] 153 | | let config = config.clone(); [INFO] [stdout] 154 | | handle(config, req) [INFO] [stdout] 155 | | })) [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-serve-docs` (bin "cargo-serve-docs") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "62dbe7d72c5f5f05a692b36920eed5a26ece06e26de3afa483435e846450b88a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62dbe7d72c5f5f05a692b36920eed5a26ece06e26de3afa483435e846450b88a", kill_on_drop: false }` [INFO] [stdout] 62dbe7d72c5f5f05a692b36920eed5a26ece06e26de3afa483435e846450b88a