[INFO] fetching crate rust-actions-cache-api 0.2.0... [INFO] checking rust-actions-cache-api-0.2.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate rust-actions-cache-api 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate rust-actions-cache-api 0.2.0 [INFO] finished tweaking crates.io crate rust-actions-cache-api 0.2.0 [INFO] tweaked toml for crates.io crate rust-actions-cache-api 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-actions-cache-api 0.2.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust-actions-cache-api 0.2.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a75e1b52fdbf8a89077d94136a597f87a4e2c95e897282ded34d0f24cf35e67 [INFO] running `Command { std: "docker" "start" "-a" "2a75e1b52fdbf8a89077d94136a597f87a4e2c95e897282ded34d0f24cf35e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a75e1b52fdbf8a89077d94136a597f87a4e2c95e897282ded34d0f24cf35e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a75e1b52fdbf8a89077d94136a597f87a4e2c95e897282ded34d0f24cf35e67", kill_on_drop: false }` [INFO] [stdout] 2a75e1b52fdbf8a89077d94136a597f87a4e2c95e897282ded34d0f24cf35e67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37ad7f75e4408904d3b5efc89a85a36e413d340203fd677dafdbd353d11651f5 [INFO] running `Command { std: "docker" "start" "-a" "37ad7f75e4408904d3b5efc89a85a36e413d340203fd677dafdbd353d11651f5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling openssl-src v111.17.0+1.1.1m [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking owo-colors v1.3.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking tracing-subscriber v0.3.5 [INFO] [stderr] Checking color-spantrace v0.1.6 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking color-eyre v0.5.11 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking h2 v0.3.10 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.8 [INFO] [stderr] Checking rust-actions-cache-api v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `RequestBody` is never constructed [INFO] [stdout] --> src/lib.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 209 | struct RequestBody<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestBody` is never constructed [INFO] [stdout] --> src/lib.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 209 | struct RequestBody<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/cache_util.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let cache = rust_actions_cache_api::Cache::new()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `&str` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new(user_agent: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 15 | let cache = rust_actions_cache_api::Cache::new(/* &str */)?; [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-actions-cache-api` (example "cache_util") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "37ad7f75e4408904d3b5efc89a85a36e413d340203fd677dafdbd353d11651f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ad7f75e4408904d3b5efc89a85a36e413d340203fd677dafdbd353d11651f5", kill_on_drop: false }` [INFO] [stdout] 37ad7f75e4408904d3b5efc89a85a36e413d340203fd677dafdbd353d11651f5