[INFO] fetching crate wd_tools 0.13.14... [INFO] checking wd_tools-0.13.14 against try#0c7fed2b7584d310ca8221267fa1b3bec4df427f for pr-133502-4 [INFO] extracting crate wd_tools 0.13.14 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate wd_tools 0.13.14 on toolchain 0c7fed2b7584d310ca8221267fa1b3bec4df427f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wd_tools 0.13.14 [INFO] finished tweaking crates.io crate wd_tools 0.13.14 [INFO] tweaked toml for crates.io crate wd_tools 0.13.14 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 211 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding lru v0.12.5 (available: v0.14.0) [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" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76ce0ea1404e7b7aa7245546336a6dbf41139441588a72c90b12b8177f5ddf62 [INFO] running `Command { std: "docker" "start" "-a" "76ce0ea1404e7b7aa7245546336a6dbf41139441588a72c90b12b8177f5ddf62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76ce0ea1404e7b7aa7245546336a6dbf41139441588a72c90b12b8177f5ddf62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76ce0ea1404e7b7aa7245546336a6dbf41139441588a72c90b12b8177f5ddf62", kill_on_drop: false }` [INFO] [stdout] 76ce0ea1404e7b7aa7245546336a6dbf41139441588a72c90b12b8177f5ddf62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f460fafe636bc5fc0dfa34c6e4d72c9f25091105eb7237fe78152f209bb94248 [INFO] running `Command { std: "docker" "start" "-a" "f460fafe636bc5fc0dfa34c6e4d72c9f25091105eb7237fe78152f209bb94248", kill_on_drop: false }` [INFO] [stderr] Checking wd_tools v0.13.14 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `super::common::EncodeHex` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use super::common::EncodeHex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `EncodeHex` in `common` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/common/mod.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub use hex::EncodeHex; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `hex` feature [INFO] [stdout] --> src/common/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "hex")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::coll` [INFO] [stdout] --> src/lib.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::coll::ByteMap; [INFO] [stdout] | ^^^^ could not find `coll` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub mod coll; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `coll` feature [INFO] [stdout] --> src/lib.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "coll")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::common::SimpleRegexMatch` [INFO] [stdout] --> src/lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use super::common::SimpleRegexMatch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SimpleRegexMatch` in `common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/lib.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | let uuid = uuid::v5(uuid::UuidV5Namespace::DNS, b"hello world"); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` 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 `sync` [INFO] [stdout] --> src/lib.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | let lkv = sync::Acl::new(0); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sync` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sync`, use `cargo add sync` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_hex` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | data.to_hex().as_str(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_vec` with a similar name [INFO] [stdout] | [INFO] [stdout] 49 - data.to_hex().as_str(), [INFO] [stdout] 49 + data.to_vec().as_str(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `base64_encode_url` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | let ciphertext = data.base64_encode_url().expect("base64_encode_url error"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `base64_encode_std` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | let ciphertext = data.base64_encode_std(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `md5` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | let md5 = data.md5().to_hex(); [INFO] [stdout] | ^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok` found for type `u8` in the current scope [INFO] [stdout] --> src/lib.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(data.ok(), Ok::(10), "test_pf ok"); [INFO] [stdout] | ^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `err` found for type `u8` in the current scope [INFO] [stdout] --> src/lib.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(data.err(), Err::<(), u8>(10), "test_pf err"); [INFO] [stdout] | ^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_box` found for type `u8` in the current scope [INFO] [stdout] --> src/lib.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(data.to_box(), Box::new(10), "test_pf box"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 99 - assert_eq!(data.to_box(), Box::new(10), "test_pf box"); [INFO] [stdout] 99 + assert_eq!(data.to_be(), Box::new(10), "test_pf box"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `arc` found for type `u8` in the current scope [INFO] [stdout] --> src/lib.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | assert_eq!(data.arc(), Arc::new(10), "test_pf arc"); [INFO] [stdout] | ^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `some` found for type `u8` in the current scope [INFO] [stdout] --> src/lib.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(data.some(), Some(10), "test_pf option"); [INFO] [stdout] | ^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ptr` [INFO] [stdout] --> src/lib.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | let des:i8 = ptr::unsafe_must_take(src); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `ptr` [INFO] [stdout] | help: a builtin type with a similar name exists: `str` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptr`, use `cargo add ptr` 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 `ptr` [INFO] [stdout] --> src/lib.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | let des:i8 = ptr::unsafe_must_downcast::<_, i8>(src); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `ptr` [INFO] [stdout] | help: a builtin type with a similar name exists: `str` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptr`, use `cargo add ptr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `snowflake_id` in this scope [INFO] [stdout] --> src/lib.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | let id = snowflake_id(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/lib.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | let uuid = uuid::v4(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` 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 `uuid` [INFO] [stdout] --> src/lib.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let uuid = uuid::v5(uuid::UuidV5Namespace::DNS, b"hello world"); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` 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 `time` [INFO] [stdout] --> src/lib.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | let ts = time::utc_timestamp(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `time`, use `cargo add time` 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 `time` [INFO] [stdout] --> src/lib.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | let mts = time::utc_timestamp_millis(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `regex` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | let vec = s.regex(re).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wd_tools` (lib test) due to 22 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f460fafe636bc5fc0dfa34c6e4d72c9f25091105eb7237fe78152f209bb94248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f460fafe636bc5fc0dfa34c6e4d72c9f25091105eb7237fe78152f209bb94248", kill_on_drop: false }` [INFO] [stdout] f460fafe636bc5fc0dfa34c6e4d72c9f25091105eb7237fe78152f209bb94248