[INFO] updating cached repository https://github.com/Vurich/mdfmt [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a17289766919e470b1b48e9fe58307d6bc8bc75b [INFO] checking Vurich/mdfmt against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVurich%2Fmdfmt" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Vurich/mdfmt on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Vurich/mdfmt [INFO] removed path dependency pulldown-cmark from git repo https://github.com/Vurich/mdfmt [INFO] finished tweaking git repo https://github.com/Vurich/mdfmt [INFO] tweaked toml for git repo https://github.com/Vurich/mdfmt written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Vurich/mdfmt already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (pulldown-cmark) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (pulldown-cmark) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ca7833cc61033ebbf42de3654975e507c30876dc96d1f14e3fe0c354ed2256cd [INFO] running `"docker" "start" "-a" "ca7833cc61033ebbf42de3654975e507c30876dc96d1f14e3fe0c354ed2256cd"` [INFO] [stderr] warning: dependency (pulldown-cmark) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling pulldown-cmark v0.7.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling derive_utils v0.9.1 [INFO] [stderr] Compiling auto_enums_core v0.7.3 [INFO] [stderr] Compiling auto_enums_derive v0.7.3 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Checking auto_enums v0.7.3 [INFO] [stderr] Checking structopt v0.3.14 [INFO] [stderr] Checking mdfmt v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0532]: expected tuple struct or tuple variant, found unit variant `LinkType::Reference` [INFO] [stderr] --> src/main.rs:131:24 [INFO] [stderr] | [INFO] [stderr] 131 | if let LinkType::Reference(rname) = linktype { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant [INFO] [stderr] [INFO] [stderr] error[E0532]: expected tuple struct or tuple variant, found unit variant `LinkType::Reference` [INFO] [stderr] --> src/main.rs:181:34 [INFO] [stderr] | [INFO] [stderr] 181 | Event::End(Tag::Link(LinkType::Reference(rname), target, title)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant [INFO] [stderr] [INFO] [stderr] error[E0532]: expected tuple struct or tuple variant, found unit variant `LinkType::Reference` [INFO] [stderr] --> src/main.rs:131:24 [INFO] [stderr] | [INFO] [stderr] 131 | if let LinkType::Reference(rname) = linktype { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant [INFO] [stderr] [INFO] [stderr] error[E0532]: expected tuple struct or tuple variant, found unit variant `LinkType::Reference` [INFO] [stderr] --> src/main.rs:181:34 [INFO] [stderr] | [INFO] [stderr] 181 | Event::End(Tag::Link(LinkType::Reference(rname), target, title)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant [INFO] [stderr] [INFO] [stderr] warning: unused import: `auto_enums::auto_enum` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use auto_enums::auto_enum; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `CowStr` [INFO] [stderr] --> src/main.rs:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | use pulldown_cmark::{CodeBlockKind, CowStr, Event, LinkType, Parser, Tag}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `mem`, `self` [INFO] [stderr] --> src/main.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | fmt::{self, Write as _}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 10 | fs, io, iter, mem, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `NoHyphenation` [INFO] [stderr] --> src/main.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 14 | use textwrap::{NoHyphenation, Wrapper}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `auto_enums::auto_enum` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use auto_enums::auto_enum; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `CowStr` [INFO] [stderr] --> src/main.rs:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | use pulldown_cmark::{CodeBlockKind, CowStr, Event, LinkType, Parser, Tag}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `mem`, `self` [INFO] [stderr] --> src/main.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | fmt::{self, Write as _}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 10 | fs, io, iter, mem, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `NoHyphenation` [INFO] [stderr] --> src/main.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 14 | use textwrap::{NoHyphenation, Wrapper}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0532`. [INFO] [stderr] error: could not compile `mdfmt`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0532`. [INFO] [stderr] error: could not compile `mdfmt`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ca7833cc61033ebbf42de3654975e507c30876dc96d1f14e3fe0c354ed2256cd"` [INFO] running `"docker" "rm" "-f" "ca7833cc61033ebbf42de3654975e507c30876dc96d1f14e3fe0c354ed2256cd"` [INFO] [stdout] ca7833cc61033ebbf42de3654975e507c30876dc96d1f14e3fe0c354ed2256cd