[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/4072d134ca6416fd336bee1abb14b02157876b0b against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuntematonSotilas%2Falbum_maker" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TuntematonSotilas/album_maker on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 92 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding gloo-console v0.2.3 (available: v0.3.0) [INFO] [stderr] Adding gloo-events v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding gloo-file v0.2.3 (available: v0.3.0) [INFO] [stderr] Adding gloo-net v0.2.6 (available: v0.6.0) [INFO] [stderr] Adding gloo-timers v0.2.6 (available: v0.3.0) [INFO] [stderr] Adding gloo-utils v0.1.7 (available: v0.2.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hex v0.2.0 (available: v0.4.3) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding ring v0.16.20 (available: v0.17.8) [INFO] [stderr] Adding serde-wasm-bindgen v0.5.0 (available: v0.6.5) [INFO] [stderr] Adding spin v0.5.2 (available: v0.9.8) [INFO] [stderr] Adding untrusted v0.7.1 (available: v0.9.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.43 [INFO] [stderr] Downloaded enclose v1.2.0 [INFO] [stderr] Downloaded minicov v0.3.5 [INFO] [stderr] Downloaded load-dotenv v0.1.2 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.43 [INFO] [stderr] Downloaded seed v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10cbebe79837392b7fcfa248ecf67c69ef8f35b4ed5c34b16981d2151d3b996b [INFO] running `Command { std: "docker" "start" "-a" "10cbebe79837392b7fcfa248ecf67c69ef8f35b4ed5c34b16981d2151d3b996b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10cbebe79837392b7fcfa248ecf67c69ef8f35b4ed5c34b16981d2151d3b996b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10cbebe79837392b7fcfa248ecf67c69ef8f35b4ed5c34b16981d2151d3b996b", kill_on_drop: false }` [INFO] [stdout] 10cbebe79837392b7fcfa248ecf67c69ef8f35b4ed5c34b16981d2151d3b996b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcb4a5c7bec30b3cd6a02cfc2a33f5844c71b7edc444d67a08aef9db28e889e8 [INFO] running `Command { std: "docker" "start" "-a" "fcb4a5c7bec30b3cd6a02cfc2a33f5844c71b7edc444d67a08aef9db28e889e8", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking enclose v1.2.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Compiling load-dotenv v0.1.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.43 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking js-sys v0.3.70 [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 uuid v1.10.0 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking wasm-bindgen-test v0.3.43 [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_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_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) 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 test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "fcb4a5c7bec30b3cd6a02cfc2a33f5844c71b7edc444d67a08aef9db28e889e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcb4a5c7bec30b3cd6a02cfc2a33f5844c71b7edc444d67a08aef9db28e889e8", kill_on_drop: false }` [INFO] [stdout] fcb4a5c7bec30b3cd6a02cfc2a33f5844c71b7edc444d67a08aef9db28e889e8