[INFO] cloning repository https://github.com/ivanhrabcak/openai-chatbot-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ivanhrabcak/openai-chatbot-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanhrabcak%2Fopenai-chatbot-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanhrabcak%2Fopenai-chatbot-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97a16cf3621f3967d590d355c251e4a4f84bc039 [INFO] documenting ivanhrabcak/openai-chatbot-backend against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanhrabcak%2Fopenai-chatbot-backend" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ivanhrabcak/openai-chatbot-backend on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ivanhrabcak/openai-chatbot-backend [INFO] finished tweaking git repo https://github.com/ivanhrabcak/openai-chatbot-backend [INFO] tweaked toml for git repo https://github.com/ivanhrabcak/openai-chatbot-backend written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate git repo https://github.com/ivanhrabcak/openai-chatbot-backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d8804cc3b6b15cd472c478e954b1a78b5178fdd41638102b81984e43fccbed9 [INFO] running `Command { std: "docker" "start" "-a" "3d8804cc3b6b15cd472c478e954b1a78b5178fdd41638102b81984e43fccbed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d8804cc3b6b15cd472c478e954b1a78b5178fdd41638102b81984e43fccbed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d8804cc3b6b15cd472c478e954b1a78b5178fdd41638102b81984e43fccbed9", kill_on_drop: false }` [INFO] [stdout] 3d8804cc3b6b15cd472c478e954b1a78b5178fdd41638102b81984e43fccbed9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 060a838ac1fd398e45f82fb27ab6a37458908026f37b9a3d78319f9ce45f697b [INFO] running `Command { std: "docker" "start" "-a" "060a838ac1fd398e45f82fb27ab6a37458908026f37b9a3d78319f9ce45f697b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ppv-lite86 v0.2.14 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking ttl_cache v0.5.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling multer v2.0.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking h2 v0.3.6 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Checking rocket_http v0.5.0-rc.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.5 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Documenting openai-chatbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `OPENAI_TOKEN` not defined [INFO] [stdout] --> src/main.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let API_KEY = env!("OPENAI_TOKEN"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `OPENAI_TOKEN` not defined [INFO] [stdout] --> src/main.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let API_KEY = env!("OPENAI_TOKEN"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `openai-chatbot` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name openai_chatbot src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=0d8d59371a7063f3 -L dependency=/opt/rustwide/target/debug/deps --extern futures=/opt/rustwide/target/debug/deps/libfutures-b90d701168930590.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-5af39254255b2667.rmeta --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-ba3b16d09b3022da.rmeta --extern rocket=/opt/rustwide/target/debug/deps/librocket-273470c4474f082f.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-eaf2e215621013c0.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-3d186c4461e66396.rmeta --extern ttl_cache=/opt/rustwide/target/debug/deps/libttl_cache-8c0059da30fc2c7d.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "060a838ac1fd398e45f82fb27ab6a37458908026f37b9a3d78319f9ce45f697b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "060a838ac1fd398e45f82fb27ab6a37458908026f37b9a3d78319f9ce45f697b", kill_on_drop: false }` [INFO] [stdout] 060a838ac1fd398e45f82fb27ab6a37458908026f37b9a3d78319f9ce45f697b