[INFO] fetching crate backup_lib 0.2.0... [INFO] checking backup_lib-0.2.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate backup_lib 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate backup_lib 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate backup_lib 0.2.0 [INFO] tweaked toml for crates.io crate backup_lib 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate backup_lib 0.2.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 142 packages to latest compatible versions [INFO] [stderr] Adding candid v0.8.4 (available: v0.10.17) [INFO] [stderr] Adding candid_derive v0.6.4 (available: v0.6.6) [INFO] [stderr] Adding ic-cdk v0.10.2 (available: v0.18.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stacker v0.1.21 [INFO] [stderr] Downloaded ic-cdk v0.10.2 [INFO] [stderr] Downloaded ic0 v0.18.11 [INFO] [stderr] Downloaded candid_derive v0.6.4 [INFO] [stderr] Downloaded pretty v0.12.4 [INFO] [stderr] Downloaded ic-cdk-executor v0.1.0 [INFO] [stderr] Downloaded candid_derive v0.5.0 [INFO] [stderr] Downloaded lalrpop-util v0.19.12 [INFO] [stderr] Downloaded ic-cdk-macros v0.7.1 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded candid v0.9.11 [INFO] [stderr] Downloaded candid v0.8.4 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded lalrpop v0.19.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5a54b20158fd2b96ebd049ede25f1e22ea6bd9fa490f8d07b723cc082da7390 [INFO] running `Command { std: "docker" "start" "-a" "c5a54b20158fd2b96ebd049ede25f1e22ea6bd9fa490f8d07b723cc082da7390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5a54b20158fd2b96ebd049ede25f1e22ea6bd9fa490f8d07b723cc082da7390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5a54b20158fd2b96ebd049ede25f1e22ea6bd9fa490f8d07b723cc082da7390", kill_on_drop: false }` [INFO] [stdout] c5a54b20158fd2b96ebd049ede25f1e22ea6bd9fa490f8d07b723cc082da7390 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22cd7fc4b61c67d4bba5d6f813599ca52a24f4ab88c1659a1dd312dbda1eca9a [INFO] running `Command { std: "docker" "start" "-a" "22cd7fc4b61c67d4bba5d6f813599ca52a24f4ab88c1659a1dd312dbda1eca9a", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling ic-cdk-executor v0.1.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Checking ic0 v0.18.11 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling candid_derive v0.6.4 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic-cdk-macros v0.7.1 [INFO] [stderr] Checking ic-cdk v0.10.2 [INFO] [stderr] Checking backup_lib v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `NOT_RUNNING` should have an upper camel case name [INFO] [stdout] --> src/backup_info.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | NOT_RUNNING, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `NotRunning` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_RUNNING` should have an upper camel case name [INFO] [stdout] --> src/backup_info.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | NOT_RUNNING, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `NotRunning` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> tests/util_test.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | let data = encode_vec::(&records, 0, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ - - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/util.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn encode_vec(data: &[T]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 8 - let data = encode_vec::(&records, 0, 5); [INFO] [stdout] 8 + let data = encode_vec::(&records); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> tests/util_test.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | let data = encode_vec::(&records, 1, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ - - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/util.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn encode_vec(data: &[T]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 22 - let data = encode_vec::(&records, 1, 3); [INFO] [stdout] 22 + let data = encode_vec::(&records); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `backup_lib` (test "util_test") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "22cd7fc4b61c67d4bba5d6f813599ca52a24f4ab88c1659a1dd312dbda1eca9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22cd7fc4b61c67d4bba5d6f813599ca52a24f4ab88c1659a1dd312dbda1eca9a", kill_on_drop: false }` [INFO] [stdout] 22cd7fc4b61c67d4bba5d6f813599ca52a24f4ab88c1659a1dd312dbda1eca9a