[INFO] cloning repository https://github.com/Doddddz/simple-db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Doddddz/simple-db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoddddz%2Fsimple-db", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoddddz%2Fsimple-db'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac0f2c8f50d82aac8a5507cbfbd832d1b253950f [INFO] checking Doddddz/simple-db against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoddddz%2Fsimple-db" "/workspace/builds/worker-105/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-105/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Doddddz/simple-db on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Doddddz/simple-db [INFO] finished tweaking git repo https://github.com/Doddddz/simple-db [INFO] tweaked toml for git repo https://github.com/Doddddz/simple-db written to /workspace/builds/worker-105/source/Cargo.toml [INFO] crate git repo https://github.com/Doddddz/simple-db already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 253f64ac72f85d5015a39347716c48437fc6082c1d5d07d751c665058ba10ced [INFO] running `Command { std: "docker" "start" "-a" "253f64ac72f85d5015a39347716c48437fc6082c1d5d07d751c665058ba10ced", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "253f64ac72f85d5015a39347716c48437fc6082c1d5d07d751c665058ba10ced", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "253f64ac72f85d5015a39347716c48437fc6082c1d5d07d751c665058ba10ced", kill_on_drop: false }` [INFO] [stdout] 253f64ac72f85d5015a39347716c48437fc6082c1d5d07d751c665058ba10ced [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0479f712f1205d6d71864dba01e18e7eb41c37c69f493f2da0097cb25f30defe [INFO] running `Command { std: "docker" "start" "-a" "0479f712f1205d6d71864dba01e18e7eb41c37c69f493f2da0097cb25f30defe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking sharded-slab v0.1.3 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling tokio-macros v1.4.1 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking distribution_database v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/raft/raft.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 32 | Raft { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] 33 | channel: , [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/raft/raft.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 32 | Raft { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] 33 | channel: , [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/app/buffer.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 21 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/app/client.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | async fn set_cmd(&mut self, cmd: Set) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 74 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/app/buffer.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 21 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/app/client.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | async fn set_cmd(&mut self, cmd: Set) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 74 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.12.0/src/macros/select.rs:599:96 [INFO] [stdout] | [INFO] [stdout] 599 | $crate::select!(@{ start={ $crate::macros::support::thread_rng_n(BRANCHES) }; () } $p = $($t)*) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.12.0/src/macros/select.rs:599:96 [INFO] [stdout] | [INFO] [stdout] 599 | $crate::select!(@{ start={ $crate::macros::support::thread_rng_n(BRANCHES) }; () } $p = $($t)*) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Unknown` is defined multiple times [INFO] [stdout] --> src/cmd/subscribe.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::cmd::Command::Unknown; [INFO] [stdout] | ---------------------------- previous import of the type `Unknown` here [INFO] [stdout] 11 | use crate::cmd::unknown::Unknown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Unknown` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Unknown` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 11 | use crate::cmd::unknown::Unknown as OtherUnknown; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Get` is defined multiple times [INFO] [stdout] --> src/app/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::cmd::Command::Get; [INFO] [stdout] | ------------------------ previous import of the type `Get` here [INFO] [stdout] 8 | use crate::cmd::get::Get; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `Get` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Get` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 8 | use crate::cmd::get::Get as OtherGet; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Unknown` is defined multiple times [INFO] [stdout] --> src/cmd/subscribe.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::cmd::Command::Unknown; [INFO] [stdout] | ---------------------------- previous import of the type `Unknown` here [INFO] [stdout] 11 | use crate::cmd::unknown::Unknown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Unknown` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Unknown` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 11 | use crate::cmd::unknown::Unknown as OtherUnknown; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Get` is defined multiple times [INFO] [stdout] --> src/app/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::cmd::Command::Get; [INFO] [stdout] | ------------------------ previous import of the type `Get` here [INFO] [stdout] 8 | use crate::cmd::get::Get; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `Get` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Get` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 8 | use crate::cmd::get::Get as OtherGet; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/app/client.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | async fn set_cmd(&mut self, cmd: Set) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{
}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/app/client.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | async fn set_cmd(&mut self, cmd: Set) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/cmd/get.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[instrument(skip(self, db, dst))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] tracing::instrument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/app/client.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] tracing::instrument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/app/client.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] tracing::instrument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/cmd/get.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[instrument(skip(self, db, dst))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] tracing::instrument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/app/client.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] tracing::instrument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `broadcast` [INFO] [stdout] --> src/cmd/subscribe.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | Err(broadcast::error::RecvError::Lagged(_)) => {} [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `broadcast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instrument` in this scope [INFO] [stdout] --> src/app/client.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[instrument(skip(self))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] tracing::instrument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `broadcast` [INFO] [stdout] --> src/cmd/subscribe.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | Err(broadcast::error::RecvError::Lagged(_)) => {} [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `broadcast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `last_applied` in this scope [INFO] [stdout] --> src/raft/raft.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | last_applied, [INFO] [stdout] | ^^^^^^^^^^^^ a field by this name exists in `Self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `last_applied` in this scope [INFO] [stdout] --> src/raft/raft.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | last_applied, [INFO] [stdout] | ^^^^^^^^^^^^ a field by this name exists in `Self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_comand` in this scope [INFO] [stdout] --> src/cmd/subscribe.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | handle_comand(frame, &mut self.channels, &mut subscriptions, dst).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `handle_command` [INFO] [stdout] ... [INFO] [stdout] 110 | / async fn handle_command( [INFO] [stdout] 111 | | frame: Frame, [INFO] [stdout] 112 | | subscribe_to: &mut Vec