[INFO] fetching crate paseto-wasi07 1.0.7... [INFO] checking paseto-wasi07-1.0.7 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate paseto-wasi07 1.0.7 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate paseto-wasi07 1.0.7 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stream-cipher v0.3.2 [INFO] [stderr] Downloaded ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Downloaded chacha20poly1305 v0.4.1 [INFO] [stderr] Downloaded chacha20 v0.3.3 [INFO] [stderr] Downloaded poly1305 v0.5.2 [INFO] [stderr] Downloaded curve25519-dalek v2.0.0 [INFO] [stderr] Downloaded chrono-wasi07 v0.4.10 [INFO] [stderr] Downloaded subtle v2.2.2 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13760c7934acc0ba12ad27b84412558737b600cb013d98e9941bb5663270e7a5 [INFO] running `Command { std: "docker" "start" "-a" "13760c7934acc0ba12ad27b84412558737b600cb013d98e9941bb5663270e7a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13760c7934acc0ba12ad27b84412558737b600cb013d98e9941bb5663270e7a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13760c7934acc0ba12ad27b84412558737b600cb013d98e9941bb5663270e7a5", kill_on_drop: false }` [INFO] [stdout] 13760c7934acc0ba12ad27b84412558737b600cb013d98e9941bb5663270e7a5 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb45e01475ea6232082b3028e21666a94c432f6f6b71ba8faafdbb15488328ff [INFO] running `Command { std: "docker" "start" "-a" "cb45e01475ea6232082b3028e21666a94c432f6f6b71ba8faafdbb15488328ff", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking subtle v2.2.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking base64 v0.12.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking universal-hash v0.3.0 [INFO] [stderr] Checking aead v0.2.0 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chacha20 v0.3.3 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking blake2 v0.8.1 [INFO] [stderr] Checking poly1305 v0.5.2 [INFO] [stderr] Checking chacha20poly1305 v0.4.1 [INFO] [stderr] Checking backtrace v0.3.44 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking chrono-wasi07 v0.4.10 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking paseto-wasi07 v1.0.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `paseto` [INFO] [stdout] | [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 undeclared crate or module `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 undeclared crate or module `paseto` [INFO] [stdout] | [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 undeclared crate or module `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 undeclared crate or module `paseto` [INFO] [stdout] | [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] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `paseto` [INFO] [stdout] | [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 undeclared crate or module `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 undeclared crate or module `paseto` [INFO] [stdout] | [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [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 4 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `paseto` [INFO] [stdout] | [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 undeclared crate or module `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 undeclared crate or module `paseto` [INFO] [stdout] | [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 undeclared crate or module `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 undeclared crate or module `paseto` [INFO] [stdout] | [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 undeclared crate or module `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 undeclared crate or module `paseto` [INFO] [stdout] | [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] [stderr] error: could not compile `paseto-wasi07` (example "local-using-builders") due to 3 previous errors [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `paseto-wasi07` (example "direct-protocol") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "cb45e01475ea6232082b3028e21666a94c432f6f6b71ba8faafdbb15488328ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb45e01475ea6232082b3028e21666a94c432f6f6b71ba8faafdbb15488328ff", kill_on_drop: false }` [INFO] [stdout] cb45e01475ea6232082b3028e21666a94c432f6f6b71ba8faafdbb15488328ff