[INFO] fetching crate sa-token-macro 0.1.4... [INFO] testing sa-token-macro-0.1.4 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate sa-token-macro 0.1.4 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate sa-token-macro 0.1.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate sa-token-macro 0.1.4 [INFO] tweaked toml for crates.io crate sa-token-macro 0.1.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sa-token-macro 0.1.4 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sa-token-macro 0.1.4 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4aba69c166ab987da1381084b406bc5df3c29fcb2133faec1a4cdde7ff81ecf [INFO] running `Command { std: "docker" "start" "-a" "d4aba69c166ab987da1381084b406bc5df3c29fcb2133faec1a4cdde7ff81ecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4aba69c166ab987da1381084b406bc5df3c29fcb2133faec1a4cdde7ff81ecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4aba69c166ab987da1381084b406bc5df3c29fcb2133faec1a4cdde7ff81ecf", kill_on_drop: false }` [INFO] [stdout] d4aba69c166ab987da1381084b406bc5df3c29fcb2133faec1a4cdde7ff81ecf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a532f5ed5d7dd3925bac3d745e156c6569791611d9dac0e3db64b46a01af45c7 [INFO] running `Command { std: "docker" "start" "-a" "a532f5ed5d7dd3925bac3d745e156c6569791611d9dac0e3db64b46a01af45c7", kill_on_drop: false }` [INFO] [stderr] Compiling sa-token-macro v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "a532f5ed5d7dd3925bac3d745e156c6569791611d9dac0e3db64b46a01af45c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a532f5ed5d7dd3925bac3d745e156c6569791611d9dac0e3db64b46a01af45c7", kill_on_drop: false }` [INFO] [stdout] a532f5ed5d7dd3925bac3d745e156c6569791611d9dac0e3db64b46a01af45c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6197685a6287d475f8cba0e4b9beb4ee0cdf616dd76b20543a2c53425f6af920 [INFO] running `Command { std: "docker" "start" "-a" "6197685a6287d475f8cba0e4b9beb4ee0cdf616dd76b20543a2c53425f6af920", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling sa-token-macro v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[sa_check_login] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_check_login` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_check_login` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `sa_check_login` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[sa_check_permission("user:read")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_check_permission` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_check_permission` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_check_permission` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[sa_check_permission("user:write")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_check_permission` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_check_permission` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_check_permission` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[sa_check_permission("user:delete")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_check_permission` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_check_permission` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_check_permission` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[sa_check_role("admin")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_check_role` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_check_role` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_check_role` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[sa_check_role("moderator")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_check_role` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_check_role` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_check_role` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[sa_check_permissions_and("user:read", "user:write")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_check_permissions_and` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_check_permissions_and` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_check_permissions_and` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[sa_check_permissions_or("admin:all", "super:all")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_check_permissions_or` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_check_permissions_or` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_check_permissions_or` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[sa_check_roles_and("admin", "super")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_check_roles_and` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_check_roles_and` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_check_roles_and` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | #[sa_check_roles_or("admin", "moderator")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_check_roles_or` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_check_roles_or` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_check_roles_or` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[sa_ignore] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_ignore` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_ignore` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_ignore` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | #[sa_ignore] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_ignore` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_ignore` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_ignore` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | #[sa_ignore] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_ignore` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_ignore` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_ignore` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[sa_ignore] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_ignore` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_ignore` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_ignore` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | #[sa_ignore] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_ignore` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_ignore` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_ignore` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | #[sa_check_login] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_check_login` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_check_login` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_check_login` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | #[sa_check_permission("user:update_profile")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_check_permission` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_check_permission` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_check_permission` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stdout] --> examples/basic_usage.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | #[sa_check_role("admin")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sa_check_role` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `sa_check_role` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `sa_check_role` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `about` is never used [INFO] [stdout] --> examples/basic_usage.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 84 | impl PublicController { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | async fn about() -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `status` is never used [INFO] [stdout] --> examples/basic_usage.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 99 | impl ApiController { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | async fn status() -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.50s [INFO] running `Command { std: "docker" "inspect" "6197685a6287d475f8cba0e4b9beb4ee0cdf616dd76b20543a2c53425f6af920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6197685a6287d475f8cba0e4b9beb4ee0cdf616dd76b20543a2c53425f6af920", kill_on_drop: false }` [INFO] [stdout] 6197685a6287d475f8cba0e4b9beb4ee0cdf616dd76b20543a2c53425f6af920 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e7f52f3ecbc04e2fa420e3d1cacf8906b7766df92657e337c2e0e08edd2c2ca [INFO] running `Command { std: "docker" "start" "-a" "6e7f52f3ecbc04e2fa420e3d1cacf8906b7766df92657e337c2e0e08edd2c2ca", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[sa_check_login] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_check_login` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_check_login` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `sa_check_login` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | #[sa_check_permission("user:read")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_check_permission` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_check_permission` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_check_permission` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | #[sa_check_permission("user:write")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_check_permission` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_check_permission` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_check_permission` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | #[sa_check_permission("user:delete")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_check_permission` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_check_permission` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_check_permission` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | #[sa_check_role("admin")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_check_role` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_check_role` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_check_role` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | #[sa_check_role("moderator")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_check_role` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_check_role` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_check_role` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | #[sa_check_permissions_and("user:read", "user:write")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_check_permissions_and` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_check_permissions_and` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_check_permissions_and` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | #[sa_check_permissions_or("admin:all", "super:all")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_check_permissions_or` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_check_permissions_or` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_check_permissions_or` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | #[sa_check_roles_and("admin", "super")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_check_roles_and` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_check_roles_and` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_check_roles_and` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:62:1 [INFO] [stderr] | [INFO] [stderr] 62 | #[sa_check_roles_or("admin", "moderator")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_check_roles_or` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_check_roles_or` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_check_roles_or` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:69:1 [INFO] [stderr] | [INFO] [stderr] 69 | #[sa_ignore] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_ignore` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_ignore` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_ignore` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:74:1 [INFO] [stderr] | [INFO] [stderr] 74 | #[sa_ignore] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_ignore` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_ignore` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_ignore` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:81:1 [INFO] [stderr] | [INFO] [stderr] 81 | #[sa_ignore] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_ignore` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_ignore` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_ignore` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | #[sa_ignore] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_ignore` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_ignore` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_ignore` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | #[sa_ignore] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_ignore` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_ignore` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_ignore` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | #[sa_check_login] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_check_login` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_check_login` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_check_login` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | #[sa_check_permission("user:update_profile")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_check_permission` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_check_permission` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_check_permission` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sa-token-metadata` [INFO] [stderr] --> examples/basic_usage.rs:133:5 [INFO] [stderr] | [INFO] [stderr] 133 | #[sa_check_role("admin")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `sa_check_role` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `sa_check_role` may come from an old version of the `sa_token_macro` crate, try updating your dependency with `cargo update -p sa_token_macro` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `sa_check_role` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function `about` is never used [INFO] [stderr] --> examples/basic_usage.rs:89:14 [INFO] [stderr] | [INFO] [stderr] 84 | impl PublicController { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 89 | async fn about() -> String { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `status` is never used [INFO] [stderr] --> examples/basic_usage.rs:104:14 [INFO] [stderr] | [INFO] [stderr] 99 | impl ApiController { [INFO] [stderr] | ------------------ associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 104 | async fn status() -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `sa-token-macro` (example "basic_usage") generated 20 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sa_token_macro-be58e879ebeb15f6) [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] [stderr] Doc-tests sa_token_macro [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/lib.rs - (line 15) ... ignored [INFO] [stdout] test src/macros/check_login.rs - macros::check_login::sa_check_login_impl (line 24) ... ignored [INFO] [stdout] test src/macros/check_permission.rs - macros::check_permission::sa_check_permission_impl (line 31) ... ignored [INFO] [stdout] test src/macros/check_permissions_and.rs - macros::check_permissions_and::sa_check_permissions_and_impl (line 16) ... ignored [INFO] [stdout] test src/macros/check_permissions_or.rs - macros::check_permissions_or::sa_check_permissions_or_impl (line 16) ... ignored [INFO] [stdout] test src/macros/check_role.rs - macros::check_role::sa_check_role_impl (line 20) ... ignored [INFO] [stdout] test src/macros/check_roles_and.rs - macros::check_roles_and::sa_check_roles_and_impl (line 16) ... ignored [INFO] [stdout] test src/macros/check_roles_or.rs - macros::check_roles_or::sa_check_roles_or_impl (line 16) ... ignored [INFO] [stdout] test src/macros/ignore.rs - macros::ignore::sa_ignore_impl (line 27) ... ignored [INFO] [stdout] test src/macros/ignore.rs - macros::ignore::sa_ignore_impl (line 43) ... ignored [INFO] [stdout] test src/macros/ignore.rs - macros::ignore::sa_ignore_impl (line 61) ... ignored [INFO] [stdout] test src/macros/ignore.rs - macros::ignore::sa_ignore_impl (line 78) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 12 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.43s; merged doctests compilation took 0.43s [INFO] running `Command { std: "docker" "inspect" "6e7f52f3ecbc04e2fa420e3d1cacf8906b7766df92657e337c2e0e08edd2c2ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7f52f3ecbc04e2fa420e3d1cacf8906b7766df92657e337c2e0e08edd2c2ca", kill_on_drop: false }` [INFO] [stdout] 6e7f52f3ecbc04e2fa420e3d1cacf8906b7766df92657e337c2e0e08edd2c2ca