[INFO] fetching crate docstrings 0.1.1... [INFO] checking docstrings-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate docstrings 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate docstrings 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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 bitflags v0.8.2 (available: v2.6.0) [INFO] [stderr] Adding pulldown-cmark v0.0.14 (available: v0.12.1) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pulldown-cmark v0.0.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c4f663a85298849810d74965b2fafa513e0428d3ef0be1637039c6fc6c7c462 [INFO] running `Command { std: "docker" "start" "-a" "4c4f663a85298849810d74965b2fafa513e0428d3ef0be1637039c6fc6c7c462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c4f663a85298849810d74965b2fafa513e0428d3ef0be1637039c6fc6c7c462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c4f663a85298849810d74965b2fafa513e0428d3ef0be1637039c6fc6c7c462", kill_on_drop: false }` [INFO] [stdout] 4c4f663a85298849810d74965b2fafa513e0428d3ef0be1637039c6fc6c7c462 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04dd5222b153ede63f1e35076f9e5223102ef6582a75aeaee73177cb857f2b45 [INFO] running `Command { std: "docker" "start" "-a" "04dd5222b153ede63f1e35076f9e5223102ef6582a75aeaee73177cb857f2b45", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling pulldown-cmark v0.0.14 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking getopts v0.2.21 [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: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: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/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/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: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_end().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_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_start_matches(": ").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_start_matches(": ").into(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `docstrings` (lib test) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `docstrings` (lib) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "04dd5222b153ede63f1e35076f9e5223102ef6582a75aeaee73177cb857f2b45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04dd5222b153ede63f1e35076f9e5223102ef6582a75aeaee73177cb857f2b45", kill_on_drop: false }` [INFO] [stdout] 04dd5222b153ede63f1e35076f9e5223102ef6582a75aeaee73177cb857f2b45