[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] checking richard-reece/md-toc against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichard-reece%2Fmd-toc" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/richard-reece/md-toc on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.41 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.50 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.50 [INFO] [stderr] Downloaded proc-macro2 v1.0.1 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.50 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.50 [INFO] [stderr] Downloaded backtrace v0.3.35 [INFO] [stderr] Downloaded indexmap v1.1.0 [INFO] [stderr] Downloaded futures v0.1.28 [INFO] [stderr] Downloaded regex-syntax v0.6.11 [INFO] [stderr] Downloaded regex v1.2.1 [INFO] [stderr] Downloaded web-sys v0.3.27 [INFO] [stderr] Downloaded seed v0.4.0 [INFO] [stderr] Downloaded js-sys v0.3.27 [INFO] [stderr] Downloaded serde_derive v1.0.99 [INFO] [stderr] Downloaded serde v1.0.99 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.50 [INFO] [stderr] Downloaded wasm-bindgen v0.2.50 [INFO] [stderr] Downloaded unicase v2.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8026472c165b6ebc4a43864301f182c54d83276cfef3e5e2f76c9479f6c3ec2 [INFO] running `Command { std: "docker" "start" "-a" "f8026472c165b6ebc4a43864301f182c54d83276cfef3e5e2f76c9479f6c3ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8026472c165b6ebc4a43864301f182c54d83276cfef3e5e2f76c9479f6c3ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8026472c165b6ebc4a43864301f182c54d83276cfef3e5e2f76c9479f6c3ec2", kill_on_drop: false }` [INFO] [stdout] f8026472c165b6ebc4a43864301f182c54d83276cfef3e5e2f76c9479f6c3ec2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 708d3799110429fb5c185b170efd11204294c857539f12d1dd11ffc2f0453930 [INFO] running `Command { std: "docker" "start" "-a" "708d3799110429fb5c185b170efd11204294c857539f12d1dd11ffc2f0453930", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.50 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling bumpalo v2.6.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.50 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling pulldown-cmark v0.5.3 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking futures v0.1.28 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking enclose v1.1.8 [INFO] [stderr] Checking regex-syntax v0.6.11 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Checking indexmap v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.35 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Checking regex v1.2.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.50 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.50 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.50 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.50 [INFO] [stderr] Compiling web-sys v0.3.27 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking js-sys v0.3.27 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.27 [INFO] [stderr] Checking seed v0.4.0 [INFO] [stderr] Checking 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 items `from_args` and `generate_toc` are never used [INFO] [stdout] --> src/config.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn from_args(args:Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^ [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: 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 items `from_args` and `generate_toc` are never used [INFO] [stdout] --> src/config.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn from_args(args:Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^ [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.34s [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, wasm-bindgen v0.2.50 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "708d3799110429fb5c185b170efd11204294c857539f12d1dd11ffc2f0453930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "708d3799110429fb5c185b170efd11204294c857539f12d1dd11ffc2f0453930", kill_on_drop: false }` [INFO] [stdout] 708d3799110429fb5c185b170efd11204294c857539f12d1dd11ffc2f0453930 [INFO] checking richard-reece/md-toc against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichard-reece%2Fmd-toc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/richard-reece/md-toc on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c40648a4ba81de78addad56673da5a809b6b6fd88a9dab3210b0ca6adbf7538a [INFO] running `Command { std: "docker" "start" "-a" "c40648a4ba81de78addad56673da5a809b6b6fd88a9dab3210b0ca6adbf7538a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c40648a4ba81de78addad56673da5a809b6b6fd88a9dab3210b0ca6adbf7538a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c40648a4ba81de78addad56673da5a809b6b6fd88a9dab3210b0ca6adbf7538a", kill_on_drop: false }` [INFO] [stdout] c40648a4ba81de78addad56673da5a809b6b6fd88a9dab3210b0ca6adbf7538a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 662c9cd4f502d75732ea639db0030e42b9ae798123b398abbcf8e885cd5ba03c [INFO] running `Command { std: "docker" "start" "-a" "662c9cd4f502d75732ea639db0030e42b9ae798123b398abbcf8e885cd5ba03c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.50 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bumpalo v2.6.0 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.50 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling pulldown-cmark v0.5.3 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking futures v0.1.28 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Checking enclose v1.1.8 [INFO] [stderr] Checking indexmap v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.35 [INFO] [stderr] Checking regex-syntax v0.6.11 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking regex v1.2.1 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.50 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.50 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.50 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.50 [INFO] [stderr] Compiling web-sys v0.3.27 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking js-sys v0.3.27 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.27 [INFO] [stderr] Checking seed v0.4.0 [INFO] [stderr] Checking 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 items `from_args` and `generate_toc` are never used [INFO] [stdout] --> src/config.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn from_args(args:Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^ [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [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 items `from_args` and `generate_toc` are never used [INFO] [stdout] --> src/config.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn from_args(args:Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^ [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, wasm-bindgen v0.2.50 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "662c9cd4f502d75732ea639db0030e42b9ae798123b398abbcf8e885cd5ba03c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "662c9cd4f502d75732ea639db0030e42b9ae798123b398abbcf8e885cd5ba03c", kill_on_drop: false }` [INFO] [stdout] 662c9cd4f502d75732ea639db0030e42b9ae798123b398abbcf8e885cd5ba03c