[INFO] fetching crate linemd 0.4.0... [INFO] checking linemd-0.4.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate linemd 0.4.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate linemd 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate linemd 0.4.0 [INFO] tweaked toml for crates.io crate linemd 0.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate linemd 0.4.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate linemd 0.4.0 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c4d1eb0c4ee48f3261f49967214195deba00a47905b1842593e5439dd6a0297 [INFO] running `Command { std: "docker" "start" "-a" "7c4d1eb0c4ee48f3261f49967214195deba00a47905b1842593e5439dd6a0297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c4d1eb0c4ee48f3261f49967214195deba00a47905b1842593e5439dd6a0297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c4d1eb0c4ee48f3261f49967214195deba00a47905b1842593e5439dd6a0297", kill_on_drop: false }` [INFO] [stdout] 7c4d1eb0c4ee48f3261f49967214195deba00a47905b1842593e5439dd6a0297 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b70db7d8dfba8e06a5564b3601c58910ffff6143cca1503f342f98ed533bb0b4 [INFO] running `Command { std: "docker" "start" "-a" "b70db7d8dfba8e06a5564b3601c58910ffff6143cca1503f342f98ed533bb0b4", kill_on_drop: false }` [INFO] [stderr] Checking linemd v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SvgConfig` [INFO] [stdout] --> src/tests.rs:288:45 [INFO] [stdout] | [INFO] [stdout] 288 | let svg = render_as_svg(&MD.parse_md(), SvgConfig::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SvgConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render_as_svg` in this scope [INFO] [stdout] --> src/tests.rs:288:15 [INFO] [stdout] | [INFO] [stdout] 288 | let svg = render_as_svg(&MD.parse_md(), SvgConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `render_as_html` [INFO] [stdout] | [INFO] [stdout] ::: src/html.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn render_as_html<'a>(tokens: impl AsRef<[Token<'a>]> + 'a) -> String { [INFO] [stdout] | ------------------------------------------------------------------------- similarly named function `render_as_html` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 221 | ) -> Result, (ParserError, Option)> { [INFO] [stdout] | ----- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 221 | ) -> Result>, (ParserError, Option>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 228 | ) -> Result, (ParserError, Option)> { [INFO] [stdout] | ----- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 228 | ) -> Result>, (ParserError, Option>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 249 | ) -> Result, (ParserError, Option)> { [INFO] [stdout] | ----- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 249 | ) -> Result>, (ParserError, Option>)> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linemd` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b70db7d8dfba8e06a5564b3601c58910ffff6143cca1503f342f98ed533bb0b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b70db7d8dfba8e06a5564b3601c58910ffff6143cca1503f342f98ed533bb0b4", kill_on_drop: false }` [INFO] [stdout] b70db7d8dfba8e06a5564b3601c58910ffff6143cca1503f342f98ed533bb0b4