[INFO] fetching crate aia 0.0.0-alpha.1... [INFO] checking aia-0.0.0-alpha.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate aia 0.0.0-alpha.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate aia 0.0.0-alpha.1 [INFO] finished tweaking crates.io crate aia 0.0.0-alpha.1 [INFO] tweaked toml for crates.io crate aia 0.0.0-alpha.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate aia 0.0.0-alpha.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate aia 0.0.0-alpha.1 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c26ba32eebabf046120cc2b4830759985d73a3b392e49e2023702bce3028265 [INFO] running `Command { std: "docker" "start" "-a" "7c26ba32eebabf046120cc2b4830759985d73a3b392e49e2023702bce3028265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c26ba32eebabf046120cc2b4830759985d73a3b392e49e2023702bce3028265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c26ba32eebabf046120cc2b4830759985d73a3b392e49e2023702bce3028265", kill_on_drop: false }` [INFO] [stdout] 7c26ba32eebabf046120cc2b4830759985d73a3b392e49e2023702bce3028265 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b55102075f8921065637ff0405fa7c42f4cbeb2edec5ad46db4f3fc302111e8f [INFO] running `Command { std: "docker" "start" "-a" "b55102075f8921065637ff0405fa7c42f4cbeb2edec5ad46db4f3fc302111e8f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aoko v0.3.0-alpha.3 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Checking aia v0.0.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / /// Specify the hacked project name [INFO] [stdout] 10 | | #[clap(short, long)] [INFO] [stdout] 11 | | pub project: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// The hacked project introduction [INFO] [stdout] 14 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 15 | | pub introduction: String, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / /// The blockchain platform [INFO] [stdout] 18 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 19 | | pub chain: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / /// The date the project party stated that it was attacked; [INFO] [stdout] 22 | | /// Split by `.` [INFO] [stdout] 23 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 24 | | pub date: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / /// Hacker's wallet(s); [INFO] [stdout] 27 | | /// Split by `,` [INFO] [stdout] 28 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 29 | | pub exploiter_wallet: String, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / /// Main attack contract(s) address; [INFO] [stdout] 32 | | /// Split by `,` [INFO] [stdout] 33 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 34 | | pub main_attack_contract: String, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / /// Token contract(s) address; [INFO] [stdout] 37 | | /// Split by `,` [INFO] [stdout] 38 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 39 | | pub token_contract: String, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / /// Attack transaction(s); [INFO] [stdout] 42 | | /// Split by `,` [INFO] [stdout] 43 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 44 | | pub attack_transaction: String, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / /// Vulnerability contract(s) name; [INFO] [stdout] 47 | | /// Split by `,` [INFO] [stdout] 48 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 49 | | pub unprotected_contract_name: String, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / /// Vulnerability contract(s) address; [INFO] [stdout] 52 | | /// Split by `,` [INFO] [stdout] 53 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 54 | | pub vul_contract: String, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / /// Transaction picture(s) path; [INFO] [stdout] 57 | | /// Split by `,` [INFO] [stdout] 58 | | #[clap(long, default_value = "")] [INFO] [stdout] 59 | | pub tx: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / /// Attack times [INFO] [stdout] 62 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 63 | | pub number_of_attacks: String, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / /// Attack on Profitable Money [INFO] [stdout] 66 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 67 | | pub stolen_money: String, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / /// Main attack way [INFO] [stdout] 70 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 71 | | pub way: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aia` (lib test) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / /// Specify the hacked project name [INFO] [stdout] 10 | | #[clap(short, long)] [INFO] [stdout] 11 | | pub project: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// The hacked project introduction [INFO] [stdout] 14 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 15 | | pub introduction: String, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / /// The blockchain platform [INFO] [stdout] 18 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 19 | | pub chain: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / /// The date the project party stated that it was attacked; [INFO] [stdout] 22 | | /// Split by `.` [INFO] [stdout] 23 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 24 | | pub date: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / /// Hacker's wallet(s); [INFO] [stdout] 27 | | /// Split by `,` [INFO] [stdout] 28 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 29 | | pub exploiter_wallet: String, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / /// Main attack contract(s) address; [INFO] [stdout] 32 | | /// Split by `,` [INFO] [stdout] 33 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 34 | | pub main_attack_contract: String, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / /// Token contract(s) address; [INFO] [stdout] 37 | | /// Split by `,` [INFO] [stdout] 38 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 39 | | pub token_contract: String, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / /// Attack transaction(s); [INFO] [stdout] 42 | | /// Split by `,` [INFO] [stdout] 43 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 44 | | pub attack_transaction: String, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / /// Vulnerability contract(s) name; [INFO] [stdout] 47 | | /// Split by `,` [INFO] [stdout] 48 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 49 | | pub unprotected_contract_name: String, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / /// Vulnerability contract(s) address; [INFO] [stdout] 52 | | /// Split by `,` [INFO] [stdout] 53 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 54 | | pub vul_contract: String, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / /// Transaction picture(s) path; [INFO] [stdout] 57 | | /// Split by `,` [INFO] [stdout] 58 | | #[clap(long, default_value = "")] [INFO] [stdout] 59 | | pub tx: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / /// Attack times [INFO] [stdout] 62 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 63 | | pub number_of_attacks: String, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / /// Attack on Profitable Money [INFO] [stdout] 66 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 67 | | pub stolen_money: String, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / /// Main attack way [INFO] [stdout] 70 | | #[clap(short, long, default_value = "")] [INFO] [stdout] 71 | | pub way: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aia` (lib) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "b55102075f8921065637ff0405fa7c42f4cbeb2edec5ad46db4f3fc302111e8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b55102075f8921065637ff0405fa7c42f4cbeb2edec5ad46db4f3fc302111e8f", kill_on_drop: false }` [INFO] [stdout] b55102075f8921065637ff0405fa7c42f4cbeb2edec5ad46db4f3fc302111e8f