[INFO] cloning repository https://github.com/harsh-supra/tx-queue-batch-creation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harsh-supra/tx-queue-batch-creation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharsh-supra%2Ftx-queue-batch-creation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharsh-supra%2Ftx-queue-batch-creation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b46d5730dd05771cec30451524da2279e124868 [INFO] documenting harsh-supra/tx-queue-batch-creation against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharsh-supra%2Ftx-queue-batch-creation" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/harsh-supra/tx-queue-batch-creation on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/harsh-supra/tx-queue-batch-creation [INFO] finished tweaking git repo https://github.com/harsh-supra/tx-queue-batch-creation [INFO] tweaked toml for git repo https://github.com/harsh-supra/tx-queue-batch-creation written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/harsh-supra/tx-queue-batch-creation already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f8bf82cfb4782a4ce423b84f8d7b749e47b9071317aeedf4193546b39df28af [INFO] running `Command { std: "docker" "start" "-a" "8f8bf82cfb4782a4ce423b84f8d7b749e47b9071317aeedf4193546b39df28af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f8bf82cfb4782a4ce423b84f8d7b749e47b9071317aeedf4193546b39df28af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f8bf82cfb4782a4ce423b84f8d7b749e47b9071317aeedf4193546b39df28af", kill_on_drop: false }` [INFO] [stdout] 8f8bf82cfb4782a4ce423b84f8d7b749e47b9071317aeedf4193546b39df28af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 799672182fdc7fa7fdbb97e0476a34d2c44dd815cb90804c0a89dacf5e764a7d [INFO] running `Command { std: "docker" "start" "-a" "799672182fdc7fa7fdbb97e0476a34d2c44dd815cb90804c0a89dacf5e764a7d", kill_on_drop: false }` [INFO] [stderr] Checking supra v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting supra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: Rust has no postfix increment operator [INFO] [stdout] --> src/transaction.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 56 | let batch = Batch { [INFO] [stdout] | ----- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 60 | batch_index: batch_index++, [INFO] [stdout] | ^^ not a valid postfix operator [INFO] [stdout] | [INFO] [stdout] help: use `+= 1` instead [INFO] [stdout] | [INFO] [stdout] 60 | batch_index: { let tmp = batch_index; batch_index += 1; tmp }, [INFO] [stdout] | +++++++++++ ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 60 - batch_index: batch_index++, [INFO] [stdout] 60 + batch_index: batch_index += 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0774]: `derive` may only be applied to `struct`s, `enum`s and `union`s [INFO] [stdout] --> src/transaction.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not applicable here [INFO] [stdout] 2 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ------------------------------ not a `struct`, `enum` or `union` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/transaction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, FixedOffset, Local, Utc}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `transaction` in this scope [INFO] [stdout] --> src/transaction.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Transaction { [INFO] [stdout] | ---------------------- similarly named struct `Transaction` defined here [INFO] [stdout] ... [INFO] [stdout] 27 | batch_transactions: transaction, [INFO] [stdout] | ^^^^^^^^^^^ help: a struct with a similar name exists: `Transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `transaction` in this scope [INFO] [stdout] --> src/transaction.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Transaction { [INFO] [stdout] | ---------------------- similarly named struct `Transaction` defined here [INFO] [stdout] ... [INFO] [stdout] 35 | _amount: f32,_partial_signature: String) -> transaction { [INFO] [stdout] | ^^^^^^^^^^^ help: a struct with a similar name exists: `Transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `transaction` should have an upper camel case name [INFO] [stdout] --> src/main.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | type transaction = Vec; //This will be the queue where we will add all our transaction [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Transaction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0774. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `supra` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name supra src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=ea3008dd5c392eec -L dependency=/opt/rustwide/target/debug/deps --extern blockchainlib=/opt/rustwide/target/debug/deps/libblockchainlib-7661e46ae837ef18.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "799672182fdc7fa7fdbb97e0476a34d2c44dd815cb90804c0a89dacf5e764a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "799672182fdc7fa7fdbb97e0476a34d2c44dd815cb90804c0a89dacf5e764a7d", kill_on_drop: false }` [INFO] [stdout] 799672182fdc7fa7fdbb97e0476a34d2c44dd815cb90804c0a89dacf5e764a7d