[INFO] fetching crate v-common-az-lmdb 0.1.2... [INFO] testing v-common-az-lmdb-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate v-common-az-lmdb 0.1.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate v-common-az-lmdb 0.1.2 [INFO] finished tweaking crates.io crate v-common-az-lmdb 0.1.2 [INFO] tweaked toml for crates.io crate v-common-az-lmdb 0.1.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate v-common-az-lmdb 0.1.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding lmdb-rs-m v0.7.8 (available: v0.8.0) [INFO] [stderr] Adding v_authorization v0.1.7 (available: v0.5.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lmdb-rs-m v0.7.8 [INFO] [stderr] Downloaded v_authorization v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b59b5e4601e0e7d15572fbfa951a24bacfbdd15cad4b3923f3b8d362f066be4e [INFO] running `Command { std: "docker" "start" "-a" "b59b5e4601e0e7d15572fbfa951a24bacfbdd15cad4b3923f3b8d362f066be4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b59b5e4601e0e7d15572fbfa951a24bacfbdd15cad4b3923f3b8d362f066be4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b59b5e4601e0e7d15572fbfa951a24bacfbdd15cad4b3923f3b8d362f066be4e", kill_on_drop: false }` [INFO] [stdout] b59b5e4601e0e7d15572fbfa951a24bacfbdd15cad4b3923f3b8d362f066be4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5253e629cca811d030ad57bf75dcadbe3b8514dbbbd6c6c84ec1947a997da45c [INFO] running `Command { std: "docker" "start" "-a" "5253e629cca811d030ad57bf75dcadbe3b8514dbbbd6c6c84ec1947a997da45c", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling v_authorization v0.1.7 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling liblmdb-sys-m v0.2.3 [INFO] [stderr] Compiling lmdb-rs-m v0.7.8 [INFO] [stderr] Compiling v-common-az-lmdb v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0053]: method `get` has an incompatible type for trait [INFO] [stdout] --> src/az-lmdb.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | fn get(&self, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `Option`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&LMDBStorage<'_>, &_) -> Result, std::io::Error>` [INFO] [stdout] found signature `fn(&LMDBStorage<'_>, &_) -> Result` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 70 - fn get(&self, key: &str) -> Result { [INFO] [stdout] 70 + fn get(&self, key: &str) -> Result, std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/az-lmdb.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn _authorize(uri: &str, user_uri: &str, request_access: u8, _is_check_for_reload: bool, trace: Option<&mut Trace>) -> Result { [INFO] [stdout] | --------------- expected `Result` because of return type [INFO] [stdout] ... [INFO] [stdout] 152 | authorize(uri, user_uri, request_access,&storage, t) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, i64>` [INFO] [stdout] found enum `Result<_, std::io::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/az-lmdb.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn _authorize(uri: &str, user_uri: &str, request_access: u8, _is_check_for_reload: bool, trace: Option<&mut Trace>) -> Result { [INFO] [stdout] | --------------- expected `Result` because of return type [INFO] [stdout] ... [INFO] [stdout] 164 | authorize(uri, user_uri, request_access,&storage, &mut t) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, i64>` [INFO] [stdout] found enum `Result<_, std::io::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `v-common-az-lmdb` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5253e629cca811d030ad57bf75dcadbe3b8514dbbbd6c6c84ec1947a997da45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5253e629cca811d030ad57bf75dcadbe3b8514dbbbd6c6c84ec1947a997da45c", kill_on_drop: false }` [INFO] [stdout] 5253e629cca811d030ad57bf75dcadbe3b8514dbbbd6c6c84ec1947a997da45c