[INFO] cloning repository https://github.com/ryantanwk/lottery [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryantanwk/lottery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryantanwk%2Flottery", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryantanwk%2Flottery'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3704343c44676b92ea7cce46c66502da69cf190 [INFO] checking ryantanwk/lottery against master#43d9f3859e0204e764161ee085a360274b5f3e9a for pr-97346 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryantanwk%2Flottery" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ryantanwk/lottery on toolchain 43d9f3859e0204e764161ee085a360274b5f3e9a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ryantanwk/lottery [INFO] finished tweaking git repo https://github.com/ryantanwk/lottery [INFO] tweaked toml for git repo https://github.com/ryantanwk/lottery written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/ryantanwk/lottery already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4fc58d71a7dab20b53d1ba4d40a69dcebb01cbda207e9a0d5f667fb1b018b9ce [INFO] running `Command { std: "docker" "start" "-a" "4fc58d71a7dab20b53d1ba4d40a69dcebb01cbda207e9a0d5f667fb1b018b9ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fc58d71a7dab20b53d1ba4d40a69dcebb01cbda207e9a0d5f667fb1b018b9ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fc58d71a7dab20b53d1ba4d40a69dcebb01cbda207e9a0d5f667fb1b018b9ce", kill_on_drop: false }` [INFO] [stdout] 4fc58d71a7dab20b53d1ba4d40a69dcebb01cbda207e9a0d5f667fb1b018b9ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+43d9f3859e0204e764161ee085a360274b5f3e9a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5b351cb27ec1ccc44c68b4fc715d10b8c13436b9cd3158189357b3ef11fc5a6f [INFO] running `Command { std: "docker" "start" "-a" "5b351cb27ec1ccc44c68b4fc715d10b8c13436b9cd3158189357b3ef11fc5a6f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking near-sys v0.1.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling near-sdk-macros v4.0.0-pre.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Checking borsh v0.8.2 [INFO] [stderr] Checking near-primitives-core v0.4.0 [INFO] [stderr] Checking near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Checking near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Checking near-sdk v4.0.0-pre.4 [INFO] [stderr] Checking lottery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex` [INFO] [stdout] --> src/lib.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | let hashed_input_hex = hex::encode(&hashed_input); [INFO] [stdout] | ^^^ use of undeclared crate or module `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex` [INFO] [stdout] --> src/lib.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | let debug_hash_string = hex::encode(debug_hash_bytes); [INFO] [stdout] | ^^^ use of undeclared crate or module `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex` [INFO] [stdout] --> src/lib.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | let hashed_input_hex = hex::encode(&hashed_input); [INFO] [stdout] | ^^^ use of undeclared crate or module `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lottery` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lottery` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "5b351cb27ec1ccc44c68b4fc715d10b8c13436b9cd3158189357b3ef11fc5a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b351cb27ec1ccc44c68b4fc715d10b8c13436b9cd3158189357b3ef11fc5a6f", kill_on_drop: false }` [INFO] [stdout] 5b351cb27ec1ccc44c68b4fc715d10b8c13436b9cd3158189357b3ef11fc5a6f