[INFO] fetching crate ISP-SDK 0.2.3... [INFO] building ISP-SDK-0.2.3 against master#9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 for pr-117684 [INFO] extracting crate ISP-SDK 0.2.3 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate ISP-SDK 0.2.3 on toolchain 9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ISP-SDK 0.2.3 [INFO] finished tweaking crates.io crate ISP-SDK 0.2.3 [INFO] tweaked toml for crates.io crate ISP-SDK 0.2.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diff v0.1.13 [INFO] [stderr] Downloaded candid_derive v0.5.0 [INFO] [stderr] Downloaded ascii-canvas v3.0.0 [INFO] [stderr] Downloaded uuid-macro-internal v1.5.0 [INFO] [stderr] Downloaded pairing v0.22.0 [INFO] [stderr] Downloaded ic-cdk v0.7.4 [INFO] [stderr] Downloaded wasm-streams v0.3.0 [INFO] [stderr] Downloaded garcon v0.2.3 [INFO] [stderr] Downloaded ic-agent v0.23.2 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.6.10 [INFO] [stderr] Downloaded lalrpop v0.19.12 [INFO] [stderr] Downloaded rustls-webpki v0.101.7 [INFO] [stderr] Downloaded bls12_381 v0.7.1 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded ic0 v0.18.11 [INFO] [stderr] Downloaded ic-verify-bls-signature v0.1.0 [INFO] [stderr] Downloaded lalrpop-util v0.19.12 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded candid v0.8.4 [INFO] [stderr] Downloaded hyper-rustls v0.24.2 [INFO] [stderr] Downloaded rustls v0.21.8 [INFO] [stderr] Downloaded ena v0.14.2 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded backoff v0.4.0 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded ic-certification v0.23.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d19d53a59aee8fff8f8cbff279b6d80f0b9f5db0efbe7f142df02568d6aca4a [INFO] running `Command { std: "docker" "start" "-a" "6d19d53a59aee8fff8f8cbff279b6d80f0b9f5db0efbe7f142df02568d6aca4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d19d53a59aee8fff8f8cbff279b6d80f0b9f5db0efbe7f142df02568d6aca4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d19d53a59aee8fff8f8cbff279b6d80f0b9f5db0efbe7f142df02568d6aca4a", kill_on_drop: false }` [INFO] [stdout] 6d19d53a59aee8fff8f8cbff279b6d80f0b9f5db0efbe7f142df02568d6aca4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e40fdf3a35bb49f10da9e148b640b7c01817d85300be0c642c01913d092f2bba [INFO] running `Command { std: "docker" "start" "-a" "e40fdf3a35bb49f10da9e148b640b7c01817d85300be0c642c01913d092f2bba", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling const-oid v0.9.5 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling rustls v0.21.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling pairing v0.22.0 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling bls12_381 v0.7.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling webpki-roots v0.25.2 [INFO] [stderr] Compiling ic-verify-bls-signature v0.1.0 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling k256 v0.11.6 [INFO] [stderr] Compiling uuid-macro-internal v1.5.0 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling garcon v0.2.3 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling uuid v1.5.0 [INFO] [stderr] error: could not compile `lalrpop` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/bin/rustc --crate-name lalrpop /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lalrpop-0.19.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="lexer"' -C metadata=0a9c7bfbcf92ee47 -C extra-filename=-0a9c7bfbcf92ee47 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern ascii_canvas=/opt/rustwide/target/debug/deps/libascii_canvas-380dc5e82b169567.rmeta --extern bit_set=/opt/rustwide/target/debug/deps/libbit_set-e07f8656a764dacb.rmeta --extern diff=/opt/rustwide/target/debug/deps/libdiff-a4103ac583849c39.rmeta --extern ena=/opt/rustwide/target/debug/deps/libena-b7eed21f41bbc760.rmeta --extern is_terminal=/opt/rustwide/target/debug/deps/libis_terminal-1d95b3def57a2f9d.rmeta --extern itertools=/opt/rustwide/target/debug/deps/libitertools-428d614b758dae48.rmeta --extern lalrpop_util=/opt/rustwide/target/debug/deps/liblalrpop_util-386894fe3cb7fb14.rmeta --extern petgraph=/opt/rustwide/target/debug/deps/libpetgraph-fc7019f7f4380cc8.rmeta --extern regex=/opt/rustwide/target/debug/deps/libregex-ec3bc60b0ead2964.rmeta --extern regex_syntax=/opt/rustwide/target/debug/deps/libregex_syntax-64d03c91fb355823.rmeta --extern string_cache=/opt/rustwide/target/debug/deps/libstring_cache-1e548353e1f0de46.rmeta --extern term=/opt/rustwide/target/debug/deps/libterm-ae415390a8419e6b.rmeta --extern tiny_keccak=/opt/rustwide/target/debug/deps/libtiny_keccak-d7bbc461407cb882.rmeta --extern unicode_xid=/opt/rustwide/target/debug/deps/libunicode_xid-c3f47b836d6c0afa.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e40fdf3a35bb49f10da9e148b640b7c01817d85300be0c642c01913d092f2bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e40fdf3a35bb49f10da9e148b640b7c01817d85300be0c642c01913d092f2bba", kill_on_drop: false }` [INFO] [stdout] e40fdf3a35bb49f10da9e148b640b7c01817d85300be0c642c01913d092f2bba [INFO] building ISP-SDK-0.2.3 against try#53e03135c36e913ff664ce8329041b7e3c2fd358 for pr-117684 [INFO] extracting crate ISP-SDK 0.2.3 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate ISP-SDK 0.2.3 on toolchain 53e03135c36e913ff664ce8329041b7e3c2fd358 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ISP-SDK 0.2.3 [INFO] finished tweaking crates.io crate ISP-SDK 0.2.3 [INFO] tweaked toml for crates.io crate ISP-SDK 0.2.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9c98809f1a209dec0a6b0aa1ee76961503611a7c8fd1e7766bfc236b9c07bb2 [INFO] running `Command { std: "docker" "start" "-a" "d9c98809f1a209dec0a6b0aa1ee76961503611a7c8fd1e7766bfc236b9c07bb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9c98809f1a209dec0a6b0aa1ee76961503611a7c8fd1e7766bfc236b9c07bb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9c98809f1a209dec0a6b0aa1ee76961503611a7c8fd1e7766bfc236b9c07bb2", kill_on_drop: false }` [INFO] [stdout] d9c98809f1a209dec0a6b0aa1ee76961503611a7c8fd1e7766bfc236b9c07bb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2e7bdde64270b4080fc088119ffcfc95041ab73037029ecf3c735d813658374 [INFO] running `Command { std: "docker" "start" "-a" "d2e7bdde64270b4080fc088119ffcfc95041ab73037029ecf3c735d813658374", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling const-oid v0.9.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling rustls v0.21.8 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling pairing v0.22.0 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling bls12_381 v0.7.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling webpki-roots v0.25.2 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling ic-verify-bls-signature v0.1.0 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling k256 v0.11.6 [INFO] [stderr] Compiling uuid-macro-internal v1.5.0 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling garcon v0.2.3 [INFO] [stderr] Compiling uuid v1.5.0 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling ic-certification v0.23.2 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling ic-agent v0.23.2 [INFO] [stderr] Compiling ic-cdk-macros v0.6.10 [INFO] [stderr] Compiling ic-cdk v0.7.4 [INFO] [stderr] Compiling ISP-SDK v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `icsp` should have an upper camel case name [INFO] [stdout] --> src/icsp/icsp_did.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | type icsp = candid::Service; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Icsp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Create_Canister_Failed` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Create_Canister_Failed(Nat), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CreateCanisterFailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ledger_Transfer_Failed` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Ledger_Transfer_Failed(Nat), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LedgerTransferFailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ok` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ok(Principal), [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `err` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | err(Error), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ok` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | ok, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `err` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | err(Error), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Nat` [INFO] [stdout] --> src/isp/mod.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use candid::{CandidType, Decode, Encode, Nat}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType`, `Nat` [INFO] [stdout] --> src/isp_certified_log/mod.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use candid::{CandidType, Decode, Encode, Nat}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_waiter` is never used [INFO] [stdout] --> src/icsp/mod.rs:803:4 [INFO] [stdout] | [INFO] [stdout] 803 | fn get_waiter() -> Delay { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `icsp` is never used [INFO] [stdout] --> src/icsp/icsp_did.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | type icsp = candid::Service; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/icsp/icsp_did.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct SERVICE(Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/icsp/icsp_did.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 57 | pub async fn get_cycle_balance(&self) -> CallResult<(Nat,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn get_file_info(&self, file_key: String) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn get_all_ic_file_key(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn get_all_ipfs_file_key(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn get_all_arweave_file_key(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn record_file(&self, other_file: OtherFile) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn delete(&self, arg0: String) -> CallResult<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn init(&self) -> CallResult<(BucketStatusExt,)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn get_other_file( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn add_admin(&self, new_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn delete_admin(&self, old_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub async fn get_admins(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn get_bucket_of_file(&self, key: String) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn get_buckets(&self) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub async fn store(&self, args: StoreArgs) -> CallResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_waiter` is never used [INFO] [stdout] --> src/isp/mod.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | fn get_waiter() -> Delay { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ISP` is never used [INFO] [stdout] --> src/isp/isp_did.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | pub type ISP = candid::Service; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AccountIdentifier` is never used [INFO] [stdout] --> src/isp/isp_did.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub type AccountIdentifier = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/isp/isp_did.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct SERVICE(pub candid::Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/isp/isp_did.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 63 | pub async fn get_sub_account(&self) -> CallResult<(AccountIdentifier,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn create_icsp(&self, name: String, amount: u64) -> CallResult<(CreateICSPResult,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub async fn get_admins(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub async fn get_icp_balance(&self) -> CallResult<(u64,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn transfer_out_icp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn get_user_icsps(&self) -> CallResult<(Vec<(String, Principal)>,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn top_up_icsp(&self, args: TopUpArgs) -> CallResult<(TopUpResult,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub async fn transform_icp(&self, args: TransformArgs) -> CallResult<(TopUpResult,)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_waiter` is never used [INFO] [stdout] --> src/isp_certified_log/mod.rs:293:4 [INFO] [stdout] | [INFO] [stdout] 293 | fn get_waiter() -> Delay { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/isp_certified_log/bucket_certified_log_did.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct SERVICE(Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_admin`, `change_admin`, `get_logs`, and `put` are never used [INFO] [stdout] --> src/isp_certified_log/bucket_certified_log_did.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 21 | pub async fn add_admin(&self, new_admin: Principal) -> CallResult<(bool,)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub async fn change_admin(&self, new_admin: Vec) -> CallResult<(bool,)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn get_logs(&self, start: u64, end: u64) -> CallResult<(Option>,)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn put(&self, log: Log) -> CallResult<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/isp_certified_log/icsp_certified_log_backend_did.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct SERVICE(Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/isp_certified_log/icsp_certified_log_backend_did.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 24 | pub async fn add_admin(&self, new_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn delete_admin(&self, old_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn get_admins(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn get_buckets(&self) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn get_log_num(&self) -> CallResult<(Nat,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn get_logs( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn init(&self) -> CallResult<(LiveBucket,)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn store(&self, args: StoreLog) -> CallResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn top_up_bucket(&self, amount: Nat) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn update_bucket_canister_controller( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `icsp_canisterId` should have a snake case name [INFO] [stdout] --> src/isp/isp_did.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub icsp_canisterId: Principal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icsp_canister_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.32s [INFO] running `Command { std: "docker" "inspect" "d2e7bdde64270b4080fc088119ffcfc95041ab73037029ecf3c735d813658374", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2e7bdde64270b4080fc088119ffcfc95041ab73037029ecf3c735d813658374", kill_on_drop: false }` [INFO] [stdout] d2e7bdde64270b4080fc088119ffcfc95041ab73037029ecf3c735d813658374 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 870154610c369373d46f58980966c7c7b223f14c06075dba9d687063708821a6 [INFO] running `Command { std: "docker" "start" "-a" "870154610c369373d46f58980966c7c7b223f14c06075dba9d687063708821a6", kill_on_drop: false }` [INFO] [stdout] warning: type `icsp` should have an upper camel case name [INFO] [stdout] --> src/icsp/icsp_did.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | type icsp = candid::Service; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Icsp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Create_Canister_Failed` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Create_Canister_Failed(Nat), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CreateCanisterFailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ledger_Transfer_Failed` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Ledger_Transfer_Failed(Nat), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LedgerTransferFailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ok` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ok(Principal), [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `err` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | err(Error), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ok` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | ok, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `err` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | err(Error), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Nat` [INFO] [stdout] --> src/isp/mod.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use candid::{CandidType, Decode, Encode, Nat}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType`, `Nat` [INFO] [stdout] --> src/isp_certified_log/mod.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use candid::{CandidType, Decode, Encode, Nat}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_waiter` is never used [INFO] [stdout] --> src/icsp/mod.rs:803:4 [INFO] [stdout] | [INFO] [stdout] 803 | fn get_waiter() -> Delay { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `icsp` is never used [INFO] [stdout] --> src/icsp/icsp_did.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | type icsp = candid::Service; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/icsp/icsp_did.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct SERVICE(Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/icsp/icsp_did.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 57 | pub async fn get_cycle_balance(&self) -> CallResult<(Nat,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn get_file_info(&self, file_key: String) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn get_all_ic_file_key(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn get_all_ipfs_file_key(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn get_all_arweave_file_key(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn record_file(&self, other_file: OtherFile) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn delete(&self, arg0: String) -> CallResult<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn init(&self) -> CallResult<(BucketStatusExt,)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn get_other_file( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn add_admin(&self, new_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn delete_admin(&self, old_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub async fn get_admins(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn get_bucket_of_file(&self, key: String) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn get_buckets(&self) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub async fn store(&self, args: StoreArgs) -> CallResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_waiter` is never used [INFO] [stdout] --> src/isp/mod.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | fn get_waiter() -> Delay { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ISP` is never used [INFO] [stdout] --> src/isp/isp_did.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | pub type ISP = candid::Service; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AccountIdentifier` is never used [INFO] [stdout] --> src/isp/isp_did.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub type AccountIdentifier = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/isp/isp_did.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct SERVICE(pub candid::Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/isp/isp_did.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 63 | pub async fn get_sub_account(&self) -> CallResult<(AccountIdentifier,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn create_icsp(&self, name: String, amount: u64) -> CallResult<(CreateICSPResult,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub async fn get_admins(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub async fn get_icp_balance(&self) -> CallResult<(u64,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn transfer_out_icp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn get_user_icsps(&self) -> CallResult<(Vec<(String, Principal)>,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn top_up_icsp(&self, args: TopUpArgs) -> CallResult<(TopUpResult,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub async fn transform_icp(&self, args: TransformArgs) -> CallResult<(TopUpResult,)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_waiter` is never used [INFO] [stdout] --> src/isp_certified_log/mod.rs:293:4 [INFO] [stdout] | [INFO] [stdout] 293 | fn get_waiter() -> Delay { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/isp_certified_log/bucket_certified_log_did.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct SERVICE(Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_admin`, `change_admin`, `get_logs`, and `put` are never used [INFO] [stdout] --> src/isp_certified_log/bucket_certified_log_did.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 21 | pub async fn add_admin(&self, new_admin: Principal) -> CallResult<(bool,)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub async fn change_admin(&self, new_admin: Vec) -> CallResult<(bool,)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn get_logs(&self, start: u64, end: u64) -> CallResult<(Option>,)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn put(&self, log: Log) -> CallResult<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/isp_certified_log/icsp_certified_log_backend_did.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct SERVICE(Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/isp_certified_log/icsp_certified_log_backend_did.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 24 | pub async fn add_admin(&self, new_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn delete_admin(&self, old_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn get_admins(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn get_buckets(&self) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn get_log_num(&self) -> CallResult<(Nat,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn get_logs( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn init(&self) -> CallResult<(LiveBucket,)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn store(&self, args: StoreLog) -> CallResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn top_up_bucket(&self, amount: Nat) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn update_bucket_canister_controller( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ISP-SDK v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: structure field `icsp_canisterId` should have a snake case name [INFO] [stdout] --> src/isp/isp_did.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub icsp_canisterId: Principal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icsp_canister_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `icsp` should have an upper camel case name [INFO] [stdout] --> src/icsp/icsp_did.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | type icsp = candid::Service; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Icsp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Create_Canister_Failed` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Create_Canister_Failed(Nat), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CreateCanisterFailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ledger_Transfer_Failed` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Ledger_Transfer_Failed(Nat), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LedgerTransferFailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ok` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ok(Principal), [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `err` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | err(Error), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ok` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | ok, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `err` should have an upper camel case name [INFO] [stdout] --> src/isp/isp_did.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | err(Error), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Nat` [INFO] [stdout] --> src/isp/mod.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use candid::{CandidType, Decode, Encode, Nat}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType`, `Nat` [INFO] [stdout] --> src/isp_certified_log/mod.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use candid::{CandidType, Decode, Encode, Nat}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_waiter` is never used [INFO] [stdout] --> src/icsp/mod.rs:803:4 [INFO] [stdout] | [INFO] [stdout] 803 | fn get_waiter() -> Delay { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `icsp` is never used [INFO] [stdout] --> src/icsp/icsp_did.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | type icsp = candid::Service; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/icsp/icsp_did.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct SERVICE(Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/icsp/icsp_did.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 57 | pub async fn get_cycle_balance(&self) -> CallResult<(Nat,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn get_file_info(&self, file_key: String) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn get_all_ic_file_key(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn get_all_ipfs_file_key(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn get_all_arweave_file_key(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn record_file(&self, other_file: OtherFile) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn delete(&self, arg0: String) -> CallResult<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn init(&self) -> CallResult<(BucketStatusExt,)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn get_other_file( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn add_admin(&self, new_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn delete_admin(&self, old_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub async fn get_admins(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn get_bucket_of_file(&self, key: String) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn get_buckets(&self) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub async fn store(&self, args: StoreArgs) -> CallResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_waiter` is never used [INFO] [stdout] --> src/isp/mod.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | fn get_waiter() -> Delay { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ISP` is never used [INFO] [stdout] --> src/isp/isp_did.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | pub type ISP = candid::Service; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AccountIdentifier` is never used [INFO] [stdout] --> src/isp/isp_did.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub type AccountIdentifier = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/isp/isp_did.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct SERVICE(pub candid::Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/isp/isp_did.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 63 | pub async fn get_sub_account(&self) -> CallResult<(AccountIdentifier,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn create_icsp(&self, name: String, amount: u64) -> CallResult<(CreateICSPResult,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub async fn get_admins(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub async fn get_icp_balance(&self) -> CallResult<(u64,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn transfer_out_icp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn get_user_icsps(&self) -> CallResult<(Vec<(String, Principal)>,)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn top_up_icsp(&self, args: TopUpArgs) -> CallResult<(TopUpResult,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub async fn transform_icp(&self, args: TransformArgs) -> CallResult<(TopUpResult,)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_waiter` is never used [INFO] [stdout] --> src/isp_certified_log/mod.rs:293:4 [INFO] [stdout] | [INFO] [stdout] 293 | fn get_waiter() -> Delay { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/isp_certified_log/bucket_certified_log_did.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct SERVICE(Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_admin`, `change_admin`, `get_logs`, and `put` are never used [INFO] [stdout] --> src/isp_certified_log/bucket_certified_log_did.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 21 | pub async fn add_admin(&self, new_admin: Principal) -> CallResult<(bool,)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub async fn change_admin(&self, new_admin: Vec) -> CallResult<(bool,)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn get_logs(&self, start: u64, end: u64) -> CallResult<(Option>,)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn put(&self, log: Log) -> CallResult<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SERVICE` is never constructed [INFO] [stdout] --> src/isp_certified_log/icsp_certified_log_backend_did.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct SERVICE(Principal); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/isp_certified_log/icsp_certified_log_backend_did.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl SERVICE { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 24 | pub async fn add_admin(&self, new_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn delete_admin(&self, old_admin: Principal) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn get_admins(&self) -> CallResult<(Vec,)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn get_buckets(&self) -> CallResult<(Option,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn get_log_num(&self) -> CallResult<(Nat,)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn get_logs( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn init(&self) -> CallResult<(LiveBucket,)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn store(&self, args: StoreLog) -> CallResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn top_up_bucket(&self, amount: Nat) -> CallResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn update_bucket_canister_controller( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `icsp_canisterId` should have a snake case name [INFO] [stdout] --> src/isp/isp_did.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub icsp_canisterId: Principal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icsp_canister_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.52s [INFO] running `Command { std: "docker" "inspect" "870154610c369373d46f58980966c7c7b223f14c06075dba9d687063708821a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "870154610c369373d46f58980966c7c7b223f14c06075dba9d687063708821a6", kill_on_drop: false }` [INFO] [stdout] 870154610c369373d46f58980966c7c7b223f14c06075dba9d687063708821a6