[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] documenting xieshuaihu/kvs against 1.62.0 for beta-1.63-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxieshuaihu%2Fkvs" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/xieshuaihu/kvs on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "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-2/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" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded protoc-rust v2.25.1
[INFO] [stderr]   Downloaded protoc v2.25.1
[INFO] [stderr]   Downloaded protobuf-codegen v2.25.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cf442b03a8943a54812c98200b427aa3992ce24cabb0d1cec82c65f23b749e51
[INFO] running `Command { std: "docker" "start" "-a" "cf442b03a8943a54812c98200b427aa3992ce24cabb0d1cec82c65f23b749e51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf442b03a8943a54812c98200b427aa3992ce24cabb0d1cec82c65f23b749e51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf442b03a8943a54812c98200b427aa3992ce24cabb0d1cec82c65f23b749e51", kill_on_drop: false }`
[INFO] [stdout] cf442b03a8943a54812c98200b427aa3992ce24cabb0d1cec82c65f23b749e51
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 100119c98966437e749bc49487347eccfe9c952ed7783f044d7bb8e8250fc448
[INFO] running `Command { std: "docker" "start" "-a" "100119c98966437e749bc49487347eccfe9c952ed7783f044d7bb8e8250fc448", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.73
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling protobuf v2.25.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking os_str_bytes v2.4.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking textwrap v0.12.1
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling which v4.2.2
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling protoc v2.25.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]    Compiling protobuf-codegen v2.25.1
[INFO] [stderr]    Compiling protoc-rust v2.25.1
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr]    Compiling kvs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking clap v3.0.0-beta.2
[INFO] [stderr]  Documenting kvs v0.1.0 (/opt/rustwide/workdir)
[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<dyn Error>> {
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                                      |
[INFO] [stdout]    |                                                      expected struct `error::Error`, found struct `std::boxed::Box`
[INFO] [stdout]    |                                                      help: change the output type to match the trait: `std::result::Result<(), error::Error>`
[INFO] [stdout]    |
[INFO] [stdout] note: type in trait
[INFO] [stdout]   --> src/engine/mod.rs:10:54
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn set(&mut self, key: String, value: String) -> Result<()>;
[INFO] [stdout]    |                                                      ^^^^^^^^^^
[INFO] [stdout]    = note: expected fn pointer `fn(&mut engine::kv::KvStore, std::string::String, std::string::String) -> std::result::Result<_, error::Error>`
[INFO] [stdout]               found fn pointer `fn(&mut engine::kv::KvStore, std::string::String, std::string::String) -> std::result::Result<_, std::boxed::Box<(dyn std::error::Error + 'static)>>`
[INFO] [stdout] 
[INFO] [stdout] 
[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<dyn Error>> {
[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] note: type in trait
[INFO] [stdout]   --> src/engine/mod.rs:10:54
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn set(&mut self, key: String, value: String) -> Result<()>;
[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<Option<String>, Box<dyn Error>> {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       expected struct `error::Error`, found struct `std::boxed::Box`
[INFO] [stdout]    |                                       help: change the output type to match the trait: `std::result::Result<std::option::Option<std::string::String>, error::Error>`
[INFO] [stdout]    |
[INFO] [stdout] note: type in trait
[INFO] [stdout]   --> src/engine/mod.rs:12:39
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn get(&mut self, key: String) -> Result<Option<String>>;
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: expected fn pointer `fn(&mut engine::kv::KvStore, std::string::String) -> std::result::Result<_, error::Error>`
[INFO] [stdout]               found fn pointer `fn(&mut engine::kv::KvStore, std::string::String) -> std::result::Result<_, std::boxed::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<dyn Error>> {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          expected struct `error::Error`, found struct `std::boxed::Box`
[INFO] [stdout]    |                                          help: change the output type to match the trait: `std::result::Result<(), error::Error>`
[INFO] [stdout]    |
[INFO] [stdout] note: type in trait
[INFO] [stdout]   --> src/engine/mod.rs:14:42
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn remove(&mut self, key: String) -> Result<()>;
[INFO] [stdout]    |                                          ^^^^^^^^^^
[INFO] [stdout]    = note: expected fn pointer `fn(&mut engine::kv::KvStore, std::string::String) -> std::result::Result<_, error::Error>`
[INFO] [stdout]               found fn pointer `fn(&mut engine::kv::KvStore, std::string::String) -> std::result::Result<_, std::boxed::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<Option<String>, Box<dyn Error>> {
[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<std::option::Option<std::string::String>, error::Error>`
[INFO] [stdout]    |
[INFO] [stdout] note: type in trait
[INFO] [stdout]   --> src/engine/mod.rs:12:39
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn get(&mut self, key: String) -> Result<Option<String>>;
[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<dyn Error>> {
[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] note: type in trait
[INFO] [stdout]   --> src/engine/mod.rs:14:42
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn remove(&mut self, key: String) -> Result<()>;
[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]    = help: the following other types implement trait `FromResidual<R>`:
[INFO] [stdout]              <std::result::Result<T, F> as FromResidual<Yeet<E>>>
[INFO] [stdout]              <std::result::Result<T, F> as FromResidual<std::result::Result<Infallible, E>>>
[INFO] [stdout]    = note: required because of the requirements on the impl of `From<OsString>` for `Box<dyn std::error::Error>`
[INFO] [stdout]    = note: required because of the requirements on the impl of `FromResidual<std::result::Result<Infallible, OsString>>` for `std::result::Result<KvStore, Box<dyn std::error::Error>>`
[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 trait `Borrow<str>` is implemented for `std::string::String`
[INFO] [stdout] note: required by a bound in `HashMap::<K, V, S>::remove`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `kvs`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name kvs src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=7b1a7298914dfcf9 -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-5f8500cffd3b4158.rmeta --extern protobuf=/opt/rustwide/target/debug/deps/libprotobuf-fe31872e57a6740f.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-4242ab6586616d20.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-3d32de914fa9495e.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-bdfd8619d5d250df.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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] running `Command { std: "docker" "inspect" "100119c98966437e749bc49487347eccfe9c952ed7783f044d7bb8e8250fc448", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "100119c98966437e749bc49487347eccfe9c952ed7783f044d7bb8e8250fc448", kill_on_drop: false }`
[INFO] [stdout] 100119c98966437e749bc49487347eccfe9c952ed7783f044d7bb8e8250fc448
