[INFO] cloning repository https://github.com/eserilev/redb-impl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eserilev/redb-impl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feserilev%2Fredb-impl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feserilev%2Fredb-impl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54b55dd6d802e087bea11b096e4d526dcb18ba1d [INFO] checking eserilev/redb-impl against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feserilev%2Fredb-impl" "/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/eserilev/redb-impl [INFO] finished tweaking git repo https://github.com/eserilev/redb-impl [INFO] tweaked toml for git repo https://github.com/eserilev/redb-impl written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eserilev/redb-impl on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/eserilev/redb-impl 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking eserilev/redb-impl against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feserilev%2Fredb-impl" "/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/eserilev/redb-impl [INFO] finished tweaking git repo https://github.com/eserilev/redb-impl [INFO] tweaked toml for git repo https://github.com/eserilev/redb-impl written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eserilev/redb-impl on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/eserilev/redb-impl 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-build-config v0.19.0 [INFO] [stderr] Downloaded target-lexicon v0.12.8 [INFO] [stderr] Downloaded redb v1.0.3 [INFO] [stderr] Downloaded libc v0.2.147 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e9e3ad5406a34647ee7107eeb2ca7718a729e5d95c003e7893c4e184cbbc059 [INFO] running `Command { std: "docker" "start" "-a" "2e9e3ad5406a34647ee7107eeb2ca7718a729e5d95c003e7893c4e184cbbc059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e9e3ad5406a34647ee7107eeb2ca7718a729e5d95c003e7893c4e184cbbc059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e9e3ad5406a34647ee7107eeb2ca7718a729e5d95c003e7893c4e184cbbc059", kill_on_drop: false }` [INFO] [stdout] 2e9e3ad5406a34647ee7107eeb2ca7718a729e5d95c003e7893c4e184cbbc059 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a4927300992d36bc0cf9e30fa93684f1a6bb3ea9e77dddb413601b2157aab10 [INFO] running `Command { std: "docker" "start" "-a" "7a4927300992d36bc0cf9e30fa93684f1a6bb3ea9e77dddb413601b2157aab10", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.8 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pyo3-build-config v0.19.0 [INFO] [stderr] Compiling redb v1.0.3 [INFO] [stderr] Checking redb-impl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/lib.rs:109:65 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn process + ?Sized>(val: impl Borrow) -> &[u8] { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static` [INFO] [stdout] | [INFO] [stdout] 109 | pub fn process + ?Sized>(val: impl Borrow) -> &'static [u8] { [INFO] [stdout] | +++++++ [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 109 | pub fn process<'a, K: AsRef<[u8]> + ?Sized>(val: impl Borrow) -> &'a [u8] { [INFO] [stdout] | +++ ++ [INFO] [stdout] help: alternatively, you might want to return an owned value [INFO] [stdout] | [INFO] [stdout] 109 - pub fn process + ?Sized>(val: impl Borrow) -> &[u8] { [INFO] [stdout] 109 + pub fn process + ?Sized>(val: impl Borrow) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/lib.rs:109:65 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn process + ?Sized>(val: impl Borrow) -> &[u8] { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static` [INFO] [stdout] | [INFO] [stdout] 109 | pub fn process + ?Sized>(val: impl Borrow) -> &'static [u8] { [INFO] [stdout] | +++++++ [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 109 | pub fn process<'a, K: AsRef<[u8]> + ?Sized>(val: impl Borrow) -> &'a [u8] { [INFO] [stdout] | +++ ++ [INFO] [stdout] help: alternatively, you might want to return an owned value [INFO] [stdout] | [INFO] [stdout] 109 - pub fn process + ?Sized>(val: impl Borrow) -> &[u8] { [INFO] [stdout] 109 + pub fn process + ?Sized>(val: impl Borrow) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&K: Borrow<&[u8]>` is not satisfied [INFO] [stdout] --> src/lib.rs:125:31 [INFO] [stdout] | [INFO] [stdout] 125 | let value = table.get(key.clone()).unwrap().unwrap().value().to_vec(); [INFO] [stdout] | --- ^^^^^^^^^^^ the trait `Borrow<&[u8]>` is not implemented for `&K` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `redb::ReadableTable::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-1.0.3/src/table.rs:202:33 [INFO] [stdout] | [INFO] [stdout] 202 | fn get<'a>(&self, key: impl Borrow>) -> Result>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ReadableTable::get` [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 114 | impl<'env> RwTransaction<'env> where &K: Borrow<&[u8]> { [INFO] [stdout] | +++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&K: Borrow<&[u8]>` is not satisfied [INFO] [stdout] --> src/lib.rs:125:31 [INFO] [stdout] | [INFO] [stdout] 125 | let value = table.get(key.clone()).unwrap().unwrap().value().to_vec(); [INFO] [stdout] | --- ^^^^^^^^^^^ the trait `Borrow<&[u8]>` is not implemented for `&K` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `redb::ReadableTable::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redb-1.0.3/src/table.rs:202:33 [INFO] [stdout] | [INFO] [stdout] 202 | fn get<'a>(&self, key: impl Borrow>) -> Result>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ReadableTable::get` [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 114 | impl<'env> RwTransaction<'env> where &K: Borrow<&[u8]> { [INFO] [stdout] | +++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 166 | current_key: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 167 | _phantom: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 166 | current_key: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 167 | _phantom: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redb-impl` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `redb-impl` (lib test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7a4927300992d36bc0cf9e30fa93684f1a6bb3ea9e77dddb413601b2157aab10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a4927300992d36bc0cf9e30fa93684f1a6bb3ea9e77dddb413601b2157aab10", kill_on_drop: false }` [INFO] [stdout] 7a4927300992d36bc0cf9e30fa93684f1a6bb3ea9e77dddb413601b2157aab10