[INFO] cloning repository https://github.com/pankaj-basnet/rust-core-concepts--for-blockchain- [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pankaj-basnet/rust-core-concepts--for-blockchain-" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpankaj-basnet%2Frust-core-concepts--for-blockchain-", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpankaj-basnet%2Frust-core-concepts--for-blockchain-'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c7b353fa1929d5c21f8788781f0fbf8a0121c25 [INFO] checking pankaj-basnet/rust-core-concepts--for-blockchain- against try#f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 for pr-156992 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpankaj-basnet%2Frust-core-concepts--for-blockchain-" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pankaj-basnet/rust-core-concepts--for-blockchain- [INFO] finished tweaking git repo https://github.com/pankaj-basnet/rust-core-concepts--for-blockchain- [INFO] tweaked toml for git repo https://github.com/pankaj-basnet/rust-core-concepts--for-blockchain- written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pankaj-basnet/rust-core-concepts--for-blockchain- on toolchain f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pankaj-basnet/rust-core-concepts--for-blockchain- already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking pankaj-basnet/rust-core-concepts--for-blockchain- against try#f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 for pr-156992 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpankaj-basnet%2Frust-core-concepts--for-blockchain-" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pankaj-basnet/rust-core-concepts--for-blockchain- [INFO] finished tweaking git repo https://github.com/pankaj-basnet/rust-core-concepts--for-blockchain- [INFO] tweaked toml for git repo https://github.com/pankaj-basnet/rust-core-concepts--for-blockchain- written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pankaj-basnet/rust-core-concepts--for-blockchain- on toolchain f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pankaj-basnet/rust-core-concepts--for-blockchain- already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90d8f06c4dda1fe515168bc8ce8a51892b52f4c1d53798b553fb25651d88326b [INFO] running `Command { std: "docker" "start" "-a" "90d8f06c4dda1fe515168bc8ce8a51892b52f4c1d53798b553fb25651d88326b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90d8f06c4dda1fe515168bc8ce8a51892b52f4c1d53798b553fb25651d88326b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90d8f06c4dda1fe515168bc8ce8a51892b52f4c1d53798b553fb25651d88326b", kill_on_drop: false }` [INFO] [stdout] 90d8f06c4dda1fe515168bc8ce8a51892b52f4c1d53798b553fb25651d88326b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96f7b33ad0f3ef826478e003df6fc2ae5761e7c799f88fb3f6abe97731d05098 [INFO] running `Command { std: "docker" "start" "-a" "96f7b33ad0f3ef826478e003df6fc2ae5761e7c799f88fb3f6abe97731d05098", kill_on_drop: false }` [INFO] [stderr] Checking rust-practice--blockchain-swap- v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `decentralised_swap_` [INFO] [stdout] | [INFO] [stdout] = note: consider adding a `main` function to `examples/decentralised_swap_.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-practice--blockchain-swap-` (example "decentralised_swap_") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/main.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let number = Some(7); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_mint_a` and `token_mint_b` are never read [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Offer { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | token_mint_a: String, // 🪙 Token A (offered) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | token_mint_b: String, // 🪙 Token B (wanted) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/main.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let number = Some(7); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_mint_a` and `token_mint_b` are never read [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Offer { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | token_mint_a: String, // 🪙 Token A (offered) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | token_mint_b: String, // 🪙 Token B (wanted) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "96f7b33ad0f3ef826478e003df6fc2ae5761e7c799f88fb3f6abe97731d05098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96f7b33ad0f3ef826478e003df6fc2ae5761e7c799f88fb3f6abe97731d05098", kill_on_drop: false }` [INFO] [stdout] 96f7b33ad0f3ef826478e003df6fc2ae5761e7c799f88fb3f6abe97731d05098