[INFO] fetching crate ic-ledger-types 0.2.0... [INFO] testing ic-ledger-types-0.2.0 against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] extracting crate ic-ledger-types 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate ic-ledger-types 0.2.0 on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ic-ledger-types 0.2.0 [INFO] finished tweaking crates.io crate ic-ledger-types 0.2.0 [INFO] tweaked toml for crates.io crate ic-ledger-types 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8d80cec53e1afa324a92e89cfe75bc6c1cdf70e03b9f467d95824932acf1c7d [INFO] running `Command { std: "docker" "start" "-a" "a8d80cec53e1afa324a92e89cfe75bc6c1cdf70e03b9f467d95824932acf1c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8d80cec53e1afa324a92e89cfe75bc6c1cdf70e03b9f467d95824932acf1c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8d80cec53e1afa324a92e89cfe75bc6c1cdf70e03b9f467d95824932acf1c7d", kill_on_drop: false }` [INFO] [stdout] a8d80cec53e1afa324a92e89cfe75bc6c1cdf70e03b9f467d95824932acf1c7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bda4ec6c635e56cef44e0e6e20126f88705a6b80b7d12c9cb20850d8f157935 [INFO] running `Command { std: "docker" "start" "-a" "5bda4ec6c635e56cef44e0e6e20126f88705a6b80b7d12c9cb20850d8f157935", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling rustversion v1.0.11 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling data-encoding v2.3.3 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling ic0 v0.18.9 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_bytes v0.11.8 [INFO] [stderr] Compiling serde_tokenstream v0.1.6 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling num_enum v0.5.7 [INFO] [stderr] Compiling ic-cdk-macros v0.6.8 [INFO] [stderr] Compiling ic-cdk v0.6.10 [INFO] [stderr] Compiling ic-ledger-types v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 54s [INFO] running `Command { std: "docker" "inspect" "5bda4ec6c635e56cef44e0e6e20126f88705a6b80b7d12c9cb20850d8f157935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bda4ec6c635e56cef44e0e6e20126f88705a6b80b7d12c9cb20850d8f157935", kill_on_drop: false }` [INFO] [stdout] 5bda4ec6c635e56cef44e0e6e20126f88705a6b80b7d12c9cb20850d8f157935 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b736c7cec98879521d3d9fc60c7bb65af058466d8213bf48d06ed4d3405ca5e6 [INFO] running `Command { std: "docker" "start" "-a" "b736c7cec98879521d3d9fc60c7bb65af058466d8213bf48d06ed4d3405ca5e6", kill_on_drop: false }` [INFO] [stderr] Compiling ic-ledger-types v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.53s [INFO] running `Command { std: "docker" "inspect" "b736c7cec98879521d3d9fc60c7bb65af058466d8213bf48d06ed4d3405ca5e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b736c7cec98879521d3d9fc60c7bb65af058466d8213bf48d06ed4d3405ca5e6", kill_on_drop: false }` [INFO] [stdout] b736c7cec98879521d3d9fc60c7bb65af058466d8213bf48d06ed4d3405ca5e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 24935f331fd8d34e37a1380597ef36bc3c6c20f793de52299ee642c9a3cdd28b [INFO] running `Command { std: "docker" "start" "-a" "24935f331fd8d34e37a1380597ef36bc3c6c20f793de52299ee642c9a3cdd28b", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ic_ledger_types-52c04a91d5cbbf47) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_account_id_try_from ... ok [INFO] [stdout] test tests::test_account_id ... ok [INFO] [stdout] test tests::test_governance_canister_id ... ok [INFO] [stdout] test tests::test_cycles_minting_canister_id ... ok [INFO] [stdout] test tests::test_ledger_canister_id ... ok [INFO] [stderr] Doc-tests ic-ledger-types [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - account_balance (line 390) - compile ... ok [INFO] [stdout] test src/lib.rs - transfer (line 413) - compile ... ok [INFO] [stdout] test src/lib.rs - token_symbol (line 446) - compile ... ok [INFO] [stdout] test src/lib.rs - query_blocks (line 462) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "24935f331fd8d34e37a1380597ef36bc3c6c20f793de52299ee642c9a3cdd28b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24935f331fd8d34e37a1380597ef36bc3c6c20f793de52299ee642c9a3cdd28b", kill_on_drop: false }` [INFO] [stdout] 24935f331fd8d34e37a1380597ef36bc3c6c20f793de52299ee642c9a3cdd28b