[INFO] cloning repository https://github.com/blockth/cis2-fungible [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blockth/cis2-fungible" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblockth%2Fcis2-fungible", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblockth%2Fcis2-fungible'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce91663ae0ecbf329a61cea5f9c68772c2d11484 [INFO] testing blockth/cis2-fungible against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblockth%2Fcis2-fungible" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file target/concordium/release/.fingerprint/proc-macro2-843079f547b86645/invoked.timestamp [INFO] [stderr] fatal: cannot create directory at 'target/concordium/release/.fingerprint/proc-macro2-b2f34dbfa1af596a': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] testing blockth/cis2-fungible against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblockth%2Fcis2-fungible" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file target/concordium/release/.fingerprint/proc-macro2-46e694442dad7e58/run-build-script-build-script-build.json [INFO] [stderr] fatal: cannot create directory at 'target/concordium/release/.fingerprint/proc-macro2-843079f547b86645': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] testing blockth/cis2-fungible against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblockth%2Fcis2-fungible" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file target/concordium/release/build/proc-macro2-843079f547b86645/build-script-build [INFO] [stderr] error: unable to write file target/concordium/release/build/proc-macro2-843079f547b86645/build_script_build-843079f547b86645 [INFO] [stderr] error: unable to write file target/concordium/release/build/proc-macro2-843079f547b86645/build_script_build-843079f547b86645.d [INFO] [stderr] fatal: cannot create directory at 'target/concordium/release/build/quote-86c10d160d924951': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] testing blockth/cis2-fungible against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblockth%2Fcis2-fungible" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file target/concordium/release/build/wee_alloc-761c70ace142892b/build_script_build-761c70ace142892b [INFO] [stderr] error: unable to write file target/concordium/release/build/wee_alloc-761c70ace142892b/build_script_build-761c70ace142892b.d [INFO] [stderr] fatal: cannot create directory at 'target/concordium/release/deps': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] testing blockth/cis2-fungible against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblockth%2Fcis2-fungible" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 76% (882/1146) Updating files: 77% (883/1146) Updating files: 78% (894/1146) Updating files: 79% (906/1146) Updating files: 80% (917/1146) Updating files: 81% (929/1146) Updating files: 82% (940/1146) Updating files: 83% (952/1146) Updating files: 84% (963/1146) Updating files: 85% (975/1146) Updating files: 86% (986/1146) Updating files: 87% (998/1146) Updating files: 88% (1009/1146) Updating files: 89% (1020/1146) Updating files: 90% (1032/1146) Updating files: 91% (1043/1146) Updating files: 92% (1055/1146) Updating files: 93% (1066/1146) Updating files: 94% (1078/1146) Updating files: 95% (1089/1146) Updating files: 96% (1101/1146) Updating files: 97% (1112/1146) Updating files: 98% (1124/1146) Updating files: 99% (1135/1146) Updating files: 100% (1146/1146) Updating files: 100% (1146/1146), done. [INFO] validating manifest of git repo https://github.com/blockth/cis2-fungible on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/blockth/cis2-fungible [INFO] finished tweaking git repo https://github.com/blockth/cis2-fungible [INFO] tweaked toml for git repo https://github.com/blockth/cis2-fungible written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/blockth/cis2-fungible 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-04-13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded concordium-std-derive v5.1.0 [INFO] [stderr] Downloaded concordium-contracts-common-derive v1.0.1 [INFO] [stderr] Downloaded concordium-std v5.1.0 [INFO] [stderr] Downloaded concordium-cis2 v2.0.0 [INFO] [stderr] Downloaded concordium-contracts-common v5.1.0 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b95a023f9822b7fb09f1c0198044a6b6a46fcc89977956344ba74ffd16e56e12 [INFO] running `Command { std: "docker" "start" "-a" "b95a023f9822b7fb09f1c0198044a6b6a46fcc89977956344ba74ffd16e56e12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b95a023f9822b7fb09f1c0198044a6b6a46fcc89977956344ba74ffd16e56e12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b95a023f9822b7fb09f1c0198044a6b6a46fcc89977956344ba74ffd16e56e12", kill_on_drop: false }` [INFO] [stdout] b95a023f9822b7fb09f1c0198044a6b6a46fcc89977956344ba74ffd16e56e12 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ba3b70805c80e7c55a2ba615b91f29017d7a551dde8cca4dca0a708fe5ec357 [INFO] running `Command { std: "docker" "start" "-a" "9ba3b70805c80e7c55a2ba615b91f29017d7a551dde8cca4dca0a708fe5ec357", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling primitive-types v0.11.1 [INFO] [stderr] Compiling concordium-contracts-common-derive v1.0.1 [INFO] [stderr] Compiling concordium-contracts-common v5.1.0 [INFO] [stderr] Compiling concordium-std-derive v5.1.0 [INFO] [stderr] Compiling concordium-std v5.1.0 [INFO] [stderr] Compiling concordium-cis2 v2.0.0 [INFO] [stderr] Compiling fungible v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `builder` [INFO] [stdout] --> src/lib.rs:629:17 [INFO] [stdout] | [INFO] [stdout] 629 | let (state, builder) = host.state_and_builder(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_amount` [INFO] [stdout] --> src/lib.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | let remaining_amount: ContractTokenAmount = state.burn(&token_id, amount, &sender)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOKEN_METADATA_BASE_URL` is never used [INFO] [stdout] --> src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const TOKEN_METADATA_BASE_URL: &str = "https://some.example/token/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_token_metadata_url` is never used [INFO] [stdout] --> src/lib.rs:424:4 [INFO] [stdout] | [INFO] [stdout] 424 | fn build_token_metadata_url(token_id: &ContractTokenId) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.50s [INFO] running `Command { std: "docker" "inspect" "9ba3b70805c80e7c55a2ba615b91f29017d7a551dde8cca4dca0a708fe5ec357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ba3b70805c80e7c55a2ba615b91f29017d7a551dde8cca4dca0a708fe5ec357", kill_on_drop: false }` [INFO] [stdout] 9ba3b70805c80e7c55a2ba615b91f29017d7a551dde8cca4dca0a708fe5ec357 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5de36da8054f5808fcb6d51ce87b00dac76d4e5447de1ef4c32f2e39f86d3204 [INFO] running `Command { std: "docker" "start" "-a" "5de36da8054f5808fcb6d51ce87b00dac76d4e5447de1ef4c32f2e39f86d3204", kill_on_drop: false }` [INFO] [stderr] Compiling fungible v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `builder` [INFO] [stdout] --> src/lib.rs:629:17 [INFO] [stdout] | [INFO] [stdout] 629 | let (state, builder) = host.state_and_builder(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_amount` [INFO] [stdout] --> src/lib.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | let remaining_amount: ContractTokenAmount = state.burn(&token_id, amount, &sender)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOKEN_METADATA_BASE_URL` is never used [INFO] [stdout] --> src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const TOKEN_METADATA_BASE_URL: &str = "https://some.example/token/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_token_metadata_url` is never used [INFO] [stdout] --> src/lib.rs:424:4 [INFO] [stdout] | [INFO] [stdout] 424 | fn build_token_metadata_url(token_id: &ContractTokenId) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `builder` [INFO] [stdout] --> src/lib.rs:629:17 [INFO] [stdout] | [INFO] [stdout] 629 | let (state, builder) = host.state_and_builder(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_amount` [INFO] [stdout] --> src/lib.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | let remaining_amount: ContractTokenAmount = state.burn(&token_id, amount, &sender)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:1155:9 [INFO] [stdout] | [INFO] [stdout] 1155 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOKEN_METADATA_BASE_URL` is never used [INFO] [stdout] --> src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const TOKEN_METADATA_BASE_URL: &str = "https://some.example/token/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_token_metadata_url` is never used [INFO] [stdout] --> src/lib.rs:424:4 [INFO] [stdout] | [INFO] [stdout] 424 | fn build_token_metadata_url(token_id: &ContractTokenId) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "5de36da8054f5808fcb6d51ce87b00dac76d4e5447de1ef4c32f2e39f86d3204", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5de36da8054f5808fcb6d51ce87b00dac76d4e5447de1ef4c32f2e39f86d3204", kill_on_drop: false }` [INFO] [stdout] 5de36da8054f5808fcb6d51ce87b00dac76d4e5447de1ef4c32f2e39f86d3204 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ed61457ed124ff4257f4d108abdec1263ebde590b1a7adb54777e8c057218b89 [INFO] running `Command { std: "docker" "start" "-a" "ed61457ed124ff4257f4d108abdec1263ebde590b1a7adb54777e8c057218b89", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `builder` [INFO] [stderr] --> src/lib.rs:629:17 [INFO] [stderr] | [INFO] [stderr] 629 | let (state, builder) = host.state_and_builder(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builder` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `remaining_amount` [INFO] [stderr] --> src/lib.rs:632:9 [INFO] [stderr] | [INFO] [stderr] 632 | let remaining_amount: ContractTokenAmount = state.burn(&token_id, amount, &sender)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_amount` [INFO] [stderr] [INFO] [stderr] warning: constant `TOKEN_METADATA_BASE_URL` is never used [INFO] [stderr] --> src/lib.rs:35:7 [INFO] [stderr] | [INFO] [stderr] 35 | const TOKEN_METADATA_BASE_URL: &str = "https://some.example/token/"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `build_token_metadata_url` is never used [INFO] [stderr] --> src/lib.rs:424:4 [INFO] [stderr] | [INFO] [stderr] 424 | fn build_token_metadata_url(token_id: &ContractTokenId) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `fungible` (lib) generated 4 warnings [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/lib.rs:1155:9 [INFO] [stderr] | [INFO] [stderr] 1155 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `fungible` (lib test) generated 5 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fungible-2251fdc6f8731e9a) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::test_transfer_account ... ok [INFO] [stdout] test tests::test_add_operator ... ok [INFO] [stdout] test tests::test_transfer_not_authorized ... ok [INFO] [stdout] test tests::test_operator_transfer ... ok [INFO] [stdout] test tests::test_init ... ok [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] test tests::test_mint ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_mint stdout ---- [INFO] [stdout] lalal [INFO] [stdout] thread 'tests::test_mint' panicked at src/lib.rs:1136:9: [INFO] [stdout] Only one token is initialized [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f4b8472eb12 - std::backtrace_rs::backtrace::libunwind::trace::h97da83aab53f337d [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f4b8472eb12 - std::backtrace_rs::backtrace::trace_unsynchronized::h07d9fad959b0b0c4 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f4b8472eb12 - std::sys::backtrace::_print_fmt::h73b6844d523a91e6 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f4b8472eb12 - ::fmt::had50d3dbab4f9a49 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f4b84754923 - core::fmt::rt::Argument::fmt::h96dc2668ac588484 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/fmt/rt.rs:184:76 [INFO] [stdout] 5: 0x5f4b84754923 - core::fmt::write::h3c068850dd3fcd11 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/fmt/mod.rs:1480:21 [INFO] [stdout] 6: 0x5f4b8472c1e3 - std::io::default_write_fmt::h9f5cac5e26eafb82 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f4b8472c1e3 - std::io::Write::write_fmt::h9be88ac981c80255 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x5f4b8472e962 - std::sys::backtrace::BacktraceLock::print::h160d33c700b1accf [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f4b8472fd4c - std::panicking::default_hook::{{closure}}::hdccf862335980e92 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x5f4b8472fba2 - std::panicking::default_hook::h92ea296b4f4c5d78 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5f4b846ce944 - as core::ops::function::Fn>::call::h58e2cb0c3aa8f900 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x5f4b846ce944 - test::test_main::{{closure}}::h068e739b3ff3ace9 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:136:21 [INFO] [stdout] 13: 0x5f4b847307c3 - as core::ops::function::Fn>::call::h4dc3b8e0d98a0945 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x5f4b847307c3 - std::panicking::rust_panic_with_hook::h53eb519a340d7090 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5f4b8473049a - std::panicking::begin_panic_handler::{{closure}}::h1b012222d781940d [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5f4b8472f009 - std::sys::backtrace::__rust_end_short_backtrace::hb1c00a6a74936045 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5f4b8473012d - __rustc[3fad54a3e94379e3]::rust_begin_unwind [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5f4b84651fc0 - core::panicking::panic_fmt::h5646b0c12be1dead [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5f4b846e7270 - core::panicking::panic_display::h99c77e5808295934 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/panicking.rs:261:5 [INFO] [stdout] 20: 0x5f4b8468dc87 - fungible::tests::test_mint::h2028f4f634d970c1 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:1136:9 [INFO] [stdout] 21: 0x5f4b8468c357 - fungible::tests::test_mint::{{closure}}::h51d3233bcff5a91d [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:1071:19 [INFO] [stdout] 22: 0x5f4b84685926 - core::ops::function::FnOnce::call_once::h4af8d3a6f4fc4a71 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5f4b846d429b - core::ops::function::FnOnce::call_once::h36fc4a9de3ab6dc6 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5f4b846d429b - test::__rust_begin_short_backtrace::ha0a98bb69b358a31 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:638:18 [INFO] [stdout] 25: 0x5f4b846d328f - test::run_test_in_process::{{closure}}::h8c178d13fba0a588 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:661:60 [INFO] [stdout] 26: 0x5f4b846d328f - as core::ops::function::FnOnce<()>>::call_once::hcf9a13e44c998160 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5f4b846d328f - std::panicking::try::do_call::h4af5be696220e430 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x5f4b846d328f - std::panicking::try::hbf49a526ff439d5e [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x5f4b846d328f - std::panic::catch_unwind::h73db1b343ad1c705 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5f4b846d328f - test::run_test_in_process::hef059ed743ea6437 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:661:27 [INFO] [stdout] 31: 0x5f4b846d328f - test::run_test::{{closure}}::h9508bce7fbf1ad82 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:582:43 [INFO] [stdout] 32: 0x5f4b846979e4 - test::run_test::{{closure}}::h70f94fa995999514 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/test/src/lib.rs:612:41 [INFO] [stdout] 33: 0x5f4b846979e4 - std::sys::backtrace::__rust_begin_short_backtrace::hfc7043e7c8324aca [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x5f4b8469b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h599c966db81290c0 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x5f4b8469b2da - as core::ops::function::FnOnce<()>>::call_once::h499078bec004bb56 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5f4b8469b2da - std::panicking::try::do_call::h336d5bb945571c50 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:589:40 [INFO] [stdout] 37: 0x5f4b8469b2da - std::panicking::try::hea8a9a2c11807957 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panicking.rs:552:19 [INFO] [stdout] 38: 0x5f4b8469b2da - std::panic::catch_unwind::hc46631a6d929f68d [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5f4b8469b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::he5729da5506c58d1 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x5f4b8469b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8b7f1215a4f7e46f [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5f4b8473250b - as core::ops::function::FnOnce>::call_once::h5e2c5a5b1d7d1d9c [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 42: 0x5f4b8473250b - as core::ops::function::FnOnce>::call_once::hc50cd23acd01680e [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x5f4b8473250b - std::sys::pal::unix::thread::Thread::new::thread_start::hb3d0e19f380baa62 [INFO] [stdout] at /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 44: 0x780847d6baa4 - [INFO] [stdout] 45: 0x780847df8a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_mint [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ed61457ed124ff4257f4d108abdec1263ebde590b1a7adb54777e8c057218b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed61457ed124ff4257f4d108abdec1263ebde590b1a7adb54777e8c057218b89", kill_on_drop: false }` [INFO] [stdout] ed61457ed124ff4257f4d108abdec1263ebde590b1a7adb54777e8c057218b89