[INFO] cloning repository https://github.com/bui-duc-huy/reward-by-block [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bui-duc-huy/reward-by-block" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbui-duc-huy%2Freward-by-block", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbui-duc-huy%2Freward-by-block'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 234698d9763173c049ce62fed6e9e9f4f89b8422 [INFO] testing bui-duc-huy/reward-by-block against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbui-duc-huy%2Freward-by-block" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bui-duc-huy/reward-by-block on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bui-duc-huy/reward-by-block [INFO] finished tweaking git repo https://github.com/bui-duc-huy/reward-by-block [INFO] tweaked toml for git repo https://github.com/bui-duc-huy/reward-by-block written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/bui-duc-huy/reward-by-block already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] d87f880e158b96d0bebc4e0ac3f0b5213f7625d9bdd4548d7dfa71507ffc6abb [INFO] running `Command { std: "docker" "start" "-a" "d87f880e158b96d0bebc4e0ac3f0b5213f7625d9bdd4548d7dfa71507ffc6abb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d87f880e158b96d0bebc4e0ac3f0b5213f7625d9bdd4548d7dfa71507ffc6abb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d87f880e158b96d0bebc4e0ac3f0b5213f7625d9bdd4548d7dfa71507ffc6abb", kill_on_drop: false }` [INFO] [stdout] d87f880e158b96d0bebc4e0ac3f0b5213f7625d9bdd4548d7dfa71507ffc6abb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] 6bc72f1c1cefc0f961e6357fba0322b8a2433c0c7a786c2f91d310b7df2bd287 [INFO] running `Command { std: "docker" "start" "-a" "6bc72f1c1cefc0f961e6357fba0322b8a2433c0c7a786c2f91d310b7df2bd287", kill_on_drop: false }` [INFO] [stderr] Compiling calculate_reward_by_block v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/main.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 55 | let farmer1 = Farmer { [INFO] [stdout] | ------ while parsing this struct [INFO] [stdout] 56 | farm: , [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Farm` [INFO] [stdout] --> src/main.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 1 | / struct Farm { [INFO] [stdout] 2 | | total_reward: u64, [INFO] [stdout] 3 | | reward_per_block: u64, [INFO] [stdout] 4 | | acc_token_per_share: u64, [INFO] [stdout] ... | [INFO] [stdout] 7 | | total_supply: u64, [INFO] [stdout] 8 | | } [INFO] [stdout] | |_- `Farm` defined here [INFO] [stdout] ... [INFO] [stdout] 53 | let farm_pointer = &Farm as *mut Farm; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 53 | let farm_pointer = &Farm { total_reward: val, reward_per_block: val, acc_token_per_share: val, start_block: val, last_block_update: val, total_supply: val } as *mut Farm; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 53 | let farm_pointer = &farm as *mut Farm; [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `total_supply` in initializer of `Farm` [INFO] [stdout] --> src/main.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let mut farm = Farm{ [INFO] [stdout] | ^^^^ missing `total_supply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `calculate_reward_by_block` due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "6bc72f1c1cefc0f961e6357fba0322b8a2433c0c7a786c2f91d310b7df2bd287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bc72f1c1cefc0f961e6357fba0322b8a2433c0c7a786c2f91d310b7df2bd287", kill_on_drop: false }` [INFO] [stdout] 6bc72f1c1cefc0f961e6357fba0322b8a2433c0c7a786c2f91d310b7df2bd287