[INFO] fetching crate v-common-az-lmdb 0.1.2... [INFO] testing v-common-az-lmdb-0.1.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate v-common-az-lmdb 0.1.2 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate v-common-az-lmdb 0.1.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lmdb-rs-m v0.7.8 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded liblmdb-sys-m v0.2.3 [INFO] [stderr] Downloaded v_authorization v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87ea0a9cf73cecd0a46a73b8b0cf5ec816e6609920a870142ade345b077c4a5f [INFO] running `Command { std: "docker" "start" "-a" "87ea0a9cf73cecd0a46a73b8b0cf5ec816e6609920a870142ade345b077c4a5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87ea0a9cf73cecd0a46a73b8b0cf5ec816e6609920a870142ade345b077c4a5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87ea0a9cf73cecd0a46a73b8b0cf5ec816e6609920a870142ade345b077c4a5f", kill_on_drop: false }` [INFO] [stdout] 87ea0a9cf73cecd0a46a73b8b0cf5ec816e6609920a870142ade345b077c4a5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dadf53f1cac8377517dfc7f74c14ab19a4c60b784efaae7e31c36693a7419169 [INFO] running `Command { std: "docker" "start" "-a" "dadf53f1cac8377517dfc7f74c14ab19a4c60b784efaae7e31c36693a7419169", 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] running `Command { std: "docker" "inspect" "dadf53f1cac8377517dfc7f74c14ab19a4c60b784efaae7e31c36693a7419169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dadf53f1cac8377517dfc7f74c14ab19a4c60b784efaae7e31c36693a7419169", kill_on_drop: false }` [INFO] [stdout] dadf53f1cac8377517dfc7f74c14ab19a4c60b784efaae7e31c36693a7419169