[INFO] cloning repository https://github.com/Nkemjikanma/uzo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nkemjikanma/uzo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNkemjikanma%2Fuzo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNkemjikanma%2Fuzo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7749e434c0419755d9cf4674f21411f09927e91 [INFO] checking Nkemjikanma/uzo against try#59a256151e578f525a26127f2c3e3a6c7e2982ca for pr-149291-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNkemjikanma%2Fuzo" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Nkemjikanma/uzo [INFO] finished tweaking git repo https://github.com/Nkemjikanma/uzo [INFO] tweaked toml for git repo https://github.com/Nkemjikanma/uzo written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Nkemjikanma/uzo on toolchain 59a256151e578f525a26127f2c3e3a6c7e2982ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Nkemjikanma/uzo 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" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "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 Nkemjikanma/uzo against try#59a256151e578f525a26127f2c3e3a6c7e2982ca for pr-149291-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNkemjikanma%2Fuzo" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Nkemjikanma/uzo [INFO] finished tweaking git repo https://github.com/Nkemjikanma/uzo [INFO] tweaked toml for git repo https://github.com/Nkemjikanma/uzo written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Nkemjikanma/uzo on toolchain 59a256151e578f525a26127f2c3e3a6c7e2982ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Nkemjikanma/uzo 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" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3546c7954958ec8c2c31a7a8eefec81b1a9efe25fb1ad5df69bf0bf9b1b9efa0 [INFO] running `Command { std: "docker" "start" "-a" "3546c7954958ec8c2c31a7a8eefec81b1a9efe25fb1ad5df69bf0bf9b1b9efa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3546c7954958ec8c2c31a7a8eefec81b1a9efe25fb1ad5df69bf0bf9b1b9efa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3546c7954958ec8c2c31a7a8eefec81b1a9efe25fb1ad5df69bf0bf9b1b9efa0", kill_on_drop: false }` [INFO] [stdout] 3546c7954958ec8c2c31a7a8eefec81b1a9efe25fb1ad5df69bf0bf9b1b9efa0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea3eba092fb6dca78109933c3d67379ca4d68d5d5a9a30c265bd96b698b89717 [INFO] running `Command { std: "docker" "start" "-a" "ea3eba092fb6dca78109933c3d67379ca4d68d5d5a9a30c265bd96b698b89717", kill_on_drop: false }` [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking uzo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `const` [INFO] [stdout] --> src/main.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | let token = format!("{id} . {secret}") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 43 | [INFO] [stdout] 44 | const session = SessionWithToken { [INFO] [stdout] | ----- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/main.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 50 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `const` [INFO] [stdout] --> src/main.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | let token = format!("{id} . {secret}") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 43 | [INFO] [stdout] 44 | const session = SessionWithToken { [INFO] [stdout] | ----- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/main.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 50 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | id, [INFO] [stdout] | ^^ non-constant value [INFO] [stdout] | [INFO] [stdout] help: consider using `let` instead of `const` [INFO] [stdout] | [INFO] [stdout] 44 - const session = SessionWithToken { [INFO] [stdout] 44 + let session = SessionWithToken { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant [INFO] [stdout] --> src/main.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | created_at: date, [INFO] [stdout] | ^^^^ non-constant value [INFO] [stdout] | [INFO] [stdout] help: consider using `let` instead of `const` [INFO] [stdout] | [INFO] [stdout] 44 - const session = SessionWithToken { [INFO] [stdout] 44 + let session = SessionWithToken { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | token [INFO] [stdout] | ^^^^^ non-constant value [INFO] [stdout] | [INFO] [stdout] help: consider using `let` instead of `const` [INFO] [stdout] | [INFO] [stdout] 44 - const session = SessionWithToken { [INFO] [stdout] 44 + let session = SessionWithToken { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `hash::BuildHasher` [INFO] [stdout] --> src/main.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | let secret_hash = hash::BuildHasher(secret); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not a function, tuple struct or tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `secrete_hash` in this scope [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | secrete_hash, [INFO] [stdout] | ^^^^^^^^^^^^ help: a local variable with a similar name exists: `secret_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RngCore`, `TryCryptoRng`, and `rand_core` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{RngCore, TryCryptoRng, rand_core, rngs::OsRng}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `const` item [INFO] [stdout] --> src/main.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | const session = SessionWithToken { [INFO] [stdout] | ^ help: provide a type for the constant: `: SessionWithToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | id, [INFO] [stdout] | ^^ non-constant value [INFO] [stdout] | [INFO] [stdout] help: consider using `let` instead of `const` [INFO] [stdout] | [INFO] [stdout] 44 - const session = SessionWithToken { [INFO] [stdout] 44 + let session = SessionWithToken { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant [INFO] [stdout] --> src/main.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | created_at: date, [INFO] [stdout] | ^^^^ non-constant value [INFO] [stdout] | [INFO] [stdout] help: consider using `let` instead of `const` [INFO] [stdout] | [INFO] [stdout] 44 - const session = SessionWithToken { [INFO] [stdout] 44 + let session = SessionWithToken { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | token [INFO] [stdout] | ^^^^^ non-constant value [INFO] [stdout] | [INFO] [stdout] help: consider using `let` instead of `const` [INFO] [stdout] | [INFO] [stdout] 44 - const session = SessionWithToken { [INFO] [stdout] 44 + let session = SessionWithToken { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `hash::BuildHasher` [INFO] [stdout] --> src/main.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | let secret_hash = hash::BuildHasher(secret); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not a function, tuple struct or tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `secrete_hash` in this scope [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | secrete_hash, [INFO] [stdout] | ^^^^^^^^^^^^ help: a local variable with a similar name exists: `secret_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_fill_bytes` found for struct `OsRng` in the current scope [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | rng.try_fill_bytes(&mut bytes); // fill the bytes array with secure random data [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `OsRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | fn try_fill_bytes(&mut self, dst: &mut [u8]) -> Result<(), Self::Error>; [INFO] [stdout] | -------------- the method is available for `OsRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TryRngCore` which provides `try_fill_bytes` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::TryRngCore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RngCore`, `TryCryptoRng`, and `rand_core` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{RngCore, TryCryptoRng, rand_core, rngs::OsRng}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | fn create_session() -> Session { [INFO] [stdout] | -------------- ^^^^^^^ expected `Session`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `const` item [INFO] [stdout] --> src/main.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | const session = SessionWithToken { [INFO] [stdout] | ^ help: provide a type for the constant: `: SessionWithToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0425, E0435, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `uzo` (bin "uzo") due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `try_fill_bytes` found for struct `OsRng` in the current scope [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | rng.try_fill_bytes(&mut bytes); // fill the bytes array with secure random data [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `OsRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | fn try_fill_bytes(&mut self, dst: &mut [u8]) -> Result<(), Self::Error>; [INFO] [stdout] | -------------- the method is available for `OsRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TryRngCore` which provides `try_fill_bytes` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use rand::TryRngCore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | fn create_session() -> Session { [INFO] [stdout] | -------------- ^^^^^^^ expected `Session`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0425, E0435, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `uzo` (bin "uzo" test) due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ea3eba092fb6dca78109933c3d67379ca4d68d5d5a9a30c265bd96b698b89717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea3eba092fb6dca78109933c3d67379ca4d68d5d5a9a30c265bd96b698b89717", kill_on_drop: false }` [INFO] [stdout] ea3eba092fb6dca78109933c3d67379ca4d68d5d5a9a30c265bd96b698b89717