[INFO] cloning repository https://github.com/mziter/rust-kvs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mziter/rust-kvs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmziter%2Frust-kvs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmziter%2Frust-kvs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 011a5f43f0d7caf06089951fddd4c966932c50f8 [INFO] testing mziter/rust-kvs against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmziter%2Frust-kvs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mziter/rust-kvs on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mziter/rust-kvs [INFO] finished tweaking git repo https://github.com/mziter/rust-kvs [INFO] tweaked toml for git repo https://github.com/mziter/rust-kvs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mziter/rust-kvs 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.15.2 [INFO] [stderr] Adding adler v1.0.2 [INFO] [stderr] Adding autocfg v1.4.0 [INFO] [stderr] Adding backtrace v0.3.59 (available: v0.3.75) [INFO] [stderr] Adding bitflags v2.9.1 [INFO] [stderr] Adding cc v1.2.23 [INFO] [stderr] Adding cfg-if v1.0.0 [INFO] [stderr] Adding errno v0.3.12 [INFO] [stderr] Adding failure v0.1.8 [INFO] [stderr] Adding failure_derive v0.1.8 [INFO] [stderr] Adding fastrand v2.3.0 [INFO] [stderr] Adding getrandom v0.3.3 [INFO] [stderr] Adding gimli v0.24.0 [INFO] [stderr] Updating libc v0.2.60 -> v0.2.172 [INFO] [stderr] Adding linux-raw-sys v0.9.4 [INFO] [stderr] Adding miniz_oxide v0.4.4 [INFO] [stderr] Adding object v0.24.0 [INFO] [stderr] Adding once_cell v1.21.3 [INFO] [stderr] Adding proc-macro2 v1.0.95 [INFO] [stderr] Adding quote v1.0.40 [INFO] [stderr] Adding r-efi v5.2.0 [INFO] [stderr] Adding rustc-demangle v0.1.24 [INFO] [stderr] Adding rustix v1.0.7 [INFO] [stderr] Adding same-file v1.0.6 [INFO] [stderr] Updating serde v1.0.97 -> v1.0.219 [INFO] [stderr] Updating serde_derive v1.0.97 -> v1.0.219 [INFO] [stderr] Adding shlex v1.3.0 [INFO] [stderr] Adding syn v1.0.109 [INFO] [stderr] Adding syn v2.0.101 [INFO] [stderr] Adding synstructure v0.12.6 [INFO] [stderr] Adding tempfile v3.20.0 [INFO] [stderr] Adding unicode-ident v1.0.18 [INFO] [stderr] Adding unicode-xid v0.2.6 [INFO] [stderr] Adding walkdir v2.5.0 [INFO] [stderr] Adding wasi v0.14.2+wasi-0.2.4 [INFO] [stderr] Adding winapi-util v0.1.9 [INFO] [stderr] Adding windows-sys v0.59.0 [INFO] [stderr] Adding windows-targets v0.52.6 [INFO] [stderr] Adding windows_aarch64_gnullvm v0.52.6 [INFO] [stderr] Adding windows_aarch64_msvc v0.52.6 [INFO] [stderr] Adding windows_i686_gnu v0.52.6 [INFO] [stderr] Adding windows_i686_gnullvm v0.52.6 [INFO] [stderr] Adding windows_i686_msvc v0.52.6 [INFO] [stderr] Adding windows_x86_64_gnu v0.52.6 [INFO] [stderr] Adding windows_x86_64_gnullvm v0.52.6 [INFO] [stderr] Adding windows_x86_64_msvc v0.52.6 [INFO] [stderr] Adding wit-bindgen-rt v0.39.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11dda6dc57bfb061ebbe16996eafe8a5443a7f25284cabd04459c2a5deed31bf [INFO] running `Command { std: "docker" "start" "-a" "11dda6dc57bfb061ebbe16996eafe8a5443a7f25284cabd04459c2a5deed31bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11dda6dc57bfb061ebbe16996eafe8a5443a7f25284cabd04459c2a5deed31bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11dda6dc57bfb061ebbe16996eafe8a5443a7f25284cabd04459c2a5deed31bf", kill_on_drop: false }` [INFO] [stdout] 11dda6dc57bfb061ebbe16996eafe8a5443a7f25284cabd04459c2a5deed31bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5aa480412d35b86738c212eb194b74d29778594f3c80bba9ae00a53a737121d4 [INFO] running `Command { std: "docker" "start" "-a" "5aa480412d35b86738c212eb194b74d29778594f3c80bba9ae00a53a737121d4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling object v0.24.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek` [INFO] [stdout] --> src/kv.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufReader, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KvsError` [INFO] [stdout] 7 | pub enum KvsError { [INFO] [stdout] | -------- `KvsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_KvsError` [INFO] [stdout] 7 | pub enum KvsError { [INFO] [stdout] | -------- `KvsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.92s [INFO] running `Command { std: "docker" "inspect" "5aa480412d35b86738c212eb194b74d29778594f3c80bba9ae00a53a737121d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aa480412d35b86738c212eb194b74d29778594f3c80bba9ae00a53a737121d4", kill_on_drop: false }` [INFO] [stdout] 5aa480412d35b86738c212eb194b74d29778594f3c80bba9ae00a53a737121d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 590de5d2753e62e8063c9b30dcce638710e7eee0325b159e0eabcf667c135c08 [INFO] running `Command { std: "docker" "start" "-a" "590de5d2753e62e8063c9b30dcce638710e7eee0325b159e0eabcf667c135c08", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling regex-syntax v0.6.10 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek` [INFO] [stdout] --> src/kv.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufReader, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KvsError` [INFO] [stdout] 7 | pub enum KvsError { [INFO] [stdout] | -------- `KvsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_KvsError` [INFO] [stdout] 7 | pub enum KvsError { [INFO] [stdout] | -------- `KvsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling aho-corasick v0.7.4 [INFO] [stderr] Compiling float-cmp v0.4.0 [INFO] [stderr] Compiling regex v1.2.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling predicates v1.0.1 [INFO] [stderr] Compiling assert_cmd v0.11.1 [INFO] [stderr] Compiling kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek` [INFO] [stdout] --> src/kv.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufReader, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KvsError` [INFO] [stdout] 7 | pub enum KvsError { [INFO] [stdout] | -------- `KvsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_KvsError` [INFO] [stdout] 7 | pub enum KvsError { [INFO] [stdout] | -------- `KvsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.72s [INFO] running `Command { std: "docker" "inspect" "590de5d2753e62e8063c9b30dcce638710e7eee0325b159e0eabcf667c135c08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "590de5d2753e62e8063c9b30dcce638710e7eee0325b159e0eabcf667c135c08", kill_on_drop: false }` [INFO] [stdout] 590de5d2753e62e8063c9b30dcce638710e7eee0325b159e0eabcf667c135c08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 80e02ed9ef8a202ef66250d558c0cd8bc8d001134dbb9e25a2015031c77ae435 [INFO] running `Command { std: "docker" "start" "-a" "80e02ed9ef8a202ef66250d558c0cd8bc8d001134dbb9e25a2015031c77ae435", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `SeekFrom` and `Seek` [INFO] [stderr] --> src/kv.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::{BufReader, Seek, SeekFrom}; [INFO] [stderr] | ^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KvsError` [INFO] [stderr] 7 | pub enum KvsError { [INFO] [stderr] | -------- `KvsError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_KvsError` [INFO] [stderr] 7 | pub enum KvsError { [INFO] [stderr] | -------- `KvsError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `kvs` (lib) generated 3 warnings (run `cargo fix --lib -p kvs` to apply 1 suggestion) [INFO] [stderr] warning: `kvs` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kvs-e39e0445f1a645c4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/kvs.rs (/opt/rustwide/target/debug/deps/kvs-4475aadfb8e3a9ab) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-16ab93b176263d33) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test overwrite_value ... ok [INFO] [stdout] test cli_invalid_subcommand ... ok [INFO] [stdout] test cli_no_args ... ok [INFO] [stdout] test cli_invalid_get ... ok [INFO] [stdout] test cli_invalid_rm ... ok [INFO] [stdout] test remove_key ... ok [INFO] [stdout] test remove_non_existent_key ... ok [INFO] [stdout] test get_non_existent_value ... ok [INFO] [stdout] test cli_get_non_existent_key ... ok [INFO] [stdout] test get_stored_value ... ok [INFO] [stdout] test cli_get_stored ... ok [INFO] [stdout] test cli_rm_non_existent_key ... ok [INFO] [stdout] test cli_invalid_set ... ok [INFO] [stdout] test cli_set ... ok [INFO] [stdout] test cli_rm_stored ... ok [INFO] [stdout] test cli_version ... FAILED [INFO] [stdout] test compaction ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- cli_version stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'cli_version' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-0.11.1/src/assert.rs:353:17: [INFO] [stdout] Unexpected stdout, failed var.contains("0.1.0") [INFO] [stdout] └── var as str: [INFO] [stdout] [INFO] [stdout] command=`"/opt/rustwide/target/debug/kvs" "-V"` [INFO] [stdout] code=1 [INFO] [stdout] stdout=`````` [INFO] [stdout] stderr=```Error: Io(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] ``` [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58707b2fb712 - std::backtrace_rs::backtrace::libunwind::trace::h2a54ddf40adf8cf8 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58707b2fb712 - std::backtrace_rs::backtrace::trace_unsynchronized::h332dec2b3594a10b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58707b2fb712 - std::sys::backtrace::_print_fmt::hcb3dee91dccac105 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x58707b2fb712 - ::fmt::h2f02338d4ae6d8b0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x58707b321233 - core::fmt::rt::Argument::fmt::h8705d664b1839d6c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x58707b321233 - core::fmt::write::h5e77c22335cabc7f [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/mod.rs:1446:25 [INFO] [stdout] 6: 0x58707b2f80f3 - std::io::default_write_fmt::h5c16109ce8878b06 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x58707b2f80f3 - std::io::Write::write_fmt::h183cd11c08a12e04 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x58707b2fb562 - std::sys::backtrace::BacktraceLock::print::hb22254026b13323e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x58707b2fd10c - std::panicking::default_hook::{{closure}}::h15ac4e3ee7801be5 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x58707b2fcf62 - std::panicking::default_hook::h15db2a3343942a16 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x58707b266524 - as core::ops::function::Fn>::call::ha02114eecd5b8f69 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x58707b266524 - test::test_main_with_exit_callback::{{closure}}::hfb76c9b760818eb2 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58707b2fdc03 - as core::ops::function::Fn>::call::h325134fa51136753 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x58707b2fdc03 - std::panicking::rust_panic_with_hook::h67f3fa85499b6cf9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x58707b2fd8ba - std::panicking::begin_panic_handler::{{closure}}::h40a30e994b26720e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x58707b2fbc19 - std::sys::backtrace::__rust_end_short_backtrace::hb5bcb2f6ea295c8b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x58707b2fd54d - __rustc[bf3627c2b8b7eae9]::rust_begin_unwind [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x58707b31fa00 - core::panicking::panic_fmt::h20722ae9d0312a90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x58707b2ab811 - assert_cmd::assert::Assert::stdout_impl::hb02b33fd0736dceb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-0.11.1/src/assert.rs:353:17 [INFO] [stdout] 20: 0x58707b21f61b - assert_cmd::assert::Assert::stdout::hebc03f0fc37a9d04 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-0.11.1/src/assert.rs:346:9 [INFO] [stdout] 21: 0x58707b225069 - tests::cli_version::h0230a927c1c2096b [INFO] [stdout] at /opt/rustwide/workdir/tests/tests.rs:18:5 [INFO] [stdout] 22: 0x58707b224e97 - tests::cli_version::{{closure}}::h78f4dff41a53191f [INFO] [stdout] at /opt/rustwide/workdir/tests/tests.rs:17:17 [INFO] [stdout] 23: 0x58707b221d16 - core::ops::function::FnOnce::call_once::h578dace25a71bb1f [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x58707b26bcdb - core::ops::function::FnOnce::call_once::h57f6f31c364c320b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58707b26bcdb - test::__rust_begin_short_backtrace::h517520f4c2bfc013 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x58707b26af32 - test::run_test_in_process::{{closure}}::h0914ac5f2719bf90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:60 [INFO] [stdout] 27: 0x58707b26af32 - as core::ops::function::FnOnce<()>>::call_once::h6fe627a8560ee122 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x58707b26af32 - std::panicking::try::do_call::h8e4a522b2d07b5d9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x58707b26af32 - std::panicking::try::h254b443d279d1f8a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x58707b26af32 - std::panic::catch_unwind::he39107e495b94aed [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x58707b26af32 - test::run_test_in_process::hb9053e7102e6de40 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x58707b26af32 - test::run_test::{{closure}}::hed53f683e9967fc9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x58707b22e324 - test::run_test::{{closure}}::h1b1395a97621c24c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x58707b22e324 - std::sys::backtrace::__rust_begin_short_backtrace::hd15d7342920b94e4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x58707b231d4a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf7d3403d2a997ad4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x58707b231d4a - as core::ops::function::FnOnce<()>>::call_once::h804cb151403aed57 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x58707b231d4a - std::panicking::try::do_call::h83a3328114f83651 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x58707b231d4a - std::panicking::try::h5371451a86d476d0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x58707b231d4a - std::panic::catch_unwind::h2d1b89e7535ca74a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x58707b231d4a - std::thread::Builder::spawn_unchecked_::{{closure}}::h169c242c7f876b92 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x58707b231d4a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4115e0f997976371 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x58707b2ff53b - as core::ops::function::FnOnce>::call_once::hbc3fa83432d7fd73 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x58707b2ff53b - as core::ops::function::FnOnce>::call_once::heba5519d10f2c030 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x58707b2ff53b - std::sys::pal::unix::thread::Thread::new::thread_start::h211a36f354245501 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x7727106e8aa4 - [INFO] [stdout] 46: 0x772710775a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- compaction stdout ---- [INFO] [stdout] Error: Serde(Error("No space left on device (os error 28)", line: 0, column: 0)) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] cli_version [INFO] [stdout] compaction [INFO] [stdout] [INFO] [stdout] test result: FAILED. 15 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test tests` [INFO] running `Command { std: "docker" "inspect" "80e02ed9ef8a202ef66250d558c0cd8bc8d001134dbb9e25a2015031c77ae435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80e02ed9ef8a202ef66250d558c0cd8bc8d001134dbb9e25a2015031c77ae435", kill_on_drop: false }` [INFO] [stdout] 80e02ed9ef8a202ef66250d558c0cd8bc8d001134dbb9e25a2015031c77ae435