[INFO] cloning repository https://github.com/Clyng57/art-spot-contracts
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Clyng57/art-spot-contracts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClyng57%2Fart-spot-contracts", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClyng57%2Fart-spot-contracts'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] da3b63a0e51b13d9e4e22cf7f0d6bc50caabb52d
[INFO] documenting Clyng57/art-spot-contracts against beta-2025-10-28 for beta-1.92-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClyng57%2Fart-spot-contracts" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/Clyng57/art-spot-contracts
[INFO] finished tweaking git repo https://github.com/Clyng57/art-spot-contracts
[INFO] tweaked toml for git repo https://github.com/Clyng57/art-spot-contracts written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Clyng57/art-spot-contracts 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 git repo https://github.com/Clyng57/art-spot-contracts 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d53f47ede9761bfafb1d9c356cf625071f71c2021b1ee82191033769c7e834f
[INFO] running `Command { std: "docker" "start" "-a" "9d53f47ede9761bfafb1d9c356cf625071f71c2021b1ee82191033769c7e834f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d53f47ede9761bfafb1d9c356cf625071f71c2021b1ee82191033769c7e834f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d53f47ede9761bfafb1d9c356cf625071f71c2021b1ee82191033769c7e834f", kill_on_drop: false }`
[INFO] [stdout] 9d53f47ede9761bfafb1d9c356cf625071f71c2021b1ee82191033769c7e834f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 68b57333318b9f25257d6db330db22eabd6a932eecfd0ddd2dd8ce56f1ceabce
[INFO] running `Command { std: "docker" "start" "-a" "68b57333318b9f25257d6db330db22eabd6a932eecfd0ddd2dd8ce56f1ceabce", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling borsh v1.5.1
[INFO] [stderr]    Compiling near-sdk-macros v5.1.0
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling strum v0.26.2
[INFO] [stderr]    Compiling toml_edit v0.21.1
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking near-sys v0.2.1
[INFO] [stderr]    Compiling syn v2.0.67
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking unicode-ident v1.0.12
[INFO] [stderr]    Compiling schemars v0.8.21
[INFO] [stderr]     Checking dyn-clone v1.0.17
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking ident_case v1.0.1
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking proc-macro2 v1.0.86
[INFO] [stderr]     Checking quote v1.0.36
[INFO] [stderr]    Compiling proc-macro-crate v3.1.0
[INFO] [stderr]     Checking darling_core v0.20.9
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling syn_derive v0.1.8
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling schemars_derive v0.8.21
[INFO] [stderr]    Compiling borsh-derive v1.5.1
[INFO] [stderr]    Compiling darling_macro v0.20.9
[INFO] [stderr]    Compiling darling v0.20.9
[INFO] [stderr]    Compiling as-macro v0.1.0 (/opt/rustwide/workdir/packages/as-macro)
[INFO] [stderr]  Documenting as-macro v0.1.0 (/opt/rustwide/workdir/packages/as-macro)
[INFO] [stdout] warning: function `log_duration_impl` is never used
[INFO] [stdout]   --> packages/as-macro/src/lib.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub(crate) fn log_duration_impl(_args: TokenStream, input: TokenStream) -> TokenStream {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking serde_json v1.0.117
[INFO] [stderr]     Checking near-account-id v1.0.0
[INFO] [stderr]     Checking near-gas v0.2.5
[INFO] [stderr]     Checking near-token v0.2.0
[INFO] [stderr]     Checking near-sdk v5.1.0
[INFO] [stderr]     Checking near-contract-standards v5.1.0
[INFO] [stderr]     Checking as-sdk v0.1.0 (/opt/rustwide/workdir/packages/as-sdk)
[INFO] [stderr]  Documenting as-sdk v0.1.0 (/opt/rustwide/workdir/packages/as-sdk)
[INFO] [stderr]  Documenting art-echo v0.1.0 (/opt/rustwide/workdir/packages/art-echo)
[INFO] [stdout] error[E0425]: cannot find function `unwrap` in module `utils`
[INFO] [stdout]   --> packages/as-sdk/src/id/eq.rs:15:35
[INFO] [stdout]    |
[INFO] [stdout] 15 |           self.as_str() == utils::unwrap(other.strip_suffix(Id::ARTSPOT_ID))
[INFO] [stdout]    |                                   ^^^^^^ not found in `utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `unwrap` in module `utils`
[INFO] [stdout]   --> packages/as-sdk/src/id/eq.rs:25:35
[INFO] [stdout]    |
[INFO] [stdout] 25 |           self.as_str() == utils::unwrap(other.strip_suffix(Id::ARTSPOT_ID))
[INFO] [stdout]    |                                   ^^^^^^ not found in `utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope
[INFO] [stdout]   --> packages/as-sdk/src/id/eq.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl PartialEq<AccountId> for Id {
[INFO] [stdout]    |                ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use near_sdk::AccountId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope
[INFO] [stdout]   --> packages/as-sdk/src/id/eq.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 |   fn eq(&self, other: &AccountId) -> bool {
[INFO] [stdout]    |                        ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use near_sdk::AccountId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope
[INFO] [stdout]   --> packages/as-sdk/src/id/eq.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl PartialEq<Id> for AccountId {
[INFO] [stdout]    |                        ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use near_sdk::AccountId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope
[INFO] [stdout]   --> packages/as-sdk/src/id/eq.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl PartialEq<AccountId> for Id {
[INFO] [stdout]    |                ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use near_sdk::AccountId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope
[INFO] [stdout]   --> packages/as-sdk/src/id/eq.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 |   fn eq(&self, other: &AccountId) -> bool {
[INFO] [stdout]    |                        ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use near_sdk::AccountId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope
[INFO] [stdout]   --> packages/as-sdk/src/id/eq.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl PartialEq<Id> for AccountId {
[INFO] [stdout]    |                        ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use near_sdk::AccountId;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `as-sdk`
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no function or associated item named `is_near_id` found for struct `id::Id` in the current scope
[INFO] [stdout]   --> packages/as-sdk/src/id/eq.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |       if Id::is_near_id(other) {
[INFO] [stdout]    |              ^^^^^^^^^^ function or associated item not found in `id::Id`
[INFO] [stdout]    |
[INFO] [stdout]   ::: packages/as-sdk/src/id/mod.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Id(pub(crate) Box<str>, pub(crate) IdType);
[INFO] [stdout]    | ------------- function or associated item `is_near_id` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `id::Id`, consider using `id::Id::new` which returns `id::Id`
[INFO] [stdout]   --> packages/as-sdk/src/id/mod.rs:96:3
[INFO] [stdout]    |
[INFO] [stdout] 96 |   pub fn new(id: impl Into<String>) -> Self {
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `is_valid` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 12 -       if Id::is_near_id(other) {
[INFO] [stdout] 12 +       if Id::is_valid(other) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `is_near_id` found for struct `id::Id` in the current scope
[INFO] [stdout]   --> packages/as-sdk/src/id/eq.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |       if Id::is_near_id(other) {
[INFO] [stdout]    |              ^^^^^^^^^^ function or associated item not found in `id::Id`
[INFO] [stdout]    |
[INFO] [stdout]   ::: packages/as-sdk/src/id/mod.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Id(pub(crate) Box<str>, pub(crate) IdType);
[INFO] [stdout]    | ------------- function or associated item `is_near_id` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `id::Id`, consider using `id::Id::new` which returns `id::Id`
[INFO] [stdout]   --> packages/as-sdk/src/id/mod.rs:96:3
[INFO] [stdout]    |
[INFO] [stdout] 96 |   pub fn new(id: impl Into<String>) -> Self {
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `is_valid` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 22 -       if Id::is_near_id(other) {
[INFO] [stdout] 22 +       if Id::is_valid(other) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `is_near_id` found for struct `id::Id` in the current scope
[INFO] [stdout]   --> packages/as-sdk/src/id/eq.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     if Id::is_near_id(other) {
[INFO] [stdout]    |            ^^^^^^^^^^ function or associated item not found in `id::Id`
[INFO] [stdout]    |
[INFO] [stdout]   ::: packages/as-sdk/src/id/mod.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Id(pub(crate) Box<str>, pub(crate) IdType);
[INFO] [stdout]    | ------------- function or associated item `is_near_id` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `id::Id`, consider using `id::Id::new` which returns `id::Id`
[INFO] [stdout]   --> packages/as-sdk/src/id/mod.rs:96:3
[INFO] [stdout]    |
[INFO] [stdout] 96 |   pub fn new(id: impl Into<String>) -> Self {
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `is_valid` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 32 -     if Id::is_near_id(other) {
[INFO] [stdout] 32 +     if Id::is_valid(other) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> packages/as-sdk/src/version/mod.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn from(version: Version) -> Self {
[INFO] [stdout]     |                                  ---- expected `std::string::String` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 118 |         version
[INFO] [stdout]     |         ^^^^^^^ expected `String`, found `Version`
[INFO] [stdout]     |
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 118 |         version.to_string()
[INFO] [stdout]     |                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing temporary value
[INFO] [stdout]   --> packages/as-sdk/src/version/mod.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         self.to_string().as_str()
[INFO] [stdout]    |         ----------------^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         returns a value referencing data owned by the current function
[INFO] [stdout]    |         temporary value created here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `bytes`
[INFO] [stdout]   --> packages/as-sdk/src/version/mod.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 |       bytes.as_slice()
[INFO] [stdout]    |       -----^^^^^^^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       returns a value referencing data owned by the current function
[INFO] [stdout]    |       `bytes` is borrowed here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `bytes`
[INFO] [stdout]    --> packages/as-sdk/src/version/mod.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |         bytes.as_slice()
[INFO] [stdout]     |         -----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         returns a value referencing data owned by the current function
[INFO] [stdout]     |         `bytes` is borrowed here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0515, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `as-sdk` (lib) due to 12 previous errors
[INFO] running `Command { std: "docker" "inspect" "68b57333318b9f25257d6db330db22eabd6a932eecfd0ddd2dd8ce56f1ceabce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68b57333318b9f25257d6db330db22eabd6a932eecfd0ddd2dd8ce56f1ceabce", kill_on_drop: false }`
[INFO] [stdout] 68b57333318b9f25257d6db330db22eabd6a932eecfd0ddd2dd8ce56f1ceabce
