[INFO] cloning repository https://github.com/richard-reece/md-toc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/richard-reece/md-toc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichard-reece%2Fmd-toc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichard-reece%2Fmd-toc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5b12c490f9022be8782ba62ca9936b43fdf9d354
[INFO] testing richard-reece/md-toc against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichard-reece%2Fmd-toc" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/richard-reece/md-toc on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/richard-reece/md-toc
[INFO] finished tweaking git repo https://github.com/richard-reece/md-toc
[INFO] tweaked toml for git repo https://github.com/richard-reece/md-toc written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/richard-reece/md-toc already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 045818488a8f7de087520b48453d2c1037da2345245bfe7b80f54f5b031d2448
[INFO] running `Command { std: "docker" "start" "-a" "045818488a8f7de087520b48453d2c1037da2345245bfe7b80f54f5b031d2448", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "045818488a8f7de087520b48453d2c1037da2345245bfe7b80f54f5b031d2448", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "045818488a8f7de087520b48453d2c1037da2345245bfe7b80f54f5b031d2448", kill_on_drop: false }`
[INFO] [stdout] 045818488a8f7de087520b48453d2c1037da2345245bfe7b80f54f5b031d2448
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2e172bd2b919cc3436a0bb9453bc54bda0dfe557a44410472e1c372fc9db6a1d
[INFO] running `Command { std: "docker" "start" "-a" "2e172bd2b919cc3436a0bb9453bc54bda0dfe557a44410472e1c372fc9db6a1d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.1
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.50
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling bumpalo v2.6.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling cc v1.0.41
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]    Compiling serde v1.0.99
[INFO] [stderr]    Compiling wasm-bindgen v0.2.50
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling unicode-segmentation v1.3.0
[INFO] [stderr]    Compiling sourcefile v0.1.4
[INFO] [stderr]    Compiling unicode-width v0.1.6
[INFO] [stderr]    Compiling pulldown-cmark v0.5.3
[INFO] [stderr]    Compiling enclose v1.1.8
[INFO] [stderr]    Compiling regex-syntax v0.6.11
[INFO] [stderr]    Compiling indexmap v1.1.0
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling aho-corasick v0.7.6
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling backtrace-sys v0.1.31
[INFO] [stderr]    Compiling weedle v0.10.0
[INFO] [stderr]    Compiling regex v1.2.1
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]    Compiling backtrace v0.3.35
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.50
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling serde_derive v1.0.99
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.50
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.50
[INFO] [stderr]    Compiling failure v0.1.5
[INFO] [stderr]    Compiling wasm-bindgen-webidl v0.2.50
[INFO] [stderr]    Compiling web-sys v0.3.27
[INFO] [stderr]    Compiling serde_json v1.0.40
[INFO] [stderr]    Compiling js-sys v0.3.27
[INFO] [stderr]    Compiling console_error_panic_hook v0.1.6
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.3.27
[INFO] [stderr]    Compiling seed v0.4.0
[INFO] [stderr]    Compiling md-toc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]  --> src/config.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Config {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_args` is never used
[INFO] [stdout]   --> src/config.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn from_args(args:Vec<String>) -> Result<Config, MyError> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `generate_toc` is never used
[INFO] [stdout]   --> src/config.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn generate_toc(&self) -> Result<(), io::Error> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Usage` and `IoError` are never constructed
[INFO] [stdout]  --> src/error.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum MyError {
[INFO] [stdout]   |          ------- variants in this enum
[INFO] [stdout] 7 |     Usage(String),
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 8 |     IoError(io::Error),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 31.80s
[INFO] running `Command { std: "docker" "inspect" "2e172bd2b919cc3436a0bb9453bc54bda0dfe557a44410472e1c372fc9db6a1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e172bd2b919cc3436a0bb9453bc54bda0dfe557a44410472e1c372fc9db6a1d", kill_on_drop: false }`
[INFO] [stdout] 2e172bd2b919cc3436a0bb9453bc54bda0dfe557a44410472e1c372fc9db6a1d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 69a70d21c9d254ca381791fd4dcbb2a108dc66cc56b3369662d3d3759a8ac48d
[INFO] running `Command { std: "docker" "start" "-a" "69a70d21c9d254ca381791fd4dcbb2a108dc66cc56b3369662d3d3759a8ac48d", kill_on_drop: false }`
[INFO] [stderr]    Compiling md-toc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]  --> src/config.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Config {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_args` is never used
[INFO] [stdout]   --> src/config.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn from_args(args:Vec<String>) -> Result<Config, MyError> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `generate_toc` is never used
[INFO] [stdout]   --> src/config.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn generate_toc(&self) -> Result<(), io::Error> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Usage` and `IoError` are never constructed
[INFO] [stdout]  --> src/error.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum MyError {
[INFO] [stdout]   |          ------- variants in this enum
[INFO] [stdout] 7 |     Usage(String),
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 8 |     IoError(io::Error),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.74s
[INFO] running `Command { std: "docker" "inspect" "69a70d21c9d254ca381791fd4dcbb2a108dc66cc56b3369662d3d3759a8ac48d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "69a70d21c9d254ca381791fd4dcbb2a108dc66cc56b3369662d3d3759a8ac48d", kill_on_drop: false }`
[INFO] [stdout] 69a70d21c9d254ca381791fd4dcbb2a108dc66cc56b3369662d3d3759a8ac48d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 655b2001a869c7a6ab2aa6952dc05b06ff12dc1a3067fb6cccac01e7795caa2c
[INFO] running `Command { std: "docker" "start" "-a" "655b2001a869c7a6ab2aa6952dc05b06ff12dc1a3067fb6cccac01e7795caa2c", kill_on_drop: false }`
[INFO] [stderr] warning: struct `Config` is never constructed
[INFO] [stderr]  --> src/config.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct Config {
[INFO] [stderr]   |            ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_args` is never used
[INFO] [stderr]   --> src/config.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 |     pub fn from_args(args:Vec<String>) -> Result<Config, MyError> {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `generate_toc` is never used
[INFO] [stderr]   --> src/config.rs:35:12
[INFO] [stderr]    |
[INFO] [stderr] 35 |     pub fn generate_toc(&self) -> Result<(), io::Error> {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Usage` and `IoError` are never constructed
[INFO] [stderr]  --> src/error.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub enum MyError {
[INFO] [stderr]   |          ------- variants in this enum
[INFO] [stderr] 7 |     Usage(String),
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 8 |     IoError(io::Error),
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `md-toc` (lib test) generated 4 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/md_toc-7e56c951de159ab0)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/md-toc.rs (/opt/rustwide/target/debug/deps/md_toc-63d2416ee88b71f7)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "655b2001a869c7a6ab2aa6952dc05b06ff12dc1a3067fb6cccac01e7795caa2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "655b2001a869c7a6ab2aa6952dc05b06ff12dc1a3067fb6cccac01e7795caa2c", kill_on_drop: false }`
[INFO] [stdout] 655b2001a869c7a6ab2aa6952dc05b06ff12dc1a3067fb6cccac01e7795caa2c
