[INFO] fetching crate docstrings 0.1.1... [INFO] checking docstrings-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate docstrings 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate docstrings 0.1.1 [INFO] finished tweaking crates.io crate docstrings 0.1.1 [INFO] tweaked toml for crates.io crate docstrings 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate docstrings 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding pulldown-cmark v0.0.14 (available: v0.13.0) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8666e5773306a1bd4c940343e6767e8df20e157189c35faebd4576ce24e6b633 [INFO] running `Command { std: "docker" "start" "-a" "8666e5773306a1bd4c940343e6767e8df20e157189c35faebd4576ce24e6b633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8666e5773306a1bd4c940343e6767e8df20e157189c35faebd4576ce24e6b633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8666e5773306a1bd4c940343e6767e8df20e157189c35faebd4576ce24e6b633", kill_on_drop: false }` [INFO] [stdout] 8666e5773306a1bd4c940343e6767e8df20e157189c35faebd4576ce24e6b633 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07721406308a3471527a787b95ce5e7fe50324bd83be211b6682c2e0cf951164 [INFO] running `Command { std: "docker" "start" "-a" "07721406308a3471527a787b95ce5e7fe50324bd83be211b6682c2e0cf951164", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling pulldown-cmark v0.0.14 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking getopts v0.2.23 [INFO] [stderr] Checking docstrings v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractors.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | sections.push(try!(section(events))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | #![deny(missing_docs, warnings, unsafe_code, missing_debug_implementations)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractors.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | sections.push(try!(section(events))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractors.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | DocSection::Parameters(try!(list(events, &headline))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractors.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | DocSection::TypeParameters(try!(list(events, &headline))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractors.rs:100:44 [INFO] [stdout] | [INFO] [stdout] 100 | DocSection::LifetimeParameters(try!(list(events, &headline))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractors.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | try!(list(events, &headline))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractors.rs:123:56 [INFO] [stdout] | [INFO] [stdout] 123 | Some(Event::Start(Tag::Item)) => list.push(try!(list_item(events))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | teaser: try!(extractors::teaser(events)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | description: try!(extractors::description(events)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | sections: try!(extractors::sections(events)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractors.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | sections.push(try!(section(events))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | #![deny(missing_docs, warnings, unsafe_code, missing_debug_implementations)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractors.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | sections.push(try!(section(events))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractors.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | DocSection::Parameters(try!(list(events, &headline))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractors.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | DocSection::TypeParameters(try!(list(events, &headline))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractors.rs:100:44 [INFO] [stdout] | [INFO] [stdout] 100 | DocSection::LifetimeParameters(try!(list(events, &headline))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractors.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | try!(list(events, &headline))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractors.rs:123:56 [INFO] [stdout] | [INFO] [stdout] 123 | Some(Event::Start(Tag::Item)) => list.push(try!(list_item(events))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | teaser: try!(extractors::teaser(events)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | description: try!(extractors::description(events)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | sections: try!(extractors::sections(events)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/to_md.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | res.trim_right().into() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 66 - res.trim_right().into() [INFO] [stdout] 66 + res.trim_end().into() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/extractors.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | docs = docs.trim_left_matches(": ").into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 144 - docs = docs.trim_left_matches(": ").into(); [INFO] [stdout] 144 + docs = docs.trim_start_matches(": ").into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/to_md.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | res.trim_right().into() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 66 - res.trim_right().into() [INFO] [stdout] 66 + res.trim_end().into() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/extractors.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | docs = docs.trim_left_matches(": ").into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 144 - docs = docs.trim_left_matches(": ").into(); [INFO] [stdout] 144 + docs = docs.trim_start_matches(": ").into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `docstrings` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `docstrings` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "07721406308a3471527a787b95ce5e7fe50324bd83be211b6682c2e0cf951164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07721406308a3471527a787b95ce5e7fe50324bd83be211b6682c2e0cf951164", kill_on_drop: false }` [INFO] [stdout] 07721406308a3471527a787b95ce5e7fe50324bd83be211b6682c2e0cf951164