[INFO] fetching crate wd_tools 0.14.8... [INFO] testing wd_tools-0.14.8 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate wd_tools 0.14.8 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate wd_tools 0.14.8 [INFO] finished tweaking crates.io crate wd_tools 0.14.8 [INFO] tweaked toml for crates.io crate wd_tools 0.14.8 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wd_tools 0.14.8 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wd_tools 0.14.8 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83934a947241cbdbb551bd71533ecaf86b97831007b83d060c87f01486096493 [INFO] running `Command { std: "docker" "start" "-a" "83934a947241cbdbb551bd71533ecaf86b97831007b83d060c87f01486096493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83934a947241cbdbb551bd71533ecaf86b97831007b83d060c87f01486096493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83934a947241cbdbb551bd71533ecaf86b97831007b83d060c87f01486096493", kill_on_drop: false }` [INFO] [stdout] 83934a947241cbdbb551bd71533ecaf86b97831007b83d060c87f01486096493 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae351acc0c55bfe73e8637124c233c934293758050b17c4e48e8070cc8ec6ba2 [INFO] running `Command { std: "docker" "start" "-a" "ae351acc0c55bfe73e8637124c233c934293758050b17c4e48e8070cc8ec6ba2", kill_on_drop: false }` [INFO] [stderr] Compiling wd_tools v0.14.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "ae351acc0c55bfe73e8637124c233c934293758050b17c4e48e8070cc8ec6ba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae351acc0c55bfe73e8637124c233c934293758050b17c4e48e8070cc8ec6ba2", kill_on_drop: false }` [INFO] [stdout] ae351acc0c55bfe73e8637124c233c934293758050b17c4e48e8070cc8ec6ba2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a398d34e7796b190ddc473a483a8acf015e2f94ef60d9bee1e3336ce506b9580 [INFO] running `Command { std: "docker" "start" "-a" "a398d34e7796b190ddc473a483a8acf015e2f94ef60d9bee1e3336ce506b9580", kill_on_drop: false }` [INFO] [stderr] Compiling wd_tools v0.14.8 (/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" "a398d34e7796b190ddc473a483a8acf015e2f94ef60d9bee1e3336ce506b9580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a398d34e7796b190ddc473a483a8acf015e2f94ef60d9bee1e3336ce506b9580", kill_on_drop: false }` [INFO] [stdout] a398d34e7796b190ddc473a483a8acf015e2f94ef60d9bee1e3336ce506b9580