[INFO] fetching crate sanitizer_macros 1.0.0... [INFO] testing sanitizer_macros-1.0.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate sanitizer_macros 1.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate sanitizer_macros 1.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sanitizer_macros 1.0.0 [INFO] tweaked toml for crates.io crate sanitizer_macros 1.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sanitizer_macros 1.0.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sanitizer_macros 1.0.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d781e0569a3d8433c3a2c7663b1adeeec1c03eae8bb7d6fc33b46dd8d8d1b55 [INFO] running `Command { std: "docker" "start" "-a" "8d781e0569a3d8433c3a2c7663b1adeeec1c03eae8bb7d6fc33b46dd8d8d1b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d781e0569a3d8433c3a2c7663b1adeeec1c03eae8bb7d6fc33b46dd8d8d1b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d781e0569a3d8433c3a2c7663b1adeeec1c03eae8bb7d6fc33b46dd8d8d1b55", kill_on_drop: false }` [INFO] [stdout] 8d781e0569a3d8433c3a2c7663b1adeeec1c03eae8bb7d6fc33b46dd8d8d1b55 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53b36349b7daf8ec02af82a314fd3bfe9ca05213af0d7fe8a84078340e3c7ee8 [INFO] running `Command { std: "docker" "start" "-a" "53b36349b7daf8ec02af82a314fd3bfe9ca05213af0d7fe8a84078340e3c7ee8", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sanitizer_macros v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.92s [INFO] running `Command { std: "docker" "inspect" "53b36349b7daf8ec02af82a314fd3bfe9ca05213af0d7fe8a84078340e3c7ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53b36349b7daf8ec02af82a314fd3bfe9ca05213af0d7fe8a84078340e3c7ee8", kill_on_drop: false }` [INFO] [stdout] 53b36349b7daf8ec02af82a314fd3bfe9ca05213af0d7fe8a84078340e3c7ee8 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad7aea3cfd5320f51c5feb9f030e9dc1926e1b2d7388880d417d72391cc2038c [INFO] running `Command { std: "docker" "start" "-a" "ad7aea3cfd5320f51c5feb9f030e9dc1926e1b2d7388880d417d72391cc2038c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling sanitizer_macros v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sanitizer` [INFO] [stdout] --> tests/custom_functions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sanitizer::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `sanitizer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sanitizer`, use `cargo add sanitizer` 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 `sanitizer` [INFO] [stdout] --> tests/option.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sanitizer::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `sanitizer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sanitizer`, use `cargo add sanitizer` 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 `sanitizer` [INFO] [stdout] --> tests/struct.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sanitizer::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `sanitizer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sanitizer`, use `cargo add sanitizer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Sanitizer` in this scope [INFO] [stdout] --> tests/custom_functions.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Sanitizer)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use sanitizer_macros::Sanitizer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Sanitizer` in this scope [INFO] [stdout] --> tests/struct.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Sanitizer)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use sanitizer_macros::Sanitizer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/custom_functions.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[sanitizer(custom(func_int))] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/struct.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[sanitizer(trim)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/custom_functions.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[sanitizer(custom(func_string))] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/struct.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[sanitizer(numeric)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/struct.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[sanitizer(alphanumeric)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/struct.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[sanitizer(lower_case)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/struct.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[sanitizer(upper_case)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/struct.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[sanitizer(camel_case)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/struct.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[sanitizer(snake_case)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sanitizer` [INFO] [stdout] --> tests/enums.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sanitizer::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `sanitizer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sanitizer`, use `cargo add sanitizer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/struct.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[sanitizer(screaming_snake_case)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntSanitizer` [INFO] [stdout] --> tests/custom_functions.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | let mut sanitizer = IntSanitizer::from(field); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `IntSanitizer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/struct.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[sanitizer(kebab_case)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StringSanitizer` [INFO] [stdout] --> tests/custom_functions.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let mut sanitizer = StringSanitizer::from(field); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `StringSanitizer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/struct.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[sanitizer(screaming_kebab_case)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/struct.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[sanitizer(clamp(10))] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/struct.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[sanitizer(clamp(10, 50))] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/struct.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[sanitizer(e164)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/struct.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[sanitizer(trim, screaming_snake_case)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Sanitizer` in this scope [INFO] [stdout] --> tests/enums.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Sanitizer)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use sanitizer_macros::Sanitizer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/enums.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[sanitizer(clamp(10, 50))] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/enums.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[sanitizer(trim)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Sanitizer` in this scope [INFO] [stdout] --> tests/option.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Sanitizer, Default)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use sanitizer_macros::Sanitizer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sanitize` found for struct `SanitizerTest` in the current scope [INFO] [stdout] --> tests/custom_functions.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 4 | struct SanitizerTest { [INFO] [stdout] | -------------------- method `sanitize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | instance.sanitize(); [INFO] [stdout] | ^^^^^^^^ method not found in `SanitizerTest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/option.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[sanitizer(trim)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/option.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[sanitizer(trim)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sanitize` found for struct `SanitizerTest` in the current scope [INFO] [stdout] --> tests/struct.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 4 | struct SanitizerTest { [INFO] [stdout] | -------------------- method `sanitize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 53 | instance.sanitize(); [INFO] [stdout] | ^^^^^^^^ method not found in `SanitizerTest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sanitize` found for enum `EnumTest` in the current scope [INFO] [stdout] --> tests/enums.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 3 | enum EnumTest { [INFO] [stdout] | ------------- method `sanitize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 14 | instance.sanitize(); [INFO] [stdout] | ^^^^^^^^ method not found in `EnumTest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sanitize` found for enum `EnumTest` in the current scope [INFO] [stdout] --> tests/enums.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 3 | enum EnumTest { [INFO] [stdout] | ------------- method `sanitize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 15 | string_instance.sanitize(); [INFO] [stdout] | ^^^^^^^^ method not found in `EnumTest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/option.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[sanitizer(clamp(1, 18))] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/option.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[sanitizer(trim)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/option.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[sanitizer(trim)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sanitizer_macros` (test "struct") due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sanitizer_macros` (test "custom_functions") due to 7 previous errors [INFO] [stdout] error[E0599]: no method named `sanitize` found for struct `First` in the current scope [INFO] [stdout] --> tests/option.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 4 | struct First { [INFO] [stdout] | ------------ method `sanitize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 34 | instance.sanitize(); [INFO] [stdout] | ^^^^^^^^ method not found in `First` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sanitizer_macros` (test "enums") due to 6 previous errors [INFO] [stderr] error: could not compile `sanitizer_macros` (test "option") due to 8 previous errors [INFO] [stderr] error: could not compile `sanitizer_macros` (test "nested_macro") due to 15 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sanitizer` [INFO] [stdout] --> tests/nested_macro.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sanitizer::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `sanitizer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sanitizer`, use `cargo add sanitizer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Sanitizer` in this scope [INFO] [stdout] --> tests/nested_macro.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Sanitizer)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use sanitizer_macros::Sanitizer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/nested_macro.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[sanitizer(trim)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/nested_macro.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[sanitizer] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Sanitizer` in this scope [INFO] [stdout] --> tests/nested_macro.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Sanitizer)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use sanitizer_macros::Sanitizer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/nested_macro.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[sanitizer(numeric)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/nested_macro.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[sanitizer(lower_case, trim)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Sanitizer` in this scope [INFO] [stdout] --> tests/nested_macro.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Sanitizer)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use sanitizer_macros::Sanitizer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/nested_macro.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[sanitizer] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Sanitizer` in this scope [INFO] [stdout] --> tests/nested_macro.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Sanitizer)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use sanitizer_macros::Sanitizer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sanitizer` in this scope [INFO] [stdout] --> tests/nested_macro.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[sanitizer(trim)] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `sanitize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sanitize` found for struct `First` in the current scope [INFO] [stdout] --> tests/nested_macro.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 4 | struct First { [INFO] [stdout] | ------------ method `sanitize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 51 | first_instance.sanitize(); [INFO] [stdout] | ^^^^^^^^ method not found in `First` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sanitize` found for struct `OtherInfo` in the current scope [INFO] [stdout] --> tests/nested_macro.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 12 | struct OtherInfo { [INFO] [stdout] | ---------------- method `sanitize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 60 | other_info.sanitize(); [INFO] [stdout] | ^^^^^^^^ method not found in `OtherInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sanitize` found for enum `FirstEnum` in the current scope [INFO] [stdout] --> tests/nested_macro.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 21 | enum FirstEnum { [INFO] [stdout] | -------------- method `sanitize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 69 | first_instance.sanitize(); [INFO] [stdout] | ^^^^^^^^ method not found in `FirstEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sanitize` found for enum `OtherEnum` in the current scope [INFO] [stdout] --> tests/nested_macro.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 29 | enum OtherEnum { [INFO] [stdout] | -------------- method `sanitize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 84 | other_info.sanitize(); [INFO] [stdout] | ^^^^^^^^ method not found in `OtherEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ad7aea3cfd5320f51c5feb9f030e9dc1926e1b2d7388880d417d72391cc2038c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad7aea3cfd5320f51c5feb9f030e9dc1926e1b2d7388880d417d72391cc2038c", kill_on_drop: false }` [INFO] [stdout] ad7aea3cfd5320f51c5feb9f030e9dc1926e1b2d7388880d417d72391cc2038c