[INFO] cloning repository https://github.com/TuntematonSotilas/album_maker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TuntematonSotilas/album_maker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuntematonSotilas%2Falbum_maker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuntematonSotilas%2Falbum_maker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4072d134ca6416fd336bee1abb14b02157876b0b [INFO] checking TuntematonSotilas/album_maker against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuntematonSotilas%2Falbum_maker" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TuntematonSotilas/album_maker on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TuntematonSotilas/album_maker [INFO] finished tweaking git repo https://github.com/TuntematonSotilas/album_maker [INFO] tweaked toml for git repo https://github.com/TuntematonSotilas/album_maker written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 75 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding gloo-console v0.2.3 (latest: v0.3.0) [INFO] [stderr] Adding gloo-events v0.1.2 (latest: v0.2.0) [INFO] [stderr] Adding gloo-file v0.2.3 (latest: v0.3.0) [INFO] [stderr] Adding gloo-net v0.2.6 (latest: v0.5.0) [INFO] [stderr] Adding gloo-timers v0.2.6 (latest: v0.3.0) [INFO] [stderr] Adding gloo-utils v0.1.7 (latest: v0.2.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding hex v0.2.0 (latest: v0.4.3) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding ring v0.16.20 (latest: v0.17.8) [INFO] [stderr] Adding serde-wasm-bindgen v0.5.0 (latest: v0.6.5) [INFO] [stderr] Adding spin v0.5.2 (latest: v0.9.8) [INFO] [stderr] Adding untrusted v0.7.1 (latest: v0.9.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enclose v1.2.0 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.42 [INFO] [stderr] Downloaded load-dotenv v0.1.2 [INFO] [stderr] Downloaded seed v0.10.0 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8261e3745938aa61673fa5e5d44a4548f92d34f4524954a96e6e58293e140009 [INFO] running `Command { std: "docker" "start" "-a" "8261e3745938aa61673fa5e5d44a4548f92d34f4524954a96e6e58293e140009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8261e3745938aa61673fa5e5d44a4548f92d34f4524954a96e6e58293e140009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8261e3745938aa61673fa5e5d44a4548f92d34f4524954a96e6e58293e140009", kill_on_drop: false }` [INFO] [stdout] 8261e3745938aa61673fa5e5d44a4548f92d34f4524954a96e6e58293e140009 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ebd06212955c6c8a38113913d2b76458b09e1a043e3117e9c14ff7903626c76 [INFO] running `Command { std: "docker" "start" "-a" "4ebd06212955c6c8a38113913d2b76458b09e1a043e3117e9c14ff7903626c76", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking enclose v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling load-dotenv v0.1.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking wasm-bindgen-test v0.3.42 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking gloo-utils v0.1.7 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Checking gloo-console v0.2.3 [INFO] [stderr] Checking gloo-net v0.2.6 [INFO] [stderr] Checking gloo-file v0.2.3 [INFO] [stderr] Checking seed v0.10.0 [INFO] [stderr] Checking album_maker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/api/albumapi.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | load_dotenv!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to load .env file: Io(Custom { kind: NotFound, error: "path not found" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/api/albumapi.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | load_dotenv!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to load .env file: Io(Custom { kind: NotFound, error: "path not found" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `CLD_API_KEY` not defined at compile time [INFO] [stdout] --> src/api/albumapi.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | let apikey = env!("CLD_API_KEY"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("CLD_API_KEY")` to read the variable at run time [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 `CLD_API_SECRET` not defined at compile time [INFO] [stdout] --> src/api/albumapi.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | let secret = env!("CLD_API_SECRET"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("CLD_API_SECRET")` to read the variable at run time [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 `CLD_API_KEY` not defined at compile time [INFO] [stdout] --> src/api/albumapi.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | let apikey = env!("CLD_API_KEY"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("CLD_API_KEY")` to read the variable at run time [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 `CLD_API_SECRET` not defined at compile time [INFO] [stdout] --> src/api/albumapi.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | let secret = env!("CLD_API_SECRET"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("CLD_API_SECRET")` to read the variable at run time [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: proc macro panicked [INFO] [stdout] --> src/components/upload.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | load_dotenv!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to load .env file: Io(Custom { kind: NotFound, error: "path not found" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `CLD_UPLOAD_PRESET` not defined at compile time [INFO] [stdout] --> src/components/upload.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | ... let upload_preset = env!("CLD_UPLOAD_PRESET"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("CLD_UPLOAD_PRESET")` to read the variable at run time [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: proc macro panicked [INFO] [stdout] --> src/components/upload.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | load_dotenv!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to load .env file: Io(Custom { kind: NotFound, error: "path not found" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `CLD_UPLOAD_PRESET` not defined at compile time [INFO] [stdout] --> src/components/upload.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | ... let upload_preset = env!("CLD_UPLOAD_PRESET"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("CLD_UPLOAD_PRESET")` to read the variable at run time [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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `album_maker` (lib test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `album_maker` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "4ebd06212955c6c8a38113913d2b76458b09e1a043e3117e9c14ff7903626c76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ebd06212955c6c8a38113913d2b76458b09e1a043e3117e9c14ff7903626c76", kill_on_drop: false }` [INFO] [stdout] 4ebd06212955c6c8a38113913d2b76458b09e1a043e3117e9c14ff7903626c76