[INFO] cloning repository https://github.com/aniap666/icp_workshops [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aniap666/icp_workshops" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faniap666%2Ficp_workshops", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faniap666%2Ficp_workshops'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0592e9871b18e7e9f7884d0f6f60bd47c25a0ac2 [INFO] checking aniap666/icp_workshops against try#2b43d8e161cfe46fae25518efb124c3c1d0fa392 for pr-145604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faniap666%2Ficp_workshops" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aniap666/icp_workshops [INFO] finished tweaking git repo https://github.com/aniap666/icp_workshops [INFO] tweaked toml for git repo https://github.com/aniap666/icp_workshops written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aniap666/icp_workshops on toolchain 2b43d8e161cfe46fae25518efb124c3c1d0fa392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aniap666/icp_workshops 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" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking aniap666/icp_workshops against try#2b43d8e161cfe46fae25518efb124c3c1d0fa392 for pr-145604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faniap666%2Ficp_workshops" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aniap666/icp_workshops [INFO] finished tweaking git repo https://github.com/aniap666/icp_workshops [INFO] tweaked toml for git repo https://github.com/aniap666/icp_workshops written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aniap666/icp_workshops on toolchain 2b43d8e161cfe46fae25518efb124c3c1d0fa392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aniap666/icp_workshops 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" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be8c45f0022e2e375c1e993c2ac2ee10eaaf2e83928b11d8e6f80e42e35e719c [INFO] running `Command { std: "docker" "start" "-a" "be8c45f0022e2e375c1e993c2ac2ee10eaaf2e83928b11d8e6f80e42e35e719c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be8c45f0022e2e375c1e993c2ac2ee10eaaf2e83928b11d8e6f80e42e35e719c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be8c45f0022e2e375c1e993c2ac2ee10eaaf2e83928b11d8e6f80e42e35e719c", kill_on_drop: false }` [INFO] [stdout] be8c45f0022e2e375c1e993c2ac2ee10eaaf2e83928b11d8e6f80e42e35e719c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7ea8e60bf9926cc51d6036a73e376ad8cf0df6a63d55491489547168a0e12e0 [INFO] running `Command { std: "docker" "start" "-a" "f7ea8e60bf9926cc51d6036a73e376ad8cf0df6a63d55491489547168a0e12e0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling ic-cdk-executor v0.1.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking ic0 v0.23.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling binread_derive v2.1.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] Compiling binread v2.2.0 [INFO] [stderr] Checking futures-util v0.3.31 [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 ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [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) 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 test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "f7ea8e60bf9926cc51d6036a73e376ad8cf0df6a63d55491489547168a0e12e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7ea8e60bf9926cc51d6036a73e376ad8cf0df6a63d55491489547168a0e12e0", kill_on_drop: false }` [INFO] [stdout] f7ea8e60bf9926cc51d6036a73e376ad8cf0df6a63d55491489547168a0e12e0