[INFO] fetching crate paseto-wasi07 1.0.7... [INFO] checking paseto-wasi07-1.0.7 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate paseto-wasi07 1.0.7 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate paseto-wasi07 1.0.7 [INFO] finished tweaking crates.io crate paseto-wasi07 1.0.7 [INFO] tweaked toml for crates.io crate paseto-wasi07 1.0.7 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate paseto-wasi07 1.0.7 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate paseto-wasi07 1.0.7 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37d21e8203286c2cb43e1d929de1d6d398a0e060798e0594daa93ab07bd73150 [INFO] running `Command { std: "docker" "start" "-a" "37d21e8203286c2cb43e1d929de1d6d398a0e060798e0594daa93ab07bd73150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37d21e8203286c2cb43e1d929de1d6d398a0e060798e0594daa93ab07bd73150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37d21e8203286c2cb43e1d929de1d6d398a0e060798e0594daa93ab07bd73150", kill_on_drop: false }` [INFO] [stdout] 37d21e8203286c2cb43e1d929de1d6d398a0e060798e0594daa93ab07bd73150 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 274a5627d494b40e91d49541996d983e1ffbaab1383d5ecf1e995a791f145f83 [INFO] running `Command { std: "docker" "start" "-a" "274a5627d494b40e91d49541996d983e1ffbaab1383d5ecf1e995a791f145f83", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Checking subtle v2.2.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking base64 v0.12.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking universal-hash v0.3.0 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking aead v0.2.0 [INFO] [stderr] Checking blake2 v0.8.1 [INFO] [stderr] Checking chacha20 v0.3.3 [INFO] [stderr] Checking poly1305 v0.5.2 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking chacha20poly1305 v0.4.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking backtrace v0.3.44 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking chrono-wasi07 v0.4.10 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking paseto-wasi07 v1.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_CryptoErrors` [INFO] [stdout] 4 | pub enum CryptoErrors { [INFO] [stdout] | ------------ `CryptoErrors` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_CryptoErrors` [INFO] [stdout] 4 | pub enum CryptoErrors { [INFO] [stdout] | ------------ `CryptoErrors` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_RsaKeyErrors` [INFO] [stdout] 20 | pub enum RsaKeyErrors { [INFO] [stdout] | ------------ `RsaKeyErrors` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_RsaKeyErrors` [INFO] [stdout] 20 | pub enum RsaKeyErrors { [INFO] [stdout] | ------------ `RsaKeyErrors` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_GenericError` [INFO] [stdout] 28 | pub enum GenericError { [INFO] [stdout] | ------------ `GenericError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_GenericError` [INFO] [stdout] 28 | pub enum GenericError { [INFO] [stdout] | ------------ `GenericError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_CryptoErrors` [INFO] [stdout] 4 | pub enum CryptoErrors { [INFO] [stdout] | ------------ `CryptoErrors` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_CryptoErrors` [INFO] [stdout] 4 | pub enum CryptoErrors { [INFO] [stdout] | ------------ `CryptoErrors` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_RsaKeyErrors` [INFO] [stdout] 20 | pub enum RsaKeyErrors { [INFO] [stdout] | ------------ `RsaKeyErrors` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_RsaKeyErrors` [INFO] [stdout] 20 | pub enum RsaKeyErrors { [INFO] [stdout] | ------------ `RsaKeyErrors` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_GenericError` [INFO] [stdout] 28 | pub enum GenericError { [INFO] [stdout] | ------------ `GenericError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_GenericError` [INFO] [stdout] 28 | pub enum GenericError { [INFO] [stdout] | ------------ `GenericError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `paseto` [INFO] [stdout] --> examples/local-using-builders.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let token = paseto::tokens::PasetoBuilder::new() [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `paseto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `paseto`, use `cargo add paseto` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use paseto_wasi07::PasetoBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `PasetoBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - let token = paseto::tokens::PasetoBuilder::new() [INFO] [stdout] 13 + let token = PasetoBuilder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `paseto` [INFO] [stdout] --> examples/local-using-builders.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | let verified_token = paseto::tokens::validate_local_token( [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `paseto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `paseto`, use `cargo add paseto` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use paseto_wasi07::tokens; [INFO] [stdout] | [INFO] [stdout] help: if you import `tokens`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 28 - let verified_token = paseto::tokens::validate_local_token( [INFO] [stdout] 28 + let verified_token = tokens::validate_local_token( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `paseto` [INFO] [stdout] --> examples/direct-protocol.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | paseto::v2::local::local_paseto(&message, None, &mut key_mut).expect("Failed to encrypt V2 Token sans footer."); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `paseto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `paseto`, use `cargo add paseto` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use paseto_wasi07::v2::local; [INFO] [stdout] | [INFO] [stdout] help: if you import `local`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 27 - paseto::v2::local::local_paseto(&message, None, &mut key_mut).expect("Failed to encrypt V2 Token sans footer."); [INFO] [stdout] 27 + local::local_paseto(&message, None, &mut key_mut).expect("Failed to encrypt V2 Token sans footer."); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `paseto` [INFO] [stdout] --> examples/direct-protocol.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | paseto::v2::local::decrypt_paseto(&v2_token, None, &mut key_mut).expect("Failed to decrypt V2 Token sans footer."); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `paseto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `paseto`, use `cargo add paseto` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use paseto_wasi07::v2::local; [INFO] [stdout] | [INFO] [stdout] help: if you import `local`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 30 - paseto::v2::local::decrypt_paseto(&v2_token, None, &mut key_mut).expect("Failed to decrypt V2 Token sans footer."); [INFO] [stdout] 30 + local::decrypt_paseto(&v2_token, None, &mut key_mut).expect("Failed to decrypt V2 Token sans footer."); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `paseto` [INFO] [stdout] --> examples/direct-protocol.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | paseto::v2::local::local_paseto(&message, Some(&footer), &mut key_mut).expect("Failed to encrypt V2 Token."); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `paseto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `paseto`, use `cargo add paseto` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use paseto_wasi07::v2::local; [INFO] [stdout] | [INFO] [stdout] help: if you import `local`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - paseto::v2::local::local_paseto(&message, Some(&footer), &mut key_mut).expect("Failed to encrypt V2 Token."); [INFO] [stdout] 33 + local::local_paseto(&message, Some(&footer), &mut key_mut).expect("Failed to encrypt V2 Token."); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `paseto` [INFO] [stdout] --> examples/direct-protocol.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | let decrypted_v2_footer = paseto::v2::local::decrypt_paseto(&v2_footer_token, Some(&footer), &mut key_mut) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `paseto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `paseto`, use `cargo add paseto` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use paseto_wasi07::v2::local; [INFO] [stdout] | [INFO] [stdout] help: if you import `local`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - let decrypted_v2_footer = paseto::v2::local::decrypt_paseto(&v2_footer_token, Some(&footer), &mut key_mut) [INFO] [stdout] 35 + let decrypted_v2_footer = local::decrypt_paseto(&v2_footer_token, Some(&footer), &mut key_mut) [INFO] [stdout] | [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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `paseto` [INFO] [stdout] --> examples/public-using-builder.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let token = paseto::tokens::PasetoBuilder::new() [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `paseto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `paseto`, use `cargo add paseto` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use paseto_wasi07::PasetoBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `PasetoBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 15 - let token = paseto::tokens::PasetoBuilder::new() [INFO] [stdout] 15 + let token = PasetoBuilder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `paseto` [INFO] [stdout] --> examples/public-using-builder.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | let verified_token = paseto::tokens::validate_public_token( [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `paseto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `paseto`, use `cargo add paseto` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use paseto_wasi07::tokens; [INFO] [stdout] | [INFO] [stdout] help: if you import `tokens`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 30 - let verified_token = paseto::tokens::validate_public_token( [INFO] [stdout] 30 + let verified_token = tokens::validate_public_token( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `paseto` [INFO] [stdout] --> examples/public-using-builder.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | &paseto::tokens::PasetoPublicKey::ED25519KeyPair(cloned_key), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `paseto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `paseto`, use `cargo add paseto` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use paseto_wasi07::PasetoPublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PasetoPublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - &paseto::tokens::PasetoPublicKey::ED25519KeyPair(cloned_key), [INFO] [stdout] 33 + &PasetoPublicKey::ED25519KeyPair(cloned_key), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `paseto-wasi07` (example "local-using-builders") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `paseto-wasi07` (example "direct-protocol") due to 4 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `paseto-wasi07` (example "public-using-builder") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "274a5627d494b40e91d49541996d983e1ffbaab1383d5ecf1e995a791f145f83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "274a5627d494b40e91d49541996d983e1ffbaab1383d5ecf1e995a791f145f83", kill_on_drop: false }` [INFO] [stdout] 274a5627d494b40e91d49541996d983e1ffbaab1383d5ecf1e995a791f145f83