[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#73ffebff6f34db7eb167bf9edcf2afa19c3073e9 for pr-147841 [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 73ffebff6f34db7eb167bf9edcf2afa19c3073e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking eserilev/redb-impl against try#73ffebff6f34db7eb167bf9edcf2afa19c3073e9 for pr-147841 [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 73ffebff6f34db7eb167bf9edcf2afa19c3073e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redb v1.0.3 [INFO] [stderr] Downloaded target-lexicon v0.12.8 [INFO] [stderr] Downloaded pyo3-build-config v0.19.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 710475e791567b8b894a09116ac82ce01b0920e832f9b61b156f5d14538966bc [INFO] running `Command { std: "docker" "start" "-a" "710475e791567b8b894a09116ac82ce01b0920e832f9b61b156f5d14538966bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "710475e791567b8b894a09116ac82ce01b0920e832f9b61b156f5d14538966bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "710475e791567b8b894a09116ac82ce01b0920e832f9b61b156f5d14538966bc", kill_on_drop: false }` [INFO] [stdout] 710475e791567b8b894a09116ac82ce01b0920e832f9b61b156f5d14538966bc [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4a93529013d3973c2fbdc9883c3f5cc9ccd6dac7c43f20e5de0b709485e1feb [INFO] running `Command { std: "docker" "start" "-a" "b4a93529013d3973c2fbdc9883c3f5cc9ccd6dac7c43f20e5de0b709485e1feb", 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] 119 | ) -> Result>, Error> 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)]` (part of `#[warn(unused)]`) on by default [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] 119 | ) -> Result>, Error> 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)]` (part of `#[warn(unused)]`) 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] [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] [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 test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b4a93529013d3973c2fbdc9883c3f5cc9ccd6dac7c43f20e5de0b709485e1feb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4a93529013d3973c2fbdc9883c3f5cc9ccd6dac7c43f20e5de0b709485e1feb", kill_on_drop: false }` [INFO] [stdout] b4a93529013d3973c2fbdc9883c3f5cc9ccd6dac7c43f20e5de0b709485e1feb