[INFO] cloning repository https://github.com/teor2345/spandoc-panic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teor2345/spandoc-panic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteor2345%2Fspandoc-panic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteor2345%2Fspandoc-panic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4a719c169b7842279d080d7b78b3515aa7c1131 [INFO] checking teor2345/spandoc-panic against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteor2345%2Fspandoc-panic" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/teor2345/spandoc-panic [INFO] finished tweaking git repo https://github.com/teor2345/spandoc-panic [INFO] tweaked toml for git repo https://github.com/teor2345/spandoc-panic written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/teor2345/spandoc-panic on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/teor2345/spandoc-panic 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb9465494bcd61308ab74ba531cd9377ecb0a0e60a9fee44519f8c3469a4176b [INFO] running `Command { std: "docker" "start" "-a" "bb9465494bcd61308ab74ba531cd9377ecb0a0e60a9fee44519f8c3469a4176b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb9465494bcd61308ab74ba531cd9377ecb0a0e60a9fee44519f8c3469a4176b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb9465494bcd61308ab74ba531cd9377ecb0a0e60a9fee44519f8c3469a4176b", kill_on_drop: false }` [INFO] [stdout] bb9465494bcd61308ab74ba531cd9377ecb0a0e60a9fee44519f8c3469a4176b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b78ac241e3573db1eae675ac972ad693c5fb0f48c5aac00239952692b30e615 [INFO] running `Command { std: "docker" "start" "-a" "7b78ac241e3573db1eae675ac972ad693c5fb0f48c5aac00239952692b30e615", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling spandoc-attribute v0.1.0 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking spandoc v0.2.0 [INFO] [stderr] Checking spandoc-panic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[spandoc::spandoc] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: attempt to subtract with overflow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[spandoc::spandoc] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: attempt to subtract with overflow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[spandoc::spandoc] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: attempt to subtract with overflow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[spandoc::spandoc] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: attempt to subtract with overflow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/main.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[spandoc::spandoc] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: attempt to subtract with overflow [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spandoc-panic` (bin "spandoc-panic" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[spandoc::spandoc] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: attempt to subtract with overflow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[spandoc::spandoc] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: attempt to subtract with overflow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[spandoc::spandoc] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: attempt to subtract with overflow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[spandoc::spandoc] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: attempt to subtract with overflow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/main.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[spandoc::spandoc] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: attempt to subtract with overflow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `spandoc_panic` [INFO] [stdout] --> src/main.rs:43:2 [INFO] [stdout] | [INFO] [stdout] 43 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spandoc-panic` (bin "spandoc-panic") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "7b78ac241e3573db1eae675ac972ad693c5fb0f48c5aac00239952692b30e615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b78ac241e3573db1eae675ac972ad693c5fb0f48c5aac00239952692b30e615", kill_on_drop: false }` [INFO] [stdout] 7b78ac241e3573db1eae675ac972ad693c5fb0f48c5aac00239952692b30e615