[INFO] cloning repository https://github.com/SahityaRoy/nft-soroban [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SahityaRoy/nft-soroban" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSahityaRoy%2Fnft-soroban", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSahityaRoy%2Fnft-soroban'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a610113ca1ebf182e700bebc9ceed07605df7543 [INFO] testing SahityaRoy/nft-soroban against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSahityaRoy%2Fnft-soroban" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SahityaRoy/nft-soroban [INFO] finished tweaking git repo https://github.com/SahityaRoy/nft-soroban [INFO] tweaked toml for git repo https://github.com/SahityaRoy/nft-soroban written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SahityaRoy/nft-soroban on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SahityaRoy/nft-soroban already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stellar-strkey v0.0.6 [INFO] [stderr] Downloaded soroban-spec v0.4.3 [INFO] [stderr] Downloaded soroban-sdk-macros v0.4.3 [INFO] [stderr] Downloaded soroban-sdk v0.4.3 [INFO] [stderr] Downloaded crate-git-revision v0.0.4 [INFO] [stderr] Downloaded soroban-env-guest v0.0.12 [INFO] [stderr] Downloaded soroban-native-sdk-macros v0.0.12 [INFO] [stderr] Downloaded soroban-env-common v0.0.12 [INFO] [stderr] Downloaded soroban-auth v0.4.3 [INFO] [stderr] Downloaded bytes-lit v0.0.4 [INFO] [stderr] Downloaded soroban-wasmi_core v0.16.0-soroban2 [INFO] [stderr] Downloaded wasmparser-nostd v0.90.0 [INFO] [stderr] Downloaded soroban-wasmi v0.16.0-soroban2 [INFO] [stderr] Downloaded soroban-env-host v0.0.12 [INFO] [stderr] Downloaded stellar-xdr v0.0.12 [INFO] [stderr] Downloaded soroban-env-macros v0.0.12 [INFO] [stderr] Downloaded soroban-ledger-snapshot v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5ddcf4917e35ffd282d9a59d10c5e860cb39d1bd854503b864432c384f45e66 [INFO] running `Command { std: "docker" "start" "-a" "d5ddcf4917e35ffd282d9a59d10c5e860cb39d1bd854503b864432c384f45e66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5ddcf4917e35ffd282d9a59d10c5e860cb39d1bd854503b864432c384f45e66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5ddcf4917e35ffd282d9a59d10c5e860cb39d1bd854503b864432c384f45e66", kill_on_drop: false }` [INFO] [stdout] d5ddcf4917e35ffd282d9a59d10c5e860cb39d1bd854503b864432c384f45e66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2052ae8c0ef66ddc6ead81754fe004565e70e7bcea326dbfda2d1ecfad36266b [INFO] running `Command { std: "docker" "start" "-a" "2052ae8c0ef66ddc6ead81754fe004565e70e7bcea326dbfda2d1ecfad36266b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling serde v1.0.175 [INFO] [stderr] Compiling serde_derive v1.0.175 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling indexmap-nostd v0.4.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling wasmparser-nostd v0.90.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling object v0.31.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling wasmparser v0.88.0 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling dyn-fmt v0.3.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling addr2line v0.20.0 [INFO] [stderr] Compiling soroban-wasmi_core v0.16.0-soroban2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling soroban-wasmi v0.16.0-soroban2 [INFO] [stderr] Compiling crate-git-revision v0.0.4 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling stellar-xdr v0.0.12 [INFO] [stderr] Compiling soroban-env-common v0.0.12 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling soroban-native-sdk-macros v0.0.12 [INFO] [stderr] Compiling bytes-lit v0.0.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling stellar-strkey v0.0.6 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling soroban-spec v0.4.3 [INFO] [stderr] Compiling soroban-env-macros v0.0.12 [INFO] [stderr] Compiling soroban-sdk-macros v0.4.3 [INFO] [stderr] Compiling soroban-env-host v0.0.12 [INFO] [stderr] Compiling soroban-ledger-snapshot v0.4.3 [INFO] [stderr] Compiling soroban-sdk v0.4.3 [INFO] [stderr] Compiling soroban-auth v0.4.3 [INFO] [stderr] Compiling soroban-nft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/contract.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[contractimpl] [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 `contractimpl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contractimpl` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [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 `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/contract.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[contractimpl] [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 `soroban_sdk::contractclient` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `soroban_sdk::contractclient` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/storage_types.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `contracttype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/storage_types.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `contracttype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/storage_types.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `contracttype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_administrator` is never used [INFO] [stdout] --> src/admin.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn has_administrator(env: &Env) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_administrator` is never used [INFO] [stdout] --> src/admin.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn read_administrator(env: &Env) -> Identifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_administrator` is never used [INFO] [stdout] --> src/admin.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn write_administrator(env: &Env, id: Identifier) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_admin` is never used [INFO] [stdout] --> src/admin.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn check_admin(env: &Env, auth: &Signature) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_approval` is never used [INFO] [stdout] --> src/approval.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn read_approval(env: &Env, id: i128) -> Identifier { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_approval_all` is never used [INFO] [stdout] --> src/approval.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_approval_all(env: &Env, owner: Identifier, operator: Identifier) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_approval` is never used [INFO] [stdout] --> src/approval.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn write_approval(env: &Env, id: i128, operator: Identifier) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_approval_all` is never used [INFO] [stdout] --> src/approval.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn write_approval_all(env: &Env, owner: Identifier, operator: Identifier, approved: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_balance` is never used [INFO] [stdout] --> src/balance.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_balance(env: &Env, owner: Identifier) -> i128 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_balance` is never used [INFO] [stdout] --> src/balance.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn write_balance(env: &Env, owner: Identifier, write_type: WriteType) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_supply` is never used [INFO] [stdout] --> src/balance.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn read_supply(env: &Env) -> i128 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increment_supply` is never used [INFO] [stdout] --> src/balance.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn increment_supply(env: &Env) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_minted` is never used [INFO] [stdout] --> src/balance.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read_minted(env: &Env, owner: Identifier) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_minted` is never used [INFO] [stdout] --> src/balance.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn write_minted(env: &Env, owner: Identifier) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_minted` is never used [INFO] [stdout] --> src/balance.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn check_minted(env: &Env, owner: Identifier) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NonFungibleToken` is never constructed [INFO] [stdout] --> src/contract.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct NonFungibleToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_nonce` is never used [INFO] [stdout] --> src/contract.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn read_nonce(env: &Env, id: &Identifier) -> i128 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_and_consume_nonce` is never used [INFO] [stdout] --> src/contract.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn verify_and_consume_nonce(env: &Env, auth: &Signature, expected_nonce: i128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transfer` is never used [INFO] [stdout] --> src/event.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn transfer(e: &Env, from: Identifier, to: Identifier, id: i128) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_admin` is never used [INFO] [stdout] --> src/event.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn set_admin(e: &Env, admin: Identifier, new_admin: Identifier) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mint` is never used [INFO] [stdout] --> src/event.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn mint(e: &Env, to: Identifier, id: i128) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `burn` is never used [INFO] [stdout] --> src/event.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn burn(e: &Env, from: Identifier, id: i128) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `approve` is never used [INFO] [stdout] --> src/event.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn approve(e: &Env, operator: Identifier, id: i128) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `approve_all` is never used [INFO] [stdout] --> src/event.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn approve_all(e: &Env, operator: Identifier, owner: Identifier) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NonFungibleTokenTrait` is never used [INFO] [stdout] --> src/interface.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait NonFungibleTokenTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WriteType` is never used [INFO] [stdout] --> src/interface.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | pub enum WriteType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_name` is never used [INFO] [stdout] --> src/metadata.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read_name(env: &Env) -> Bytes { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_name` is never used [INFO] [stdout] --> src/metadata.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn write_name(env: &Env, name: Bytes) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_symbol` is never used [INFO] [stdout] --> src/metadata.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read_symbol(env: &Env) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_symbol` is never used [INFO] [stdout] --> src/metadata.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn write_symbol(env: &Env, symbol: Bytes) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_token_uri` is never used [INFO] [stdout] --> src/metadata.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn read_token_uri(env: &Env, id: i128) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_token_uri` is never used [INFO] [stdout] --> src/metadata.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn write_token_uri(env: &Env, id: i128, uri: Bytes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zero_address` is never used [INFO] [stdout] --> src/owner.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn zero_address(env: &Env) -> Identifier { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_owner` is never used [INFO] [stdout] --> src/owner.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn read_owner(env: &Env, id: i128) -> Identifier { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_owner` is never used [INFO] [stdout] --> src/owner.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn write_owner(env: &Env, id: i128, owner: Identifier) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_owner` is never used [INFO] [stdout] --> src/owner.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn check_owner(env: &Env, auth: &Identifier, id: i128) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "2052ae8c0ef66ddc6ead81754fe004565e70e7bcea326dbfda2d1ecfad36266b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2052ae8c0ef66ddc6ead81754fe004565e70e7bcea326dbfda2d1ecfad36266b", kill_on_drop: false }` [INFO] [stdout] 2052ae8c0ef66ddc6ead81754fe004565e70e7bcea326dbfda2d1ecfad36266b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51d0ea4211361c2e0b105a7aca77f90ffb2046680132f67609b8c0f22c53afcf [INFO] running `Command { std: "docker" "start" "-a" "51d0ea4211361c2e0b105a7aca77f90ffb2046680132f67609b8c0f22c53afcf", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling soroban-env-host v0.0.12 [INFO] [stderr] Compiling soroban-ledger-snapshot v0.4.3 [INFO] [stderr] Compiling soroban-sdk v0.4.3 [INFO] [stderr] Compiling soroban-auth v0.4.3 [INFO] [stderr] Compiling soroban-nft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/contract.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[contractimpl] [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 `contractimpl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contractimpl` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [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 `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/contract.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[contractimpl] [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 `soroban_sdk::contractclient` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `soroban_sdk::contractclient` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/storage_types.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `contracttype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/storage_types.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `contracttype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testutils` [INFO] [stdout] --> src/storage_types.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `contracttype` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `contracttype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_administrator` is never used [INFO] [stdout] --> src/admin.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn has_administrator(env: &Env) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_administrator` is never used [INFO] [stdout] --> src/admin.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn read_administrator(env: &Env) -> Identifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_administrator` is never used [INFO] [stdout] --> src/admin.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn write_administrator(env: &Env, id: Identifier) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_admin` is never used [INFO] [stdout] --> src/admin.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn check_admin(env: &Env, auth: &Signature) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_approval` is never used [INFO] [stdout] --> src/approval.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn read_approval(env: &Env, id: i128) -> Identifier { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_approval_all` is never used [INFO] [stdout] --> src/approval.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_approval_all(env: &Env, owner: Identifier, operator: Identifier) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_approval` is never used [INFO] [stdout] --> src/approval.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn write_approval(env: &Env, id: i128, operator: Identifier) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_approval_all` is never used [INFO] [stdout] --> src/approval.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn write_approval_all(env: &Env, owner: Identifier, operator: Identifier, approved: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_balance` is never used [INFO] [stdout] --> src/balance.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_balance(env: &Env, owner: Identifier) -> i128 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_balance` is never used [INFO] [stdout] --> src/balance.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn write_balance(env: &Env, owner: Identifier, write_type: WriteType) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_supply` is never used [INFO] [stdout] --> src/balance.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn read_supply(env: &Env) -> i128 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increment_supply` is never used [INFO] [stdout] --> src/balance.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn increment_supply(env: &Env) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_minted` is never used [INFO] [stdout] --> src/balance.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read_minted(env: &Env, owner: Identifier) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_minted` is never used [INFO] [stdout] --> src/balance.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn write_minted(env: &Env, owner: Identifier) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_minted` is never used [INFO] [stdout] --> src/balance.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn check_minted(env: &Env, owner: Identifier) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NonFungibleToken` is never constructed [INFO] [stdout] --> src/contract.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct NonFungibleToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_nonce` is never used [INFO] [stdout] --> src/contract.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn read_nonce(env: &Env, id: &Identifier) -> i128 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_and_consume_nonce` is never used [INFO] [stdout] --> src/contract.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn verify_and_consume_nonce(env: &Env, auth: &Signature, expected_nonce: i128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transfer` is never used [INFO] [stdout] --> src/event.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn transfer(e: &Env, from: Identifier, to: Identifier, id: i128) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_admin` is never used [INFO] [stdout] --> src/event.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn set_admin(e: &Env, admin: Identifier, new_admin: Identifier) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mint` is never used [INFO] [stdout] --> src/event.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn mint(e: &Env, to: Identifier, id: i128) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `burn` is never used [INFO] [stdout] --> src/event.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn burn(e: &Env, from: Identifier, id: i128) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `approve` is never used [INFO] [stdout] --> src/event.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn approve(e: &Env, operator: Identifier, id: i128) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `approve_all` is never used [INFO] [stdout] --> src/event.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn approve_all(e: &Env, operator: Identifier, owner: Identifier) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NonFungibleTokenTrait` is never used [INFO] [stdout] --> src/interface.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait NonFungibleTokenTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WriteType` is never used [INFO] [stdout] --> src/interface.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | pub enum WriteType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_name` is never used [INFO] [stdout] --> src/metadata.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read_name(env: &Env) -> Bytes { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_name` is never used [INFO] [stdout] --> src/metadata.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn write_name(env: &Env, name: Bytes) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_symbol` is never used [INFO] [stdout] --> src/metadata.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read_symbol(env: &Env) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_symbol` is never used [INFO] [stdout] --> src/metadata.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn write_symbol(env: &Env, symbol: Bytes) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_token_uri` is never used [INFO] [stdout] --> src/metadata.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn read_token_uri(env: &Env, id: i128) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_token_uri` is never used [INFO] [stdout] --> src/metadata.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn write_token_uri(env: &Env, id: i128, uri: Bytes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zero_address` is never used [INFO] [stdout] --> src/owner.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn zero_address(env: &Env) -> Identifier { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_owner` is never used [INFO] [stdout] --> src/owner.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn read_owner(env: &Env, id: i128) -> Identifier { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_owner` is never used [INFO] [stdout] --> src/owner.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn write_owner(env: &Env, id: i128, owner: Identifier) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_owner` is never used [INFO] [stdout] --> src/owner.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn check_owner(env: &Env, auth: &Identifier, id: i128) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.85s [INFO] running `Command { std: "docker" "inspect" "51d0ea4211361c2e0b105a7aca77f90ffb2046680132f67609b8c0f22c53afcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51d0ea4211361c2e0b105a7aca77f90ffb2046680132f67609b8c0f22c53afcf", kill_on_drop: false }` [INFO] [stdout] 51d0ea4211361c2e0b105a7aca77f90ffb2046680132f67609b8c0f22c53afcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] caa56134b48023abcd8bf02d419532e72d8e6282c762c8444fa638035cb04a7c [INFO] running `Command { std: "docker" "start" "-a" "caa56134b48023abcd8bf02d419532e72d8e6282c762c8444fa638035cb04a7c", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `testutils` [INFO] [stderr] --> src/contract.rs:44:1 [INFO] [stderr] | [INFO] [stderr] 44 | #[contractimpl] [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 `contractimpl` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `contractimpl` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [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 `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `testutils` [INFO] [stderr] --> src/contract.rs:44:1 [INFO] [stderr] | [INFO] [stderr] 44 | #[contractimpl] [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 `soroban_sdk::contractclient` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `soroban_sdk::contractclient` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `testutils` [INFO] [stderr] --> src/storage_types.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `contracttype` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `contracttype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `testutils` [INFO] [stderr] --> src/storage_types.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `contracttype` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `contracttype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `testutils` [INFO] [stderr] --> src/storage_types.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[contracttype] [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 `contracttype` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `contracttype` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `contracttype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `has_administrator` is never used [INFO] [stderr] --> src/admin.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn has_administrator(env: &Env) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `read_administrator` is never used [INFO] [stderr] --> src/admin.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn read_administrator(env: &Env) -> Identifier { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_administrator` is never used [INFO] [stderr] --> src/admin.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn write_administrator(env: &Env, id: Identifier) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_admin` is never used [INFO] [stderr] --> src/admin.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn check_admin(env: &Env, auth: &Signature) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_approval` is never used [INFO] [stderr] --> src/approval.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn read_approval(env: &Env, id: i128) -> Identifier { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_approval_all` is never used [INFO] [stderr] --> src/approval.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn read_approval_all(env: &Env, owner: Identifier, operator: Identifier) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_approval` is never used [INFO] [stderr] --> src/approval.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn write_approval(env: &Env, id: i128, operator: Identifier) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_approval_all` is never used [INFO] [stderr] --> src/approval.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn write_approval_all(env: &Env, owner: Identifier, operator: Identifier, approved: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_balance` is never used [INFO] [stderr] --> src/balance.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn read_balance(env: &Env, owner: Identifier) -> i128 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_balance` is never used [INFO] [stderr] --> src/balance.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn write_balance(env: &Env, owner: Identifier, write_type: WriteType) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_supply` is never used [INFO] [stderr] --> src/balance.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn read_supply(env: &Env) -> i128 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `increment_supply` is never used [INFO] [stderr] --> src/balance.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn increment_supply(env: &Env) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_minted` is never used [INFO] [stderr] --> src/balance.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn read_minted(env: &Env, owner: Identifier) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_minted` is never used [INFO] [stderr] --> src/balance.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn write_minted(env: &Env, owner: Identifier) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_minted` is never used [INFO] [stderr] --> src/balance.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn check_minted(env: &Env, owner: Identifier) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NonFungibleToken` is never constructed [INFO] [stderr] --> src/contract.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct NonFungibleToken; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_nonce` is never used [INFO] [stderr] --> src/contract.rs:19:4 [INFO] [stderr] | [INFO] [stderr] 19 | fn read_nonce(env: &Env, id: &Identifier) -> i128 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `verify_and_consume_nonce` is never used [INFO] [stderr] --> src/contract.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | fn verify_and_consume_nonce(env: &Env, auth: &Signature, expected_nonce: i128) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `transfer` is never used [INFO] [stderr] --> src/event.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | pub(crate) fn transfer(e: &Env, from: Identifier, to: Identifier, id: i128) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `set_admin` is never used [INFO] [stderr] --> src/event.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | pub(crate) fn set_admin(e: &Env, admin: Identifier, new_admin: Identifier) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `mint` is never used [INFO] [stderr] --> src/event.rs:14:15 [INFO] [stderr] | [INFO] [stderr] 14 | pub(crate) fn mint(e: &Env, to: Identifier, id: i128) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `burn` is never used [INFO] [stderr] --> src/event.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | pub(crate) fn burn(e: &Env, from: Identifier, id: i128) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `approve` is never used [INFO] [stderr] --> src/event.rs:24:15 [INFO] [stderr] | [INFO] [stderr] 24 | pub(crate) fn approve(e: &Env, operator: Identifier, id: i128) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `approve_all` is never used [INFO] [stderr] --> src/event.rs:29:15 [INFO] [stderr] | [INFO] [stderr] 29 | pub(crate) fn approve_all(e: &Env, operator: Identifier, owner: Identifier) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `NonFungibleTokenTrait` is never used [INFO] [stderr] --> src/interface.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub trait NonFungibleTokenTrait { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `WriteType` is never used [INFO] [stderr] --> src/interface.rs:132:10 [INFO] [stderr] | [INFO] [stderr] 132 | pub enum WriteType { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_name` is never used [INFO] [stderr] --> src/metadata.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn read_name(env: &Env) -> Bytes { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_name` is never used [INFO] [stderr] --> src/metadata.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn write_name(env: &Env, name: Bytes) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_symbol` is never used [INFO] [stderr] --> src/metadata.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn read_symbol(env: &Env) -> Bytes { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_symbol` is never used [INFO] [stderr] --> src/metadata.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn write_symbol(env: &Env, symbol: Bytes) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_token_uri` is never used [INFO] [stderr] --> src/metadata.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn read_token_uri(env: &Env, id: i128) -> Bytes { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_token_uri` is never used [INFO] [stderr] --> src/metadata.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn write_token_uri(env: &Env, id: i128, uri: Bytes) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `zero_address` is never used [INFO] [stderr] --> src/owner.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn zero_address(env: &Env) -> Identifier { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_owner` is never used [INFO] [stderr] --> src/owner.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn read_owner(env: &Env, id: i128) -> Identifier { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_owner` is never used [INFO] [stderr] --> src/owner.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn write_owner(env: &Env, id: i128, owner: Identifier) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_owner` is never used [INFO] [stderr] --> src/owner.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn check_owner(env: &Env, auth: &Identifier, id: i128) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `soroban-nft` (lib test) generated 41 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/soroban_nft-19f30ad584a18ddd) [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] running `Command { std: "docker" "inspect" "caa56134b48023abcd8bf02d419532e72d8e6282c762c8444fa638035cb04a7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caa56134b48023abcd8bf02d419532e72d8e6282c762c8444fa638035cb04a7c", kill_on_drop: false }` [INFO] [stdout] caa56134b48023abcd8bf02d419532e72d8e6282c762c8444fa638035cb04a7c