[INFO] fetching crate polywrap_http_plugin 0.1.11... [INFO] testing polywrap_http_plugin-0.1.11 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate polywrap_http_plugin 0.1.11 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate polywrap_http_plugin 0.1.11 [INFO] finished tweaking crates.io crate polywrap_http_plugin 0.1.11 [INFO] tweaked toml for crates.io crate polywrap_http_plugin 0.1.11 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate polywrap_http_plugin 0.1.11 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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 371 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [INFO] [stderr] Adding ureq v2.12.1 (available: v3.3.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding wat v1.0.71 (available: v1.247.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded polywrap_core v0.1.11 [INFO] [stderr] Downloaded polywrap_uri v0.1.11 [INFO] [stderr] Downloaded polywrap_wasm v0.1.11 [INFO] [stderr] Downloaded polywrap_plugin_implementor v0.1.11 [INFO] [stderr] Downloaded polywrap_core_macros v0.1.11 [INFO] [stderr] Downloaded polywrap_client v0.1.11 [INFO] [stderr] Downloaded polywrap_resolver_extensions v0.1.11 [INFO] [stderr] Downloaded polywrap_msgpack_serde v0.0.2 [INFO] [stderr] Downloaded plugin v0.2.6 [INFO] [stderr] Downloaded cranelift-egraph v0.91.1 [INFO] [stderr] Downloaded language-tags v0.2.2 [INFO] [stderr] Downloaded wrap_manifest_schemas v0.1.11 [INFO] [stderr] Downloaded typeable v0.1.2 [INFO] [stderr] Downloaded chunked_transfer v0.3.1 [INFO] [stderr] Downloaded polywrap_client_builder v0.1.11 [INFO] [stderr] Downloaded unicase v1.4.2 [INFO] [stderr] Downloaded groupable v0.2.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.91.1 [INFO] [stderr] Downloaded buf_redux v0.8.4 [INFO] [stderr] Downloaded iron v0.6.1 [INFO] [stderr] Downloaded mime_guess v1.8.8 [INFO] [stderr] Downloaded hyper v0.10.16 [INFO] [stderr] Downloaded nickel v0.11.0 [INFO] [stderr] Downloaded regalloc2 v0.5.1 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.91.1 [INFO] [stderr] Downloaded wasmparser v0.121.2 [INFO] [stderr] Downloaded wasmer v4.4.0 [INFO] [stderr] Downloaded cranelift-isle v0.91.1 [INFO] [stderr] Downloaded wast v64.0.0 [INFO] [stderr] Downloaded multipart v0.18.0 [INFO] [stderr] Downloaded wasmer-compiler v4.4.0 [INFO] [stderr] Downloaded wasmer-compiler-cranelift v4.4.0 [INFO] [stderr] Downloaded wasmer-types v4.4.0 [INFO] [stderr] Downloaded wasmer-vm v4.4.0 [INFO] [stderr] Downloaded wasm-encoder v0.32.0 [INFO] [stderr] Downloaded base64 v0.9.3 [INFO] [stderr] Downloaded cranelift-frontend v0.91.1 [INFO] [stderr] Downloaded mustache v0.9.0 [INFO] [stderr] Downloaded tiny_http v0.6.4 [INFO] [stderr] Downloaded log v0.3.9 [INFO] [stderr] Downloaded twoway v0.1.8 [INFO] [stderr] Downloaded cranelift-entity v0.91.1 [INFO] [stderr] Downloaded wat v1.0.71 [INFO] [stderr] Downloaded mime v0.2.6 [INFO] [stderr] Downloaded ascii v0.8.7 [INFO] [stderr] Downloaded cranelift-bforest v0.91.1 [INFO] [stderr] Downloaded modifier v0.1.0 [INFO] [stderr] Downloaded traitobject v0.1.1 [INFO] [stderr] Downloaded polywrap_resolvers v0.1.11 [INFO] [stderr] Downloaded wasmer-derive v4.4.0 [INFO] [stderr] Downloaded polywrap_plugin v0.1.11 [INFO] [stderr] Downloaded cranelift-codegen v0.91.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6ec4fe5f8244dfc83e974e04b39c3d3103833cf9badd316be75d35a1fec313f [INFO] running `Command { std: "docker" "start" "-a" "d6ec4fe5f8244dfc83e974e04b39c3d3103833cf9badd316be75d35a1fec313f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6ec4fe5f8244dfc83e974e04b39c3d3103833cf9badd316be75d35a1fec313f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6ec4fe5f8244dfc83e974e04b39c3d3103833cf9badd316be75d35a1fec313f", kill_on_drop: false }` [INFO] [stdout] d6ec4fe5f8244dfc83e974e04b39c3d3103833cf9badd316be75d35a1fec313f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 224eb9392792c54c5d74d9f40c78ef6edd2d7ab33264ea104ceace3a8aa43a94 [INFO] running `Command { std: "docker" "start" "-a" "224eb9392792c54c5d74d9f40c78ef6edd2d7ab33264ea104ceace3a8aa43a94", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling doc-comment v0.3.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling uuid v1.23.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling traitobject v0.1.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Compiling rustls-webpki v0.103.12 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling rustls v0.23.38 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling iso8601 v0.5.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling ascii v0.8.7 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling chunked_transfer v0.3.1 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling fancy-regex v0.10.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tiny_http v0.6.4 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling schemafy_core v0.6.0 [INFO] [stderr] Compiling polywrap_uri v0.1.11 [INFO] [stderr] Compiling polywrap_schemafy_lib v0.1.0 [INFO] [stderr] Compiling handlebars v4.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling polywrap_schemafy v0.1.1 [INFO] [stderr] Compiling polywrap_core_macros v0.1.11 [INFO] [stderr] Compiling polywrap_msgpack_serde v0.0.2 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling fraction v0.12.2 [INFO] [stderr] Compiling polywrap-jsonref v0.1.0 [INFO] [stderr] Compiling jsonschema v0.16.1 [INFO] [stderr] Compiling wrap_manifest_schemas v0.1.11 [INFO] [stderr] Compiling polywrap_core v0.1.11 [INFO] [stderr] Compiling polywrap_plugin_implementor v0.1.11 [INFO] [stderr] Compiling polywrap_plugin v0.1.11 [INFO] [stderr] Compiling polywrap_http_plugin v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] error: `Result` is ambiguous [INFO] [stdout] --> src/wrap/module.rs:22:67 [INFO] [stdout] | [INFO] [stdout] 22 | fn get(&mut self, args: &ArgsGet, invoker: Arc) -> Result, PluginError>; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Result` could refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/polywrap_plugin-0.1.11/src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use serde_json::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: consider updating this dependency to resolve this error [INFO] [stdout] = help: if updating the dependency does not resolve the problem report the problem to the author of the relevant crate [INFO] [stdout] note: `Result` could also refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/polywrap_plugin-0.1.11/src/lib.rs:17:69 [INFO] [stdout] | [INFO] [stdout] 17 | pub use polywrap_msgpack_serde::{serde_bytes::ByteBuf, to_vec, Map, *}; [INFO] [stdout] | ^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: `#[deny(ambiguous_glob_imports)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Result` is ambiguous [INFO] [stdout] --> src/wrap/module.rs:24:69 [INFO] [stdout] | [INFO] [stdout] 24 | fn post(&mut self, args: &ArgsPost, invoker: Arc) -> Result, PluginError>; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Result` could refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/polywrap_plugin-0.1.11/src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use serde_json::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: consider updating this dependency to resolve this error [INFO] [stdout] = help: if updating the dependency does not resolve the problem report the problem to the author of the relevant crate [INFO] [stdout] note: `Result` could also refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/polywrap_plugin-0.1.11/src/lib.rs:17:69 [INFO] [stdout] | [INFO] [stdout] 17 | pub use polywrap_msgpack_serde::{serde_bytes::ByteBuf, to_vec, Map, *}; [INFO] [stdout] | ^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Result` is ambiguous [INFO] [stdout] --> src/lib.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | ) -> Result, PluginError> { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Result` could refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/polywrap_plugin-0.1.11/src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use serde_json::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: consider updating this dependency to resolve this error [INFO] [stdout] = help: if updating the dependency does not resolve the problem report the problem to the author of the relevant crate [INFO] [stdout] note: `Result` could also refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/polywrap_plugin-0.1.11/src/lib.rs:17:69 [INFO] [stdout] | [INFO] [stdout] 17 | pub use polywrap_msgpack_serde::{serde_bytes::ByteBuf, to_vec, Map, *}; [INFO] [stdout] | ^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Result` is ambiguous [INFO] [stdout] --> src/lib.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | ) -> Result, PluginError> { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Result` could refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/polywrap_plugin-0.1.11/src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use serde_json::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: consider updating this dependency to resolve this error [INFO] [stdout] = help: if updating the dependency does not resolve the problem report the problem to the author of the relevant crate [INFO] [stdout] note: `Result` could also refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/polywrap_plugin-0.1.11/src/lib.rs:17:69 [INFO] [stdout] | [INFO] [stdout] 17 | pub use polywrap_msgpack_serde::{serde_bytes::ByteBuf, to_vec, Map, *}; [INFO] [stdout] | ^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Result` is ambiguous [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[plugin_impl] [INFO] [stdout] | ^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Result` could refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/polywrap_plugin-0.1.11/src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use serde_json::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: consider updating this dependency to resolve this error [INFO] [stdout] = help: if updating the dependency does not resolve the problem report the problem to the author of the relevant crate [INFO] [stdout] note: `Result` could also refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/polywrap_plugin-0.1.11/src/lib.rs:17:69 [INFO] [stdout] | [INFO] [stdout] 17 | pub use polywrap_msgpack_serde::{serde_bytes::ByteBuf, to_vec, Map, *}; [INFO] [stdout] | ^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: this error originates in the attribute macro `plugin_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Result` is ambiguous [INFO] [stdout] --> src/lib.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | ) -> Result { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Result` could refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/polywrap_plugin-0.1.11/src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use serde_json::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: consider updating this dependency to resolve this error [INFO] [stdout] = help: if updating the dependency does not resolve the problem report the problem to the author of the relevant crate [INFO] [stdout] note: `Result` could also refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/polywrap_plugin-0.1.11/src/lib.rs:17:69 [INFO] [stdout] | [INFO] [stdout] 17 | pub use polywrap_msgpack_serde::{serde_bytes::ByteBuf, to_vec, Map, *}; [INFO] [stdout] | ^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Result` is ambiguous [INFO] [stdout] --> src/lib.rs:108:53 [INFO] [stdout] | [INFO] [stdout] 108 | fn handle_json(request: UreqRequest, body: &str) -> Result { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Result` could refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/polywrap_plugin-0.1.11/src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use serde_json::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: consider updating this dependency to resolve this error [INFO] [stdout] = help: if updating the dependency does not resolve the problem report the problem to the author of the relevant crate [INFO] [stdout] note: `Result` could also refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/polywrap_plugin-0.1.11/src/lib.rs:17:69 [INFO] [stdout] | [INFO] [stdout] 17 | pub use polywrap_msgpack_serde::{serde_bytes::ByteBuf, to_vec, Map, *}; [INFO] [stdout] | ^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/wrap/module.rs:22:67 [INFO] [stdout] | [INFO] [stdout] 22 | fn get(&mut self, args: &ArgsGet, invoker: Arc) -> Result, PluginError>; [INFO] [stdout] | ^^^^^^ ------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/error.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub type Result = result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/wrap/module.rs:24:69 [INFO] [stdout] | [INFO] [stdout] 24 | fn post(&mut self, args: &ArgsPost, invoker: Arc) -> Result, PluginError>; [INFO] [stdout] | ^^^^^^ ------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/error.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub type Result = result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/lib.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | ) -> Result, PluginError> { [INFO] [stdout] | ^^^^^^ ------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/error.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub type Result = result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/lib.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | ) -> Result, PluginError> { [INFO] [stdout] | ^^^^^^ ------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/error.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub type Result = result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[plugin_impl] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | help: remove the unnecessary generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/error.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub type Result = result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] = note: this error originates in the attribute macro `plugin_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `_wrap_invoke` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[plugin_impl] [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `polywrap_plugin::PluginError`, found `polywrap_plugin::serde_json::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HttpPlugin, &_, &_, std::option::Option<&_>, std::sync::Arc<_>) -> std::result::Result<_, polywrap_plugin::PluginError>` [INFO] [stdout] found signature `fn(&mut HttpPlugin, &_, &_, std::option::Option<&_>, std::sync::Arc<_>) -> std::result::Result<_, polywrap_plugin::serde_json::Error>` [INFO] [stdout] = note: this error originates in the attribute macro `plugin_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 24 - #[plugin_impl] [INFO] [stdout] 24 + std::result::Result, polywrap_plugin::PluginError> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/lib.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | ) -> Result { [INFO] [stdout] | ^^^^^^ ------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/error.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub type Result = result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/lib.rs:108:53 [INFO] [stdout] | [INFO] [stdout] 108 | fn handle_json(request: UreqRequest, body: &str) -> Result { [INFO] [stdout] | ^^^^^^ ----------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/error.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub type Result = result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `polywrap_plugin::serde_json::Error` [INFO] [stdout] --> src/lib.rs:33:75 [INFO] [stdout] | [INFO] [stdout] 32 | .call() [INFO] [stdout] | ------ this has type `Result<_, ureq::Error>` [INFO] [stdout] 33 | .map_err(|e| HttpPluginError::SendRequestError(e.to_string()))?; [INFO] [stdout] | -------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `polywrap_plugin::serde_json::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, HttpPluginError>` [INFO] [stdout] | [INFO] [stdout] note: `HttpPluginError` needs to implement `Into` [INFO] [stdout] --> src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | pub enum HttpPluginError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `polywrap_plugin::serde_json::Error` [INFO] [stdout] --> src/lib.rs:41:70 [INFO] [stdout] | [INFO] [stdout] 41 | let parsed_response = parse_response(response, response_type)?; [INFO] [stdout] | ---------------------------------------^ the trait `std::convert::From` is not implemented for `polywrap_plugin::serde_json::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, polywrap_plugin::PluginError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `polywrap_plugin::serde_json::Error` [INFO] [stdout] --> src/lib.rs:65:93 [INFO] [stdout] | [INFO] [stdout] 65 | request.call().map_err(|e| HttpPluginError::SendRequestError(e.to_string()))? [INFO] [stdout] | ------ -------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `polywrap_plugin::serde_json::Error` [INFO] [stdout] | | | [INFO] [stdout] | | this can't be annotated with `?` because it has type `Result<_, HttpPluginError>` [INFO] [stdout] | this has type `Result<_, ureq::Error>` [INFO] [stdout] | [INFO] [stdout] note: `HttpPluginError` needs to implement `Into` [INFO] [stdout] --> src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | pub enum HttpPluginError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `polywrap_plugin::serde_json::Error` [INFO] [stdout] --> src/lib.rs:68:89 [INFO] [stdout] | [INFO] [stdout] 68 | request.call().map_err(|e| HttpPluginError::SendRequestError(e.to_string()))? [INFO] [stdout] | ------ -------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `polywrap_plugin::serde_json::Error` [INFO] [stdout] | | | [INFO] [stdout] | | this can't be annotated with `?` because it has type `Result<_, HttpPluginError>` [INFO] [stdout] | this has type `Result<_, ureq::Error>` [INFO] [stdout] | [INFO] [stdout] note: `HttpPluginError` needs to implement `Into` [INFO] [stdout] --> src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | pub enum HttpPluginError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `polywrap_plugin::serde_json::Error` [INFO] [stdout] --> src/lib.rs:70:70 [INFO] [stdout] | [INFO] [stdout] 70 | let parsed_response = parse_response(response, response_type)?; [INFO] [stdout] | ---------------------------------------^ the trait `std::convert::From` is not implemented for `polywrap_plugin::serde_json::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, polywrap_plugin::PluginError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `polywrap_plugin::serde_json::Error` [INFO] [stdout] --> src/lib.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | #[plugin_impl] [INFO] [stdout] | -------------^ [INFO] [stdout] | | | [INFO] [stdout] | | the trait `std::convert::From` is not implemented for `polywrap_plugin::serde_json::Error` [INFO] [stdout] | this has type `Result<_, polywrap_plugin::serde_json::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: this error originates in the attribute macro `plugin_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[plugin_impl] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `Error`, found `PluginError` [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `polywrap_plugin::PluginError` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[plugin_impl] [INFO] [stdout] | ^^^^^^^^^^^^^^ this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:566:4 [INFO] [stdout] = note: this error originates in the attribute macro `plugin_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `polywrap_plugin::serde_json::Error` [INFO] [stdout] --> src/lib.rs:84:97 [INFO] [stdout] | [INFO] [stdout] 79 | ) -> Result { [INFO] [stdout] | --------------------------------- expected `polywrap_plugin::serde_json::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 84 | let buf = base64::decode(v).map_err(HttpPluginError::FormValueBase64DecodeError)?; [INFO] [stdout] | ----------------- ----------------------------------------------------^ the trait `std::convert::From` is not implemented for `polywrap_plugin::serde_json::Error` [INFO] [stdout] | | | [INFO] [stdout] | | this can't be annotated with `?` because it has type `Result<_, HttpPluginError>` [INFO] [stdout] | this has type `Result<_, base64::DecodeError>` [INFO] [stdout] | [INFO] [stdout] note: `HttpPluginError` needs to implement `Into` [INFO] [stdout] --> src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | pub enum HttpPluginError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `polywrap_plugin::serde_json::Error` [INFO] [stdout] --> src/lib.rs:96:76 [INFO] [stdout] | [INFO] [stdout] 79 | ) -> Result { [INFO] [stdout] | --------------------------------- expected `polywrap_plugin::serde_json::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 95 | .prepare() [INFO] [stdout] | --------- this has type `Result<_, LazyError<'_, std::io::Error>>` [INFO] [stdout] 96 | .map_err(|e| HttpPluginError::MultipartPrepareError(e.to_string()))?; [INFO] [stdout] | ------------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `polywrap_plugin::serde_json::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, HttpPluginError>` [INFO] [stdout] | [INFO] [stdout] note: `HttpPluginError` needs to implement `Into` [INFO] [stdout] --> src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | pub enum HttpPluginError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `polywrap_plugin::serde_json::Error` [INFO] [stdout] --> src/lib.rs:103:71 [INFO] [stdout] | [INFO] [stdout] 79 | ) -> Result { [INFO] [stdout] | --------------------------------- expected `polywrap_plugin::serde_json::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 102 | .send(mdata) [INFO] [stdout] | ----------- this has type `Result<_, ureq::Error>` [INFO] [stdout] 103 | .map_err(|e| HttpPluginError::SendRequestError(e.to_string()))?; [INFO] [stdout] | -------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `polywrap_plugin::serde_json::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, HttpPluginError>` [INFO] [stdout] | [INFO] [stdout] note: `HttpPluginError` needs to implement `Into` [INFO] [stdout] --> src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | pub enum HttpPluginError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `polywrap_plugin::serde_json::Error` [INFO] [stdout] --> src/lib.rs:110:62 [INFO] [stdout] | [INFO] [stdout] 108 | fn handle_json(request: UreqRequest, body: &str) -> Result { [INFO] [stdout] | ------------------------------------- expected `polywrap_plugin::serde_json::Error` because of this [INFO] [stdout] 109 | let value = JSON::from_str::(body); [INFO] [stdout] | ----------------------------------- this has type `Result<_, polywrap_plugin::serde_json::Error>` [INFO] [stdout] 110 | let json = value.map_err(HttpPluginError::JSONParseError)?; [INFO] [stdout] | ----------------------------------------^ the trait `std::convert::From` is not implemented for `polywrap_plugin::serde_json::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, HttpPluginError>` [INFO] [stdout] | [INFO] [stdout] note: `HttpPluginError` needs to implement `Into` [INFO] [stdout] --> src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | pub enum HttpPluginError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `polywrap_plugin::serde_json::Error` [INFO] [stdout] --> src/lib.rs:114:71 [INFO] [stdout] | [INFO] [stdout] 108 | fn handle_json(request: UreqRequest, body: &str) -> Result { [INFO] [stdout] | ------------------------------------- expected `polywrap_plugin::serde_json::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 113 | .send_json(json) [INFO] [stdout] | --------------- this has type `Result<_, ureq::Error>` [INFO] [stdout] 114 | .map_err(|e| HttpPluginError::SendRequestError(e.to_string()))?; [INFO] [stdout] | -------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `polywrap_plugin::serde_json::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, HttpPluginError>` [INFO] [stdout] | [INFO] [stdout] note: `HttpPluginError` needs to implement `Into` [INFO] [stdout] --> src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | pub enum HttpPluginError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0107, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `polywrap_http_plugin` (lib) due to 34 previous errors [INFO] running `Command { std: "docker" "inspect" "224eb9392792c54c5d74d9f40c78ef6edd2d7ab33264ea104ceace3a8aa43a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "224eb9392792c54c5d74d9f40c78ef6edd2d7ab33264ea104ceace3a8aa43a94", kill_on_drop: false }` [INFO] [stdout] 224eb9392792c54c5d74d9f40c78ef6edd2d7ab33264ea104ceace3a8aa43a94