[INFO] fetching crate pedis-core 0.0.3... [INFO] checking pedis-core-0.0.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate pedis-core 0.0.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate pedis-core 0.0.3 [INFO] finished tweaking crates.io crate pedis-core 0.0.3 [INFO] tweaked toml for crates.io crate pedis-core 0.0.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pedis-core 0.0.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f5e7a561562a6d188e47ab9e979da7514bf3483ed097e352cefb24882499d50 [INFO] running `Command { std: "docker" "start" "-a" "9f5e7a561562a6d188e47ab9e979da7514bf3483ed097e352cefb24882499d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f5e7a561562a6d188e47ab9e979da7514bf3483ed097e352cefb24882499d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f5e7a561562a6d188e47ab9e979da7514bf3483ed097e352cefb24882499d50", kill_on_drop: false }` [INFO] [stdout] 9f5e7a561562a6d188e47ab9e979da7514bf3483ed097e352cefb24882499d50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a37d141f7d0476cf6ce07fe68659c5d6dc61f653770636d1cd5b8f1558fcd265 [INFO] running `Command { std: "docker" "start" "-a" "a37d141f7d0476cf6ce07fe68659c5d6dc61f653770636d1cd5b8f1558fcd265", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Checking pedis-core v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing documentation for a type alias [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub type AsyncLockedStore<'a> = Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `IStore` [INFO] [stdout] --> src/lib.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | use IStore; [INFO] [stdout] | ^^^^^^ no external crate `IStore` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 152 | use crate::IStore; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set` found for struct `RedisStore` in the current scope [INFO] [stdout] --> src/lib.rs:158:28 [INFO] [stdout] | [INFO] [stdout] 118 | fn set(&mut self, k: String, v: Value) -> StoreResult<()>; [INFO] [stdout] | --- the method is available for `RedisStore` here [INFO] [stdout] ... [INFO] [stdout] 125 | pub struct RedisStore { [INFO] [stdout] | --------------------- method `set` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 158 | let set_result = s.set("key:001".to_string(), value); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IStore` which provides `set` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 151 + use crate::IStore; [INFO] [stdout] | [INFO] [stdout] help: there is a method `get` with a similar name [INFO] [stdout] | [INFO] [stdout] 158 - let set_result = s.set("key:001".to_string(), value); [INFO] [stdout] 158 + let set_result = s.get("key:001".to_string(), value); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `RedisStore` in the current scope [INFO] [stdout] --> src/lib.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 120 | fn get(&self, k: String, vk: ValueKind) -> StoreResult<&Value>; [INFO] [stdout] | --- the method is available for `RedisStore` here [INFO] [stdout] ... [INFO] [stdout] 125 | pub struct RedisStore { [INFO] [stdout] | --------------------- method `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 162 | let get_result = s.get("key:001".to_string(), ValueKind::String); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 162 | let get_result = s.store.get("key:001".to_string(), ValueKind::String); [INFO] [stdout] | ++++++ [INFO] [stdout] help: trait `IStore` which provides `get` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 151 + use crate::IStore; [INFO] [stdout] | [INFO] [stdout] help: there is a method `set` with a similar name [INFO] [stdout] | [INFO] [stdout] 162 - let get_result = s.get("key:001".to_string(), ValueKind::String); [INFO] [stdout] 162 + let get_result = s.set("key:001".to_string(), ValueKind::String); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `RedisStore` in the current scope [INFO] [stdout] --> src/lib.rs:165:47 [INFO] [stdout] | [INFO] [stdout] 120 | fn get(&self, k: String, vk: ValueKind) -> StoreResult<&Value>; [INFO] [stdout] | --- the method is available for `RedisStore` here [INFO] [stdout] ... [INFO] [stdout] 125 | pub struct RedisStore { [INFO] [stdout] | --------------------- method `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 165 | let get_key_kind_mistmatch_result = s.get("key:001".to_string(), ValueKind::Map); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 165 | let get_key_kind_mistmatch_result = s.store.get("key:001".to_string(), ValueKind::Map); [INFO] [stdout] | ++++++ [INFO] [stdout] help: trait `IStore` which provides `get` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 151 + use crate::IStore; [INFO] [stdout] | [INFO] [stdout] help: there is a method `set` with a similar name [INFO] [stdout] | [INFO] [stdout] 165 - let get_key_kind_mistmatch_result = s.get("key:001".to_string(), ValueKind::Map); [INFO] [stdout] 165 + let get_key_kind_mistmatch_result = s.set("key:001".to_string(), ValueKind::Map); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `RedisStore` in the current scope [INFO] [stdout] --> src/lib.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 120 | fn get(&self, k: String, vk: ValueKind) -> StoreResult<&Value>; [INFO] [stdout] | --- the method is available for `RedisStore` here [INFO] [stdout] ... [INFO] [stdout] 125 | pub struct RedisStore { [INFO] [stdout] | --------------------- method `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 173 | let get_key_not_found_result = s.get("key:013".to_string(), ValueKind::String); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 173 | let get_key_not_found_result = s.store.get("key:013".to_string(), ValueKind::String); [INFO] [stdout] | ++++++ [INFO] [stdout] help: trait `IStore` which provides `get` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 151 + use crate::IStore; [INFO] [stdout] | [INFO] [stdout] help: there is a method `set` with a similar name [INFO] [stdout] | [INFO] [stdout] 173 - let get_key_not_found_result = s.get("key:013".to_string(), ValueKind::String); [INFO] [stdout] 173 + let get_key_not_found_result = s.set("key:013".to_string(), ValueKind::String); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pedis-core` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "a37d141f7d0476cf6ce07fe68659c5d6dc61f653770636d1cd5b8f1558fcd265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a37d141f7d0476cf6ce07fe68659c5d6dc61f653770636d1cd5b8f1558fcd265", kill_on_drop: false }` [INFO] [stdout] a37d141f7d0476cf6ce07fe68659c5d6dc61f653770636d1cd5b8f1558fcd265