[INFO] cloning repository https://github.com/conglt10/bonsai-icp
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/conglt10/bonsai-icp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconglt10%2Fbonsai-icp"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconglt10%2Fbonsai-icp'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 3b51213b3226776c54b21fdad7117b0b53d44eae
[INFO] testing conglt10/bonsai-icp against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconglt10%2Fbonsai-icp" "/workspace/builds/worker-6-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/conglt10/bonsai-icp
[INFO] finished tweaking git repo https://github.com/conglt10/bonsai-icp
[INFO] tweaked toml for git repo https://github.com/conglt10/bonsai-icp written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/conglt10/bonsai-icp on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/conglt10/bonsai-icp already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 67b99747a06e1d39bb359cd5bde042d6e925d1004db4bbb151c52d30e5558b37
[INFO] running `"docker" "start" "67b99747a06e1d39bb359cd5bde042d6e925d1004db4bbb151c52d30e5558b37"`
[INFO] running `"docker" "inspect" "67b99747a06e1d39bb359cd5bde042d6e925d1004db4bbb151c52d30e5558b37"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "67b99747a06e1d39bb359cd5bde042d6e925d1004db4bbb151c52d30e5558b37" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "67b99747a06e1d39bb359cd5bde042d6e925d1004db4bbb151c52d30e5558b37"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "67b99747a06e1d39bb359cd5bde042d6e925d1004db4bbb151c52d30e5558b37" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling syn v1.0.85
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling serde v1.0.133
[INFO] [stderr]    Compiling serde_derive v1.0.133
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling quote v1.0.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling siphasher v0.3.7
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling crc32fast v1.3.0
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling lock_api v0.4.5
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling ena v0.14.0
[INFO] [stderr]    Compiling lalrpop-util v0.19.6
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling bit-set v0.5.2
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling diff v0.1.12
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]    Compiling pico-args v0.4.2
[INFO] [stderr]    Compiling anyhow v1.0.52
[INFO] [stderr]    Compiling beef v0.5.1
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]    Compiling utf8-ranges v1.0.4
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling paste v1.0.6
[INFO] [stderr]    Compiling typed-arena v2.0.1
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling base32 v0.4.0
[INFO] [stderr]    Compiling pretty v0.10.0
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling half v1.8.2
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling bonsaicp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling string_cache v0.8.2
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling crypto-common v0.1.3
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling sha2 v0.10.2
[INFO] [stderr]    Compiling lalrpop v0.19.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling logos-derive v0.12.0
[INFO] [stderr]    Compiling candid_derive v0.4.5
[INFO] [stderr]    Compiling include-base64 v0.1.0
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling logos v0.12.0
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling serde_bytes v0.11.5
[INFO] [stderr]    Compiling serde_tokenstream v0.1.3
[INFO] [stderr]    Compiling ic-types v0.3.0
[INFO] [stderr]    Compiling candid v0.7.10
[INFO] [stderr]    Compiling proc-macro-crate v1.1.0
[INFO] [stderr]    Compiling num_enum_derive v0.5.6
[INFO] [stderr]    Compiling serde_cbor v0.11.2
[INFO] [stderr]    Compiling ic-certified-map v0.3.0
[INFO] [stderr]    Compiling num_enum v0.5.6
[INFO] [stderr]    Compiling ic-cdk v0.3.3
[INFO] [stderr]    Compiling ic-cdk-macros v0.3.3
[INFO] [stderr]    Compiling ic-cdk v0.4.0
[INFO] [stderr]    Compiling ic-ledger-types v0.1.1
[INFO] [stdout] warning: unused import: `std::env::args`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::env::args;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `mainnet`
[INFO] [stdout]   --> src/http.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |         if cfg!(mainnet) {
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 34 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mainnet)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mainnet)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mint` is never used
[INFO] [stdout]    --> src/lib.rs:381:4
[INFO] [stdout]     |
[INFO] [stdout] 381 | fn mint(
[INFO] [stdout]     |    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MintResult` is never constructed
[INFO] [stdout]    --> src/lib.rs:541:8
[INFO] [stdout]     |
[INFO] [stdout] 541 | struct MintResult {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/lib.rs:479:5
[INFO] [stdout]     |
[INFO] [stdout] 479 |     mint_batch(api::caller(), _amount, _metadata, blob_content);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]     |
[INFO] [stdout] 479 |     let _ = mint_batch(api::caller(), _amount, _metadata, blob_content);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-Wl,--version-script=/opt/rustwide/target/release/build/bonsaicp/0aa351ef4af0b006/out/rustcVlbIDJ/list" "-Wl,--no-undefined-version" "-m64" "/opt/rustwide/target/release/build/bonsaicp/0aa351ef4af0b006/out/rustcVlbIDJ/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/release/build/base64/0f64086e5fab878c/out/libbase64-0f64086e5fab878c.rlib" "/opt/rustwide/target/release/build/sha2/21f79ad21da4bb49/out/libsha2-21f79ad21da4bb49.rlib" "/opt/rustwide/target/release/build/digest/18f125d9536674cc/out/libdigest-18f125d9536674cc.rlib" "/opt/rustwide/target/release/build/block-buffer/8631c5fd3287a0e9/out/libblock_buffer-8631c5fd3287a0e9.rlib" "/opt/rustwide/target/release/build/crypto-common/86ef9edcef8e95e7/out/libcrypto_common-86ef9edcef8e95e7.rlib" "/opt/rustwide/target/release/build/serde_cbor/9fdec86ad49261a1/out/libserde_cbor-9fdec86ad49261a1.rlib" "/opt/rustwide/target/release/build/half/c981de7d63c74613/out/libhalf-c981de7d63c74613.rlib" "/opt/rustwide/target/release/build/percent-encoding/cce86561c61fdf63/out/libpercent_encoding-cce86561c61fdf63.rlib" "/opt/rustwide/target/release/build/ic-ledger-types/8e78836c4c77d645/out/libic_ledger_types-8e78836c4c77d645.rlib" "/opt/rustwide/target/release/build/ic-cdk/c17267806889c15d/out/libic_cdk-c17267806889c15d.rlib" "/opt/rustwide/target/release/build/ic-certified-map/6b64ccd059c85cc0/out/libic_certified_map-6b64ccd059c85cc0.rlib" "/opt/rustwide/target/release/build/ic-cdk/2e256694217af0e5/out/libic_cdk-2e256694217af0e5.rlib" "/opt/rustwide/target/release/build/candid/d63d9e8f1a5a78ac/out/libcandid-d63d9e8f1a5a78ac.rlib" "/opt/rustwide/target/release/build/leb128/8131eee8a244c5d4/out/libleb128-8131eee8a244c5d4.rlib" "/opt/rustwide/target/release/build/byteorder/55ba23c9b9b54407/out/libbyteorder-55ba23c9b9b54407.rlib" "/opt/rustwide/target/release/build/logos/396031adbe97d577/out/liblogos-396031adbe97d577.rlib" "/opt/rustwide/target/release/build/num-bigint/524f2c27840785eb/out/libnum_bigint-524f2c27840785eb.rlib" "/opt/rustwide/target/release/build/num-integer/82d33869bef42aeb/out/libnum_integer-82d33869bef42aeb.rlib" "/opt/rustwide/target/release/build/num-traits/a6b4eb3bc863f159/out/libnum_traits-a6b4eb3bc863f159.rlib" "/opt/rustwide/target/release/build/anyhow/06df0493c2ef5f29/out/libanyhow-06df0493c2ef5f29.rlib" "/opt/rustwide/target/release/build/num_enum/39f0402f8ac926dd/out/libnum_enum-39f0402f8ac926dd.rlib" "/opt/rustwide/target/release/build/ic-types/a519ff0ea6ad3172/out/libic_types-a519ff0ea6ad3172.rlib" "/opt/rustwide/target/release/build/crc32fast/a3335fd56089fdd7/out/libcrc32fast-a3335fd56089fdd7.rlib" "/opt/rustwide/target/release/build/base32/8eb072064ffa2212/out/libbase32-8eb072064ffa2212.rlib" "/opt/rustwide/target/release/build/serde_bytes/59dcd70e38846ff8/out/libserde_bytes-59dcd70e38846ff8.rlib" "/opt/rustwide/target/release/build/hex/7f420b956afc3bee/out/libhex-7f420b956afc3bee.rlib" "/opt/rustwide/target/release/build/sha2/1c37a1f505e9e440/out/libsha2-1c37a1f505e9e440.rlib" "/opt/rustwide/target/release/build/cpufeatures/174de955fe1a3839/out/libcpufeatures-174de955fe1a3839.rlib" "/opt/rustwide/target/release/build/cfg-if/ba05036509a584eb/out/libcfg_if-ba05036509a584eb.rlib" "/opt/rustwide/target/release/build/opaque-debug/8037ba7608fc8b85/out/libopaque_debug-8037ba7608fc8b85.rlib" "/opt/rustwide/target/release/build/digest/e6089af9a2a36ba0/out/libdigest-e6089af9a2a36ba0.rlib" "/opt/rustwide/target/release/build/block-buffer/dc530c7de49202e6/out/libblock_buffer-dc530c7de49202e6.rlib" "/opt/rustwide/target/release/build/generic-array/14d870eb2de361ce/out/libgeneric_array-14d870eb2de361ce.rlib" "/opt/rustwide/target/release/build/typenum/6f67e955987a61d3/out/libtypenum-6f67e955987a61d3.rlib" "/opt/rustwide/target/release/build/binread/2fc734ddfd609012/out/libbinread-2fc734ddfd609012.rlib" "/opt/rustwide/target/release/build/lazy_static/b3cd6b951b38851d/out/liblazy_static-b3cd6b951b38851d.rlib" "/opt/rustwide/target/release/build/lalrpop-util/830f721ba72aa1f1/out/liblalrpop_util-830f721ba72aa1f1.rlib" "/opt/rustwide/target/release/build/regex/867d1dbc96dd3c6a/out/libregex-867d1dbc96dd3c6a.rlib" "/opt/rustwide/target/release/build/aho-corasick/d9eee8407b62187a/out/libaho_corasick-d9eee8407b62187a.rlib" "/opt/rustwide/target/release/build/memchr/b9b1151dd2c2f6dc/out/libmemchr-b9b1151dd2c2f6dc.rlib" "/opt/rustwide/target/release/build/regex-syntax/798412031c70a017/out/libregex_syntax-798412031c70a017.rlib" "/opt/rustwide/target/release/build/thiserror/0822ec3441773da2/out/libthiserror-0822ec3441773da2.rlib" "/opt/rustwide/target/release/build/codespan-reporting/81d23b9a018407c5/out/libcodespan_reporting-81d23b9a018407c5.rlib" "/opt/rustwide/target/release/build/unicode-width/8478fd140305b7a9/out/libunicode_width-8478fd140305b7a9.rlib" "/opt/rustwide/target/release/build/termcolor/f67e6922fd2c41da/out/libtermcolor-f67e6922fd2c41da.rlib" "/opt/rustwide/target/release/build/pretty/a658f39f5dbfc91e/out/libpretty-a658f39f5dbfc91e.rlib" "/opt/rustwide/target/release/build/arrayvec/85f6275965d68228/out/libarrayvec-85f6275965d68228.rlib" "/opt/rustwide/target/release/build/typed-arena/59e689566304521b/out/libtyped_arena-59e689566304521b.rlib" "/opt/rustwide/target/release/build/serde/eb5eaa0486082957/out/libserde-eb5eaa0486082957.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/release/build/bonsaicp/0aa351ef4af0b006/out/rustcVlbIDJ/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/release/build/bonsaicp/0aa351ef4af0b006/out/libbonsaicp.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: /opt/rustwide/target/release/build/bonsaicp/0aa351ef4af0b006/out/rustcVlbIDJ/list:6: ; expected, but got balanceOfDip721
[INFO] [stdout]           >>>     canister_query balanceOfDip721;
[INFO] [stdout]           >>>                    ^
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bonsaicp` (lib) due to 1 previous error; 5 warnings emitted
[INFO] running `"docker" "inspect" "67b99747a06e1d39bb359cd5bde042d6e925d1004db4bbb151c52d30e5558b37"`
[INFO] running `"docker" "rm" "-f" "67b99747a06e1d39bb359cd5bde042d6e925d1004db4bbb151c52d30e5558b37"`
[INFO] [stdout] 67b99747a06e1d39bb359cd5bde042d6e925d1004db4bbb151c52d30e5558b37
