[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 1.69.0 for beta-1.70-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-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bui-duc-huy/reward-by-block on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 68eae78baabd7d38ea65977c72be3a0d931cf8649810b73ca78a2ef7171e6126
[INFO] running `Command { std: "docker" "start" "-a" "68eae78baabd7d38ea65977c72be3a0d931cf8649810b73ca78a2ef7171e6126", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "68eae78baabd7d38ea65977c72be3a0d931cf8649810b73ca78a2ef7171e6126", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68eae78baabd7d38ea65977c72be3a0d931cf8649810b73ca78a2ef7171e6126", kill_on_drop: false }`
[INFO] [stdout] 68eae78baabd7d38ea65977c72be3a0d931cf8649810b73ca78a2ef7171e6126
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4cd851bb3119dcc59cab5f24a99843d01c6828dd4dce6aff13e0a3d58a73c2f2
[INFO] running `Command { std: "docker" "start" "-a" "4cd851bb3119dcc59cab5f24a99843d01c6828dd4dce6aff13e0a3d58a73c2f2", 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" "4cd851bb3119dcc59cab5f24a99843d01c6828dd4dce6aff13e0a3d58a73c2f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4cd851bb3119dcc59cab5f24a99843d01c6828dd4dce6aff13e0a3d58a73c2f2", kill_on_drop: false }`
[INFO] [stdout] 4cd851bb3119dcc59cab5f24a99843d01c6828dd4dce6aff13e0a3d58a73c2f2
