[INFO] fetching crate stoken 0.0.6... [INFO] testing stoken-0.0.6 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate stoken 0.0.6 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate stoken 0.0.6 [INFO] finished tweaking crates.io crate stoken 0.0.6 [INFO] tweaked toml for crates.io crate stoken 0.0.6 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stoken 0.0.6 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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 58 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [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] 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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92f0c24b2842aa7abc00373077c4c4f7aee5f669385c7f742a3423a3473c6d0c [INFO] running `Command { std: "docker" "start" "-a" "92f0c24b2842aa7abc00373077c4c4f7aee5f669385c7f742a3423a3473c6d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92f0c24b2842aa7abc00373077c4c4f7aee5f669385c7f742a3423a3473c6d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92f0c24b2842aa7abc00373077c4c4f7aee5f669385c7f742a3423a3473c6d0c", kill_on_drop: false }` [INFO] [stdout] 92f0c24b2842aa7abc00373077c4c4f7aee5f669385c7f742a3423a3473c6d0c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be109a309cddcef5bff0edd26a550a436c7a04722df69109e8c0d2efffbb9811 [INFO] running `Command { std: "docker" "start" "-a" "be109a309cddcef5bff0edd26a550a436c7a04722df69109e8c0d2efffbb9811", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde-xml-rs v0.8.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling stoken v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/tokens/crypto/mod.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | encrypted_seed: decode(&token.token.seed[1..]).unwrap(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/tokens/crypto/mod.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | use base64::decode; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/tokens/crypto/mod.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | secret: base64::decode(&header.secret).unwrap(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/tokens/export.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | Some(base64::encode(&bytes)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/tokens/export.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | let bytes = base64::decode(&token).ok()?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.28s [INFO] running `Command { std: "docker" "inspect" "be109a309cddcef5bff0edd26a550a436c7a04722df69109e8c0d2efffbb9811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be109a309cddcef5bff0edd26a550a436c7a04722df69109e8c0d2efffbb9811", kill_on_drop: false }` [INFO] [stdout] be109a309cddcef5bff0edd26a550a436c7a04722df69109e8c0d2efffbb9811 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e06aead0c8a8df88ea630176ce2ca3263756d4a28584093fb1836fb01e5b04b2 [INFO] running `Command { std: "docker" "start" "-a" "e06aead0c8a8df88ea630176ce2ca3263756d4a28584093fb1836fb01e5b04b2", kill_on_drop: false }` [INFO] [stderr] Compiling stoken v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/tokens/crypto/mod.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | encrypted_seed: decode(&token.token.seed[1..]).unwrap(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/tokens/crypto/mod.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | use base64::decode; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/tokens/crypto/mod.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | secret: base64::decode(&header.secret).unwrap(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/tokens/export.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | Some(base64::encode(&bytes)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/tokens/export.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | let bytes = base64::decode(&token).ok()?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/tokens/crypto/mod.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | encrypted_seed: decode(&token.token.seed[1..]).unwrap(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/tokens/crypto/mod.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | use base64::decode; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/tokens/crypto/mod.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | secret: base64::decode(&header.secret).unwrap(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/tokens/export.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | Some(base64::encode(&bytes)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/tokens/export.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | let bytes = base64::decode(&token).ok()?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stdout] --> src/tokens/generate.rs:167:33 [INFO] [stdout] | [INFO] [stdout] 167 | let time = FixedOffset::east(0).ymd(2019, 1, 13).and_hms(21, 19, 34); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/tokens/generate.rs:167:41 [INFO] [stdout] | [INFO] [stdout] 167 | let time = FixedOffset::east(0).ymd(2019, 1, 13).and_hms(21, 19, 34); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/tokens/generate.rs:167:58 [INFO] [stdout] | [INFO] [stdout] 167 | let time = FixedOffset::east(0).ymd(2019, 1, 13).and_hms(21, 19, 34); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "e06aead0c8a8df88ea630176ce2ca3263756d4a28584093fb1836fb01e5b04b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e06aead0c8a8df88ea630176ce2ca3263756d4a28584093fb1836fb01e5b04b2", kill_on_drop: false }` [INFO] [stdout] e06aead0c8a8df88ea630176ce2ca3263756d4a28584093fb1836fb01e5b04b2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c6414d5c2821417bdbad316ee74729397f75aaf24c6d335862d1bda0a92efb1e [INFO] running `Command { std: "docker" "start" "-a" "c6414d5c2821417bdbad316ee74729397f75aaf24c6d335862d1bda0a92efb1e", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> src/tokens/crypto/mod.rs:159:25 [INFO] [stderr] | [INFO] [stderr] 159 | encrypted_seed: decode(&token.token.seed[1..]).unwrap(), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> src/tokens/crypto/mod.rs:154:17 [INFO] [stderr] | [INFO] [stderr] 154 | use base64::decode; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> src/tokens/crypto/mod.rs:181:29 [INFO] [stderr] | [INFO] [stderr] 181 | secret: base64::decode(&header.secret).unwrap(), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> src/tokens/export.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | Some(base64::encode(&bytes)) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> src/tokens/export.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | let bytes = base64::decode(&token).ok()?; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `stoken` (lib) generated 5 warnings [INFO] [stderr] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stderr] --> src/tokens/generate.rs:167:33 [INFO] [stderr] | [INFO] [stderr] 167 | let time = FixedOffset::east(0).ymd(2019, 1, 13).and_hms(21, 19, 34); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/tokens/generate.rs:167:41 [INFO] [stderr] | [INFO] [stderr] 167 | let time = FixedOffset::east(0).ymd(2019, 1, 13).and_hms(21, 19, 34); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/tokens/generate.rs:167:58 [INFO] [stderr] | [INFO] [stderr] 167 | let time = FixedOffset::east(0).ymd(2019, 1, 13).and_hms(21, 19, 34); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `stoken` (lib test) generated 8 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stoken-362022ed9afb9339) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tokens::generate::bcd::tests::wiki ... ok [INFO] [stdout] test tokens::xml::tests::parse_xml_succeeds ... ok [INFO] [stdout] test tokens::generate::tests::generate_now ... ok [INFO] [stdout] test tokens::generate::tests::generate ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin.rs (/opt/rustwide/target/debug/deps/rstoken-b75c20919d368c7e) [INFO] [stderr] Doc-tests stoken [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c6414d5c2821417bdbad316ee74729397f75aaf24c6d335862d1bda0a92efb1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6414d5c2821417bdbad316ee74729397f75aaf24c6d335862d1bda0a92efb1e", kill_on_drop: false }` [INFO] [stdout] c6414d5c2821417bdbad316ee74729397f75aaf24c6d335862d1bda0a92efb1e