[INFO] fetching crate wd_tools 0.14.6... [INFO] testing wd_tools-0.14.6 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate wd_tools 0.14.6 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate wd_tools 0.14.6 [INFO] finished tweaking crates.io crate wd_tools 0.14.6 [INFO] tweaked toml for crates.io crate wd_tools 0.14.6 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wd_tools 0.14.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] crate crates.io crate wd_tools 0.14.6 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 wd_sonyflake v0.0.1 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.92 [INFO] [stderr] Downloaded async-trait v0.1.79 [INFO] [stderr] Downloaded lru v0.12.1 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.92 [INFO] [stderr] Downloaded cxx v1.0.92 [INFO] [stderr] Downloaded cxx-build v1.0.92 [INFO] [stderr] Downloaded reqwest v0.12.3 [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] 6fc96f716bec10e06ff534f516d51d50f0e204067c0322e9bc5c1192bcd6ee26 [INFO] running `Command { std: "docker" "start" "-a" "6fc96f716bec10e06ff534f516d51d50f0e204067c0322e9bc5c1192bcd6ee26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fc96f716bec10e06ff534f516d51d50f0e204067c0322e9bc5c1192bcd6ee26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc96f716bec10e06ff534f516d51d50f0e204067c0322e9bc5c1192bcd6ee26", kill_on_drop: false }` [INFO] [stdout] 6fc96f716bec10e06ff534f516d51d50f0e204067c0322e9bc5c1192bcd6ee26 [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] 5573e0b1b7ace4efb16477cb44fe54a8f1627c4ce74e72414aa32ea0a4ee0dcb [INFO] running `Command { std: "docker" "start" "-a" "5573e0b1b7ace4efb16477cb44fe54a8f1627c4ce74e72414aa32ea0a4ee0dcb", kill_on_drop: false }` [INFO] [stderr] Compiling wd_tools v0.14.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "5573e0b1b7ace4efb16477cb44fe54a8f1627c4ce74e72414aa32ea0a4ee0dcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5573e0b1b7ace4efb16477cb44fe54a8f1627c4ce74e72414aa32ea0a4ee0dcb", kill_on_drop: false }` [INFO] [stdout] 5573e0b1b7ace4efb16477cb44fe54a8f1627c4ce74e72414aa32ea0a4ee0dcb [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] 5fca50c59d1158f7bfd3adc375b7d4668342a2d1da83d132eddb28fc9ab5b18b [INFO] running `Command { std: "docker" "start" "-a" "5fca50c59d1158f7bfd3adc375b7d4668342a2d1da83d132eddb28fc9ab5b18b", kill_on_drop: false }` [INFO] [stderr] Compiling wd_tools v0.14.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `super::common::EncodeHex` [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | 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] 24 | #[cfg(feature = "hex")] [INFO] [stdout] | --------------- the item is gated behind the `hex` feature [INFO] [stdout] 25 | pub use hex::EncodeHex; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::common::SimpleRegexMatch` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use super::common::SimpleRegexMatch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SimpleRegexMatch` in `common` [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] 23 | #[cfg(feature = "coll")] [INFO] [stdout] | ---------------- the item is gated behind the `coll` feature [INFO] [stdout] 24 | pub mod coll; [INFO] [stdout] | ^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "sync")] [INFO] [stdout] | ---------------- the item is gated behind the `sync` feature [INFO] [stdout] 12 | pub mod sync; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: to make use of source file src/sync/mod.rs, use `mod sync` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1 + mod sync; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) 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:23 [INFO] [stdout] | [INFO] [stdout] 107 | let des: i8 = ptr::unsafe_must_take(src); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ptr` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "ptr")] [INFO] [stdout] | --------------- the item is gated behind the `ptr` feature [INFO] [stdout] 6 | pub mod ptr; [INFO] [stdout] | ^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 107 - let des: i8 = ptr::unsafe_must_take(src); [INFO] [stdout] 107 + let des: i8 = str::unsafe_must_take(src); [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/ptr/mod.rs, use `mod ptr` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1 + mod ptr; [INFO] [stdout] | [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:23 [INFO] [stdout] | [INFO] [stdout] 110 | let des: i8 = ptr::unsafe_must_downcast::<_, i8>(src); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ptr` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "ptr")] [INFO] [stdout] | --------------- the item is gated behind the `ptr` feature [INFO] [stdout] 6 | pub mod ptr; [INFO] [stdout] | ^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 110 - let des: i8 = ptr::unsafe_must_downcast::<_, i8>(src); [INFO] [stdout] 110 + let des: i8 = str::unsafe_must_downcast::<_, i8>(src); [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/ptr/mod.rs, use `mod ptr` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1 + mod ptr; [INFO] [stdout] | [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] note: found an item that was configured out [INFO] [stdout] --> src/id_generator/mod.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "snowflake")] [INFO] [stdout] | --------------------- the item is gated behind the `snowflake` feature [INFO] [stdout] 8 | pub use snowflake::snowflake_id; [INFO] [stdout] | ^^^^^^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "time")] [INFO] [stdout] | ---------------- the item is gated behind the `time` feature [INFO] [stdout] 9 | pub mod time; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: to make use of source file src/time/mod.rs, use `mod time` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1 + mod time; [INFO] [stdout] | [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] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "time")] [INFO] [stdout] | ---------------- the item is gated behind the `time` feature [INFO] [stdout] 9 | pub mod time; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: to make use of source file src/time/mod.rs, use `mod time` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1 + mod time; [INFO] [stdout] | [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" "5fca50c59d1158f7bfd3adc375b7d4668342a2d1da83d132eddb28fc9ab5b18b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fca50c59d1158f7bfd3adc375b7d4668342a2d1da83d132eddb28fc9ab5b18b", kill_on_drop: false }` [INFO] [stdout] 5fca50c59d1158f7bfd3adc375b7d4668342a2d1da83d132eddb28fc9ab5b18b