[INFO] cloning repository https://github.com/SkVnks/WRLD_HACK_BOOTCAMP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SkVnks/WRLD_HACK_BOOTCAMP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkVnks%2FWRLD_HACK_BOOTCAMP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkVnks%2FWRLD_HACK_BOOTCAMP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c79773261740f77792321d0cbfe19410f50d9bd1 [INFO] checking SkVnks/WRLD_HACK_BOOTCAMP/c79773261740f77792321d0cbfe19410f50d9bd1 against master#9b81629631b382fd49ee3a20ac47797b1467e52d for pr-146095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkVnks%2FWRLD_HACK_BOOTCAMP" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SkVnks/WRLD_HACK_BOOTCAMP [INFO] finished tweaking git repo https://github.com/SkVnks/WRLD_HACK_BOOTCAMP [INFO] tweaked toml for git repo https://github.com/SkVnks/WRLD_HACK_BOOTCAMP written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SkVnks/WRLD_HACK_BOOTCAMP on toolchain 9b81629631b382fd49ee3a20ac47797b1467e52d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b81629631b382fd49ee3a20ac47797b1467e52d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SkVnks/WRLD_HACK_BOOTCAMP 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" "+9b81629631b382fd49ee3a20ac47797b1467e52d" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk-macros v0.17.2 [INFO] [stderr] Downloaded ic-cdk v0.17.2 [INFO] [stderr] Downloaded pretty v0.12.4 [INFO] [stderr] Downloaded ic-cdk-executor v0.1.0 [INFO] [stderr] Downloaded ic0 v0.23.0 [INFO] [stderr] Downloaded candid_derive v0.6.6 [INFO] [stderr] Downloaded ic-cdk-timers v0.11.0 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded candid v0.10.14 [INFO] [stderr] Downloaded serde_tokenstream v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+9b81629631b382fd49ee3a20ac47797b1467e52d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9999c25457468ed260cd56309fa89dcce42be6750572b134e41fa9ad0be5835 [INFO] running `Command { std: "docker" "start" "-a" "d9999c25457468ed260cd56309fa89dcce42be6750572b134e41fa9ad0be5835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9999c25457468ed260cd56309fa89dcce42be6750572b134e41fa9ad0be5835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9999c25457468ed260cd56309fa89dcce42be6750572b134e41fa9ad0be5835", kill_on_drop: false }` [INFO] [stdout] d9999c25457468ed260cd56309fa89dcce42be6750572b134e41fa9ad0be5835 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+9b81629631b382fd49ee3a20ac47797b1467e52d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] baafabf9201392a563763d4b7cb5138f9b5c38e7c588f94b13a0856036da44e1 [INFO] running `Command { std: "docker" "start" "-a" "baafabf9201392a563763d4b7cb5138f9b5c38e7c588f94b13a0856036da44e1", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling ic-cdk-executor v0.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking ic0 v0.23.0 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Checking candid v0.10.14 [INFO] [stderr] Compiling ic-cdk-macros v0.17.2 [INFO] [stderr] Checking ic-cdk v0.17.2 [INFO] [stderr] Checking ic-cdk-timers v0.11.0 [INFO] [stderr] Checking icp_workshops_backend v0.1.0 (/opt/rustwide/workdir/src/icp_workshops_backend) [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/icp_workshops_backend/src/lib.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (res,) = http_request( [INFO] [stdout] | __________________^^^^^^^^^^^^- [INFO] [stdout] 10 | | CanisterHttpRequestArgument { [INFO] [stdout] 11 | | url: "https://api-inference.huggingface.co/models/google-t5/t5-base".to_string(), [INFO] [stdout] 12 | | max_response_bytes: None, [INFO] [stdout] ... | [INFO] [stdout] 26 | | }, [INFO] [stdout] 27 | | ).await.unwrap(); [INFO] [stdout] | |_____- argument #2 of type `u128` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ic-cdk-0.17.2/src/api/management_canister/http_request/mod.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn http_request( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 9 ~ let (res,) = http_request(CanisterHttpRequestArgument { [INFO] [stdout] 10 + url: "https://api-inference.huggingface.co/models/google-t5/t5-base".to_string(), [INFO] [stdout] 11 + max_response_bytes: None, [INFO] [stdout] 12 + method: HttpMethod::POST, [INFO] [stdout] 13 + headers: vec![ [INFO] [stdout] 14 + HttpHeader { [INFO] [stdout] 15 + name: "Authorization".to_string(), [INFO] [stdout] 16 + value: format!("Bearer {}", token), [INFO] [stdout] 17 + }, [INFO] [stdout] 18 + HttpHeader { [INFO] [stdout] 19 + name: "Content-Type".to_string(), [INFO] [stdout] 20 + value: "application/json".to_string(), [INFO] [stdout] 21 + } [INFO] [stdout] 22 + ], [INFO] [stdout] 23 + body: Some(format!(r#"{{"inputs": "{}"}}"#, text).into()), [INFO] [stdout] 24 + transform: None, [INFO] [stdout] 25 ~ }, /* u128 */).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/icp_workshops_backend/src/lib.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (res,) = http_request( [INFO] [stdout] | __________________^^^^^^^^^^^^- [INFO] [stdout] 10 | | CanisterHttpRequestArgument { [INFO] [stdout] 11 | | url: "https://api-inference.huggingface.co/models/google-t5/t5-base".to_string(), [INFO] [stdout] 12 | | max_response_bytes: None, [INFO] [stdout] ... | [INFO] [stdout] 26 | | }, [INFO] [stdout] 27 | | ).await.unwrap(); [INFO] [stdout] | |_____- argument #2 of type `u128` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ic-cdk-0.17.2/src/api/management_canister/http_request/mod.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn http_request( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 9 ~ let (res,) = http_request(CanisterHttpRequestArgument { [INFO] [stdout] 10 + url: "https://api-inference.huggingface.co/models/google-t5/t5-base".to_string(), [INFO] [stdout] 11 + max_response_bytes: None, [INFO] [stdout] 12 + method: HttpMethod::POST, [INFO] [stdout] 13 + headers: vec![ [INFO] [stdout] 14 + HttpHeader { [INFO] [stdout] 15 + name: "Authorization".to_string(), [INFO] [stdout] 16 + value: format!("Bearer {}", token), [INFO] [stdout] 17 + }, [INFO] [stdout] 18 + HttpHeader { [INFO] [stdout] 19 + name: "Content-Type".to_string(), [INFO] [stdout] 20 + value: "application/json".to_string(), [INFO] [stdout] 21 + } [INFO] [stdout] 22 + ], [INFO] [stdout] 23 + body: Some(format!(r#"{{"inputs": "{}"}}"#, text).into()), [INFO] [stdout] 24 + transform: None, [INFO] [stdout] 25 ~ }, /* u128 */).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `icp_workshops_backend` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `icp_workshops_backend` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "baafabf9201392a563763d4b7cb5138f9b5c38e7c588f94b13a0856036da44e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baafabf9201392a563763d4b7cb5138f9b5c38e7c588f94b13a0856036da44e1", kill_on_drop: false }` [INFO] [stdout] baafabf9201392a563763d4b7cb5138f9b5c38e7c588f94b13a0856036da44e1