[INFO] cloning repository https://github.com/xieshuaihu/kvs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xieshuaihu/kvs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxieshuaihu%2Fkvs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxieshuaihu%2Fkvs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6198e01ce2eb04f1bc1f47249bdec09c2a49b1d1 [INFO] testing xieshuaihu/kvs against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxieshuaihu%2Fkvs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xieshuaihu/kvs on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xieshuaihu/kvs [INFO] finished tweaking git repo https://github.com/xieshuaihu/kvs [INFO] tweaked toml for git repo https://github.com/xieshuaihu/kvs written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/xieshuaihu/kvs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 547cf4b8d647f9a178f3058f0592713b3f632fc2822b5367cc81909cd0c95af2 [INFO] running `Command { std: "docker" "start" "-a" "547cf4b8d647f9a178f3058f0592713b3f632fc2822b5367cc81909cd0c95af2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "547cf4b8d647f9a178f3058f0592713b3f632fc2822b5367cc81909cd0c95af2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "547cf4b8d647f9a178f3058f0592713b3f632fc2822b5367cc81909cd0c95af2", kill_on_drop: false }` [INFO] [stdout] 547cf4b8d647f9a178f3058f0592713b3f632fc2822b5367cc81909cd0c95af2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4f7b8b11d2fede17fa8eaa4a1cc40c7959b6fa4a92302655a86236f80728fe1 [INFO] running `Command { std: "docker" "start" "-a" "a4f7b8b11d2fede17fa8eaa4a1cc40c7959b6fa4a92302655a86236f80728fe1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling protobuf v2.25.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling protoc v2.25.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling protobuf-codegen v2.25.1 [INFO] [stderr] Compiling protoc-rust v2.25.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stdout] error[E0053]: method `set` has an incompatible type for trait [INFO] [stdout] --> src/engine/kv.rs:78:54 [INFO] [stdout] | [INFO] [stdout] 78 | fn set(&mut self, key: String, value: String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `error::Error`, found struct `Box` [INFO] [stdout] | help: change the output type to match the trait: `std::result::Result<(), error::Error>` [INFO] [stdout] | [INFO] [stdout] ::: src/engine/mod.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | fn set(&mut self, key: String, value: String) -> Result<()>; [INFO] [stdout] | ---------- type in trait [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut KvStore, std::string::String, std::string::String) -> std::result::Result<_, error::Error>` [INFO] [stdout] found fn pointer `fn(&mut KvStore, std::string::String, std::string::String) -> std::result::Result<_, Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `get` has an incompatible type for trait [INFO] [stdout] --> src/engine/kv.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | fn get(&mut self, key: String) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `error::Error`, found struct `Box` [INFO] [stdout] | help: change the output type to match the trait: `std::result::Result, error::Error>` [INFO] [stdout] | [INFO] [stdout] ::: src/engine/mod.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | fn get(&mut self, key: String) -> Result>; [INFO] [stdout] | ---------------------- type in trait [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut KvStore, std::string::String) -> std::result::Result<_, error::Error>` [INFO] [stdout] found fn pointer `fn(&mut KvStore, std::string::String) -> std::result::Result<_, Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `remove` has an incompatible type for trait [INFO] [stdout] --> src/engine/kv.rs:89:42 [INFO] [stdout] | [INFO] [stdout] 89 | fn remove(&mut self, key: String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `error::Error`, found struct `Box` [INFO] [stdout] | help: change the output type to match the trait: `std::result::Result<(), error::Error>` [INFO] [stdout] | [INFO] [stdout] ::: src/engine/mod.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | fn remove(&mut self, key: String) -> Result<()>; [INFO] [stdout] | ---------- type in trait [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut KvStore, std::string::String) -> std::result::Result<_, error::Error>` [INFO] [stdout] found fn pointer `fn(&mut KvStore, std::string::String) -> std::result::Result<_, Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OsString: std::error::Error` is not satisfied [INFO] [stdout] --> src/engine/kv.rs:29:60 [INFO] [stdout] | [INFO] [stdout] 29 | let file_name = entry.file_name().into_string()?; [INFO] [stdout] | ^ the trait `std::error::Error` is not implemented for `OsString` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `From` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `std::result::Result>` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::string::String: Borrow<&str>` is not satisfied [INFO] [stdout] --> src/engine/kv.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 67 | self.memory_date.remove(key); [INFO] [stdout] | ^^^^^^ the trait `Borrow<&str>` is not implemented for `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kvs` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a4f7b8b11d2fede17fa8eaa4a1cc40c7959b6fa4a92302655a86236f80728fe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4f7b8b11d2fede17fa8eaa4a1cc40c7959b6fa4a92302655a86236f80728fe1", kill_on_drop: false }` [INFO] [stdout] a4f7b8b11d2fede17fa8eaa4a1cc40c7959b6fa4a92302655a86236f80728fe1