[INFO] cloning repository https://github.com/charleschege/LiteSession [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/charleschege/LiteSession" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharleschege%2FLiteSession", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharleschege%2FLiteSession'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 910d6e476c9bf052210554a7218454b6f69c67d0 [INFO] testing charleschege/LiteSession against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharleschege%2FLiteSession" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/charleschege/LiteSession on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/charleschege/LiteSession [INFO] finished tweaking git repo https://github.com/charleschege/LiteSession [INFO] tweaked toml for git repo https://github.com/charleschege/LiteSession written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/charleschege/LiteSession already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84e1e5c4b2181a48015818740080853d6041728b34a4250c7b0c50ed80eed31b [INFO] running `Command { std: "docker" "start" "-a" "84e1e5c4b2181a48015818740080853d6041728b34a4250c7b0c50ed80eed31b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84e1e5c4b2181a48015818740080853d6041728b34a4250c7b0c50ed80eed31b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84e1e5c4b2181a48015818740080853d6041728b34a4250c7b0c50ed80eed31b", kill_on_drop: false }` [INFO] [stdout] 84e1e5c4b2181a48015818740080853d6041728b34a4250c7b0c50ed80eed31b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26aaea7a2a35e674d3acb4ed7d9cfec1e5daade662961510ea628bfc4ceef3d0 [INFO] running `Command { std: "docker" "start" "-a" "26aaea7a2a35e674d3acb4ed7d9cfec1e5daade662961510ea628bfc4ceef3d0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling nanorand v0.5.2 [INFO] [stderr] Compiling tai64 v3.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling timelite v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling chacha20 v0.6.0 [INFO] [stderr] Compiling lite-session v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `encode` in crate `hex` [INFO] [stdout] --> src/ciphertext.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | let cipher_hex = hex::encode(cipher_text); [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode` in crate `hex` [INFO] [stdout] --> src/token.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | let issue_time = hex::encode(self.issued.to_bytes()); [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode` in crate `hex` [INFO] [stdout] --> src/token.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | let expiry_time = hex::encode(self.expiry.to_bytes()); [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode` in crate `hex` [INFO] [stdout] --> src/token.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 150 | let issue_time = hex::encode(self.issued.to_bytes()); [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode` in crate `hex` [INFO] [stdout] --> src/token.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | let expiry_time = hex::encode(self.expiry.to_bytes()); [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode` in crate `hex` [INFO] [stdout] --> src/token.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | let hmac_hex = hex::encode(&hmac.as_bytes()); [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode` in crate `hex` [INFO] [stdout] --> src/token.rs:215:47 [INFO] [stdout] | [INFO] [stdout] 215 | let mut ciphertext_bytes = match hex::decode(ciphertext_hex) { [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use core::num::flt2dec::decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode` in crate `hex` [INFO] [stdout] --> src/token.rs:253:27 [INFO] [stdout] | [INFO] [stdout] 253 | let issued = hex::encode(self.issued.to_bytes()); [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode` in crate `hex` [INFO] [stdout] --> src/token.rs:254:27 [INFO] [stdout] | [INFO] [stdout] 254 | let expiry = hex::encode(self.expiry.to_bytes()); [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode` in crate `hex` [INFO] [stdout] --> src/token.rs:267:36 [INFO] [stdout] | [INFO] [stdout] 267 | let tai_bytes = match hex::decode(hex_str) { [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use core::num::flt2dec::decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode` in crate `hex` [INFO] [stdout] --> src/token.rs:278:37 [INFO] [stdout] | [INFO] [stdout] 278 | let hash_bytes = match hex::decode(hash_hex) { [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use core::num::flt2dec::decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/token.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut ciphertext_bytes = match hex::decode(ciphertext_hex) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/token.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 216 | Ok(bytes) => bytes, [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/token.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | Ok(bytes) => bytes, [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/token.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | let tai_bytes = match hex::decode(hex_str) { [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/token.rs:268:16 [INFO] [stdout] | [INFO] [stdout] 268 | Ok(bytes) => bytes, [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/token.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | Ok(bytes) => bytes, [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lite-session` due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "26aaea7a2a35e674d3acb4ed7d9cfec1e5daade662961510ea628bfc4ceef3d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26aaea7a2a35e674d3acb4ed7d9cfec1e5daade662961510ea628bfc4ceef3d0", kill_on_drop: false }` [INFO] [stdout] 26aaea7a2a35e674d3acb4ed7d9cfec1e5daade662961510ea628bfc4ceef3d0