[INFO] cloning repository https://github.com/Vurich/mdfmt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vurich/mdfmt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVurich%2Fmdfmt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVurich%2Fmdfmt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a17289766919e470b1b48e9fe58307d6bc8bc75b [INFO] testing Vurich/mdfmt against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVurich%2Fmdfmt" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Vurich/mdfmt on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-10/source/Cargo.toml [INFO] crate git repo https://github.com/Vurich/mdfmt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-10/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 152cc0622b93db5d85b73fbef6f10c7db4d6b4647c7c2abfa34461112b2f2cab [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "152cc0622b93db5d85b73fbef6f10c7db4d6b4647c7c2abfa34461112b2f2cab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "152cc0622b93db5d85b73fbef6f10c7db4d6b4647c7c2abfa34461112b2f2cab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "152cc0622b93db5d85b73fbef6f10c7db4d6b4647c7c2abfa34461112b2f2cab", kill_on_drop: false }` [INFO] [stdout] 152cc0622b93db5d85b73fbef6f10c7db4d6b4647c7c2abfa34461112b2f2cab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd7e69c014e216cdd8ae23c5fbce6d7f96103abd06f3e92103c5e5227a9e2288 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cd7e69c014e216cdd8ae23c5fbce6d7f96103abd06f3e92103c5e5227a9e2288", kill_on_drop: false }` [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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling auto_enums_derive v0.7.10 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling derive_utils v0.11.0 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Compiling auto_enums_core v0.7.10 [INFO] [stderr] Compiling auto_enums v0.7.10 [INFO] [stderr] Compiling structopt v0.3.20 [INFO] [stderr] Compiling mdfmt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found unit variant `LinkType::Reference` [INFO] [stdout] --> src/main.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | if let LinkType::Reference(rname) = linktype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found unit variant `LinkType::Reference` [INFO] [stdout] --> src/main.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | Event::End(Tag::Link(LinkType::Reference(rname), target, title)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auto_enums::auto_enum` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use auto_enums::auto_enum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CowStr` [INFO] [stdout] --> src/main.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use pulldown_cmark::{CodeBlockKind, CowStr, Event, LinkType, Parser, Tag}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mem`, `self` [INFO] [stdout] --> src/main.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | fmt::{self, Write as _}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | fs, io, iter, mem, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NoHyphenation` [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use textwrap::{NoHyphenation, Wrapper}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0532`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mdfmt` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "cd7e69c014e216cdd8ae23c5fbce6d7f96103abd06f3e92103c5e5227a9e2288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd7e69c014e216cdd8ae23c5fbce6d7f96103abd06f3e92103c5e5227a9e2288", kill_on_drop: false }` [INFO] [stdout] cd7e69c014e216cdd8ae23c5fbce6d7f96103abd06f3e92103c5e5227a9e2288