[INFO] fetching crate rpkl-jdx 0.4.0... [INFO] testing rpkl-jdx-0.4.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rpkl-jdx 0.4.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rpkl-jdx 0.4.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rpkl-jdx 0.4.0 [INFO] tweaked toml for crates.io crate rpkl-jdx 0.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rpkl-jdx 0.4.0 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] crate crates.io crate rpkl-jdx 0.4.0 already has a lockfile, it will not be regenerated [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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mintex v0.1.3 [INFO] [stderr] Downloaded thousands v0.2.0 [INFO] [stderr] Downloaded dhat v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3d9b65efc5c694349d94891edd07f059d0812f287e1895fdbcf54c8060e9d27c [INFO] running `Command { std: "docker" "start" "-a" "3d9b65efc5c694349d94891edd07f059d0812f287e1895fdbcf54c8060e9d27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d9b65efc5c694349d94891edd07f059d0812f287e1895fdbcf54c8060e9d27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d9b65efc5c694349d94891edd07f059d0812f287e1895fdbcf54c8060e9d27c", kill_on_drop: false }` [INFO] [stdout] 3d9b65efc5c694349d94891edd07f059d0812f287e1895fdbcf54c8060e9d27c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4fd2863993375d2cfab5579035e9580bf05b4251ee00ae7c3e6a0e58ca4d9b83 [INFO] running `Command { std: "docker" "start" "-a" "4fd2863993375d2cfab5579035e9580bf05b4251ee00ae7c3e6a0e58ca4d9b83", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling rmpv v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling rpkl-jdx v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `DurationDeserializer` is never constructed [INFO] [stdout] --> src/pkl/de/duration.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DurationDeserializer<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TupleDeserializer` is never constructed [INFO] [stdout] --> src/pkl/de/pair.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TupleDeserializer<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeDeserializer` is never constructed [INFO] [stdout] --> src/pkl/de/range.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangeDeserializer<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pkl/deserializer.rs:272:30 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn into_deserializer(&self) -> PklValueDeserializer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 272 | pub fn into_deserializer(&self) -> PklValueDeserializer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.30s [INFO] running `Command { std: "docker" "inspect" "4fd2863993375d2cfab5579035e9580bf05b4251ee00ae7c3e6a0e58ca4d9b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fd2863993375d2cfab5579035e9580bf05b4251ee00ae7c3e6a0e58ca4d9b83", kill_on_drop: false }` [INFO] [stdout] 4fd2863993375d2cfab5579035e9580bf05b4251ee00ae7c3e6a0e58ca4d9b83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c58cb7ab4364513df6424d152962e1861db2744add225c285f7c248dde39244a [INFO] running `Command { std: "docker" "start" "-a" "c58cb7ab4364513df6424d152962e1861db2744add225c285f7c248dde39244a", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stdout] warning: struct `DurationDeserializer` is never constructed [INFO] [stdout] --> src/pkl/de/duration.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DurationDeserializer<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TupleDeserializer` is never constructed [INFO] [stdout] --> src/pkl/de/pair.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TupleDeserializer<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeDeserializer` is never constructed [INFO] [stdout] --> src/pkl/de/range.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangeDeserializer<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pkl/deserializer.rs:272:30 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn into_deserializer(&self) -> PklValueDeserializer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 272 | pub fn into_deserializer(&self) -> PklValueDeserializer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rpkl-jdx v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] --> examples/nested.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let value = rpkl::from_config::(path); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpkl`, use `cargo add rpkl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] --> examples/external_resource_reader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rpkl::api::external_reader::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpkl`, use `cargo add rpkl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rpkl-jdx` (example "nested") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] --> examples/custom_readers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rpkl::{api::reader::*, EvaluatorOptions}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpkl`, use `cargo add rpkl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rpkl` [INFO] [stdout] --> examples/custom_readers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rpkl::{api::reader::*, EvaluatorOptions}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpkl`, use `cargo add rpkl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rpkl` [INFO] [stdout] --> examples/codegen.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rpkl::from_config; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpkl`, use `cargo add rpkl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PklResourceReader` in this scope [INFO] [stdout] --> examples/external_resource_reader.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl PklResourceReader for LdapReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use rpkl_jdx::api::reader::PklResourceReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathElements` in this scope [INFO] [stdout] --> examples/external_resource_reader.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | fn list(&self, _uri: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rpkl_jdx::api::reader::PathElements; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PklResourceReader` in this scope [INFO] [stdout] --> examples/external_resource_reader.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | impl PklResourceReader for LdapsReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use rpkl_jdx::api::reader::PklResourceReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathElements` in this scope [INFO] [stdout] --> examples/external_resource_reader.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | fn list(&self, _uri: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rpkl_jdx::api::reader::PathElements; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PklModuleReader` in this scope [INFO] [stdout] --> examples/external_resource_reader.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | impl PklModuleReader for ModuleReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use rpkl_jdx::api::reader::PklModuleReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathElements` in this scope [INFO] [stdout] --> examples/external_resource_reader.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | fn list(&self, _uri: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rpkl_jdx::api::reader::PathElements; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternalReaderRuntime` [INFO] [stdout] --> examples/external_resource_reader.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | _ = ExternalReaderRuntime::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ExternalReaderRuntime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rpkl_jdx::api::external_reader::ExternalReaderRuntime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] --> examples/evaluator_options.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rpkl::api::evaluator::EvaluatorOptions; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpkl`, use `cargo add rpkl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rpkl-jdx` (example "external_resource_reader") due to 8 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] --> examples/nonprim.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | size: rpkl::value::DataSize, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpkl`, use `cargo add rpkl` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use rpkl_jdx::value; [INFO] [stdout] | [INFO] [stdout] 1 + use rpkl_jdx::value::value; [INFO] [stdout] | [INFO] [stdout] help: if you import `value`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - size: rpkl::value::DataSize, [INFO] [stdout] 7 + size: value::DataSize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PklResourceReader` in this scope [INFO] [stdout] --> examples/custom_readers.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl PklResourceReader for LdapReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use rpkl_jdx::api::reader::PklResourceReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathElements` in this scope [INFO] [stdout] --> examples/custom_readers.rs:20:46 [INFO] [stdout] | [INFO] [stdout] 20 | fn list(&self, _uri: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rpkl_jdx::api::reader::PathElements; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PklResourceReader` in this scope [INFO] [stdout] --> examples/custom_readers.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | impl PklResourceReader for LdapsReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use rpkl_jdx::api::reader::PklResourceReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathElements` in this scope [INFO] [stdout] --> examples/custom_readers.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | fn list(&self, _uri: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rpkl_jdx::api::reader::PathElements; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PklModuleReader` in this scope [INFO] [stdout] --> examples/custom_readers.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | impl PklModuleReader for ModuleReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use rpkl_jdx::api::reader::PklModuleReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathElements` in this scope [INFO] [stdout] --> examples/custom_readers.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | fn list(&self, _uri: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rpkl_jdx::api::reader::PathElements; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] --> examples/codegen.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub birds: Vec, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpkl`, use `cargo add rpkl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] --> examples/codegen.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub mapping: rpkl::Value, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpkl`, use `cargo add rpkl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] --> examples/custom_readers.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | let config: Config = rpkl::from_config_with_options(path, options).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpkl`, use `cargo add rpkl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rpkl-jdx` (example "codegen") due to 3 previous errors [INFO] [stderr] error: could not compile `rpkl-jdx` (example "custom_readers") due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] --> examples/nonprim.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let value = rpkl::from_config::(path); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpkl`, use `cargo add rpkl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] --> examples/evaluator_options.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | let config: Config = rpkl::from_config_with_options(path, options).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpkl`, use `cargo add rpkl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rpkl-jdx` (example "nonprim") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] --> examples/nonprim.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | numbers: Vec, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rpkl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpkl`, use `cargo add rpkl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rpkl-jdx` (example "evaluator_options") due to 2 previous errors [INFO] [stdout] warning: struct `DurationDeserializer` is never constructed [INFO] [stdout] --> src/pkl/de/duration.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DurationDeserializer<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TupleDeserializer` is never constructed [INFO] [stdout] --> src/pkl/de/pair.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TupleDeserializer<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RangeDeserializer` is never constructed [INFO] [stdout] --> src/pkl/de/range.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RangeDeserializer<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pkl/deserializer.rs:272:30 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn into_deserializer(&self) -> PklValueDeserializer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 272 | pub fn into_deserializer(&self) -> PklValueDeserializer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c58cb7ab4364513df6424d152962e1861db2744add225c285f7c248dde39244a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c58cb7ab4364513df6424d152962e1861db2744add225c285f7c248dde39244a", kill_on_drop: false }` [INFO] [stdout] c58cb7ab4364513df6424d152962e1861db2744add225c285f7c248dde39244a