[INFO] updating cached repository https://github.com/foresterre/corniferbot [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54c514411a8488f791da8ec1f279cec6d41d62a1 [INFO] documenting foresterre/corniferbot against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforesterre%2Fcorniferbot" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/foresterre/corniferbot on toolchain 66dfc4e010913fbed0c4ea91fc2c010004b0f441 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/foresterre/corniferbot [INFO] finished tweaking git repo https://github.com/foresterre/corniferbot [INFO] tweaked toml for git repo https://github.com/foresterre/corniferbot written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/foresterre/corniferbot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bafc8dd387c374bbc8fa14ed28a7a87f7c9b03ee968b6740c8cfdcd3b82c634 [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" "4bafc8dd387c374bbc8fa14ed28a7a87f7c9b03ee968b6740c8cfdcd3b82c634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bafc8dd387c374bbc8fa14ed28a7a87f7c9b03ee968b6740c8cfdcd3b82c634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bafc8dd387c374bbc8fa14ed28a7a87f7c9b03ee968b6740c8cfdcd3b82c634", kill_on_drop: false }` [INFO] [stdout] 4bafc8dd387c374bbc8fa14ed28a7a87f7c9b03ee968b6740c8cfdcd3b82c634 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--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@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d2193aaf7e671cab4fab05cf4ca52192de1c74d84e06072b7634014f12e4f7b [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" "6d2193aaf7e671cab4fab05cf4ca52192de1c74d84e06072b7634014f12e4f7b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking futures-core v0.3.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking futures-sink v0.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-io v0.3.3 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking futures-task v0.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking tracing-core v0.1.9 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking sharded-slab v0.0.8 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking futures-channel v0.3.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stderr] Checking aho-corasick v0.7.8 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling tokio-macros v0.2.4 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling tracing-attributes v0.1.6 [INFO] [stderr] Checking tokio v0.2.11 [INFO] [stderr] Compiling futures-macro v0.3.3 [INFO] [stderr] Checking tracing v0.1.12 [INFO] [stderr] Checking futures-util v0.3.3 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking tracing-futures v0.2.1 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking futures-executor v0.3.3 [INFO] [stderr] Checking futures v0.3.3 [INFO] [stderr] Checking hyper v0.13.2 [INFO] [stderr] Checking serde_json v1.0.46 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking tracing-serde v0.1.0 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking telegram-bot-raw v0.7.0 (https://github.com/telegram-rs/telegram-bot.git#8e363c51) [INFO] [stderr] Checking tracing-subscriber v0.2.0 [INFO] [stderr] Checking telegram-bot v0.7.0 (https://github.com/telegram-rs/telegram-bot.git#8e363c51) [INFO] [stderr] Documenting corniferbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `TG_TOKEN` not defined [INFO] [stdout] --> src/main.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let token = env!("TG_TOKEN"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `corniferbot`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name corniferbot src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-01ca67ee0cbcfb04.rmeta --extern telegram_bot=/opt/rustwide/target/debug/deps/libtelegram_bot-3f20b57ee434d3e9.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-37f0d461d91b094b.rmeta --extern tracing=/opt/rustwide/target/debug/deps/libtracing-7a0dbbc7fcc2d7e6.rmeta --extern tracing_futures=/opt/rustwide/target/debug/deps/libtracing_futures-d50d07a4618d5c98.rmeta --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-2c4edacb23dd3704.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "6d2193aaf7e671cab4fab05cf4ca52192de1c74d84e06072b7634014f12e4f7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d2193aaf7e671cab4fab05cf4ca52192de1c74d84e06072b7634014f12e4f7b", kill_on_drop: false }` [INFO] [stdout] 6d2193aaf7e671cab4fab05cf4ca52192de1c74d84e06072b7634014f12e4f7b