[INFO] cloning repository https://github.com/datzero9/minidb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/datzero9/minidb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatzero9%2Fminidb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatzero9%2Fminidb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 950ab8f59805a9a4d780f1a395e698b4be1279af [INFO] checking datzero9/minidb against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatzero9%2Fminidb" "/workspace/builds/worker-86/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-86/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/datzero9/minidb on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/datzero9/minidb [INFO] finished tweaking git repo https://github.com/datzero9/minidb [INFO] tweaked toml for git repo https://github.com/datzero9/minidb written to /workspace/builds/worker-86/source/Cargo.toml [INFO] crate git repo https://github.com/datzero9/minidb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 669fb2ea749ed2ecd2e43f7bfd4f9adc8a114bf6380b495739c03cdaf8c397e3 [INFO] running `Command { std: "docker" "start" "-a" "669fb2ea749ed2ecd2e43f7bfd4f9adc8a114bf6380b495739c03cdaf8c397e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "669fb2ea749ed2ecd2e43f7bfd4f9adc8a114bf6380b495739c03cdaf8c397e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "669fb2ea749ed2ecd2e43f7bfd4f9adc8a114bf6380b495739c03cdaf8c397e3", kill_on_drop: false }` [INFO] [stdout] 669fb2ea749ed2ecd2e43f7bfd4f9adc8a114bf6380b495739c03cdaf8c397e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ae7b306dbc0aedbfeffa0e00103cc682b200b1a4c1b37ef9dc3fcc0be60a968 [INFO] running `Command { std: "docker" "start" "-a" "9ae7b306dbc0aedbfeffa0e00103cc682b200b1a4c1b37ef9dc3fcc0be60a968", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking minidb v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/storage/kv/mvcc.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/storage/kv/mvcc.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/storage/kv/mvcc.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, Copy, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/storage/kv/mvcc.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, Copy, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/error.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/error.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/storage/kv/encoding.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 18 | .flat_map(|b| match b { [INFO] [stdout] | ___________________________- [INFO] [stdout] 19 | | 0x00 => vec![0x00, 0xff], [INFO] [stdout] | | ---------------- this is found to be of type `Vec<{integer}>` [INFO] [stdout] 20 | | b => vec![b], [INFO] [stdout] | | ^^^^^^^ expected integer, found `&u8` [INFO] [stdout] 21 | | }) [INFO] [stdout] | |_____________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected type `Vec<{integer}>` [INFO] [stdout] found struct `Vec<&u8>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Value` found for enum `error::Error` in the current scope [INFO] [stdout] --> src/storage/kv/encoding.rs:46:51 [INFO] [stdout] | [INFO] [stdout] 46 | Some((_, b)) => return Err(Error::Value(format!("Invalid byte escape {:?}", b))), [INFO] [stdout] | ^^^^^ variant or associated item not found in `error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `Value` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Value` found for enum `error::Error` in the current scope [INFO] [stdout] --> src/storage/kv/encoding.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | None => return Err(Error::Value("Unexpected end of bytes".into())), [INFO] [stdout] | ^^^^^ variant or associated item not found in `error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `Value` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Value` found for enum `error::Error` in the current scope [INFO] [stdout] --> src/storage/kv/encoding.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | None => return Err(Error::Value("Unexpected end of bytes".into())), [INFO] [stdout] | ^^^^^ variant or associated item not found in `error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `Value` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/storage/kv/encoding.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn decode_boolean(byte: u8) -> Result { [INFO] [stdout] | ----------------------------------------------- found signature of `fn(u8) -> _` [INFO] [stdout] ... [INFO] [stdout] 77 | take_bytes(bytes).and_then(decode_boolean) [INFO] [stdout] | ^^^^^^^^^^^^^^ expected signature of `fn(Vec) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<[u8; 8] as TryFrom<&[u8]>>::Error == error::Error` [INFO] [stdout] --> src/storage/kv/encoding.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | let n = decode_i64(bytes[0..8].try_into()?); [INFO] [stdout] | ^^^^^^^^ expected struct `TryFromSliceError`, found enum `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0308, E0599, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `minidb` due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/storage/kv/mvcc.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/storage/kv/mvcc.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/storage/kv/mvcc.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, Copy, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/storage/kv/mvcc.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, Copy, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/error.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/error.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/storage/kv/encoding.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 18 | .flat_map(|b| match b { [INFO] [stdout] | ___________________________- [INFO] [stdout] 19 | | 0x00 => vec![0x00, 0xff], [INFO] [stdout] | | ---------------- this is found to be of type `Vec<{integer}>` [INFO] [stdout] 20 | | b => vec![b], [INFO] [stdout] | | ^^^^^^^ expected integer, found `&u8` [INFO] [stdout] 21 | | }) [INFO] [stdout] | |_____________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected type `Vec<{integer}>` [INFO] [stdout] found struct `Vec<&u8>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Value` found for enum `error::Error` in the current scope [INFO] [stdout] --> src/storage/kv/encoding.rs:46:51 [INFO] [stdout] | [INFO] [stdout] 46 | Some((_, b)) => return Err(Error::Value(format!("Invalid byte escape {:?}", b))), [INFO] [stdout] | ^^^^^ variant or associated item not found in `error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `Value` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Value` found for enum `error::Error` in the current scope [INFO] [stdout] --> src/storage/kv/encoding.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | None => return Err(Error::Value("Unexpected end of bytes".into())), [INFO] [stdout] | ^^^^^ variant or associated item not found in `error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `Value` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Value` found for enum `error::Error` in the current scope [INFO] [stdout] --> src/storage/kv/encoding.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | None => return Err(Error::Value("Unexpected end of bytes".into())), [INFO] [stdout] | ^^^^^ variant or associated item not found in `error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `Value` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/storage/kv/encoding.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn decode_boolean(byte: u8) -> Result { [INFO] [stdout] | ----------------------------------------------- found signature of `fn(u8) -> _` [INFO] [stdout] ... [INFO] [stdout] 77 | take_bytes(bytes).and_then(decode_boolean) [INFO] [stdout] | ^^^^^^^^^^^^^^ expected signature of `fn(Vec) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<[u8; 8] as TryFrom<&[u8]>>::Error == error::Error` [INFO] [stdout] --> src/storage/kv/encoding.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | let n = decode_i64(bytes[0..8].try_into()?); [INFO] [stdout] | ^^^^^^^^ expected struct `TryFromSliceError`, found enum `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0308, E0599, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "9ae7b306dbc0aedbfeffa0e00103cc682b200b1a4c1b37ef9dc3fcc0be60a968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ae7b306dbc0aedbfeffa0e00103cc682b200b1a4c1b37ef9dc3fcc0be60a968", kill_on_drop: false }` [INFO] [stdout] 9ae7b306dbc0aedbfeffa0e00103cc682b200b1a4c1b37ef9dc3fcc0be60a968