[INFO] cloning repository https://github.com/revol-xut/lf-benchmark-runner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/revol-xut/lf-benchmark-runner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frevol-xut%2Flf-benchmark-runner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frevol-xut%2Flf-benchmark-runner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7317490b9e4407c90b9bf51cd56d00b726a20aaf [INFO] testing revol-xut/lf-benchmark-runner 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%2Frevol-xut%2Flf-benchmark-runner" "/workspace/builds/worker-109/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-109/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/revol-xut/lf-benchmark-runner 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/revol-xut/lf-benchmark-runner [INFO] finished tweaking git repo https://github.com/revol-xut/lf-benchmark-runner [INFO] tweaked toml for git repo https://github.com/revol-xut/lf-benchmark-runner written to /workspace/builds/worker-109/source/Cargo.toml [INFO] crate git repo https://github.com/revol-xut/lf-benchmark-runner 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff955085bf11535b96a6d2e4fa23f75ef3a3d7d3798d285afe68ed308a6cc798 [INFO] running `Command { std: "docker" "start" "-a" "ff955085bf11535b96a6d2e4fa23f75ef3a3d7d3798d285afe68ed308a6cc798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff955085bf11535b96a6d2e4fa23f75ef3a3d7d3798d285afe68ed308a6cc798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff955085bf11535b96a6d2e4fa23f75ef3a3d7d3798d285afe68ed308a6cc798", kill_on_drop: false }` [INFO] [stdout] ff955085bf11535b96a6d2e4fa23f75ef3a3d7d3798d285afe68ed308a6cc798 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83e00a821bb3757e408d3947db669a7cb31b41d2a0b0cc94032505edfcee1a21 [INFO] running `Command { std: "docker" "start" "-a" "83e00a821bb3757e408d3947db669a7cb31b41d2a0b0cc94032505edfcee1a21", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.11.1 [INFO] [stderr] Compiling clap v3.1.8 [INFO] [stderr] Compiling derive_builder_macro v0.11.1 [INFO] [stderr] Compiling derive_builder v0.11.1 [INFO] [stderr] Compiling lf-benchmark-runner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/structs.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/structs.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/structs.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/structs.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for enum `Value` in the current scope [INFO] [stdout] --> src/main.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | res.push(record.to_json()); [INFO] [stdout] | ^^^^ method not found in `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_json` found for array `[std::string::String; 20]` in the current scope [INFO] [stdout] --> src/main.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | res.push(record.to_json()); [INFO] [stdout] | ^^^^^^^ method not found in `[std::string::String; 20]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/main.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 92 | / fn main() { [INFO] [stdout] 93 | | let args = Args::parse(); [INFO] [stdout] 94 | | let mut results: Vec<[String; 20]> = Vec::new(); [INFO] [stdout] 95 | | let entry_count: u32; [INFO] [stdout] ... | [INFO] [stdout] 206 | | to_writer(&file, &res)? [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 209 | | println!("Finsihed benchmarks and saved data into {}", &args.file); [INFO] [stdout] 210 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lf-benchmark-runner` due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "83e00a821bb3757e408d3947db669a7cb31b41d2a0b0cc94032505edfcee1a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83e00a821bb3757e408d3947db669a7cb31b41d2a0b0cc94032505edfcee1a21", kill_on_drop: false }` [INFO] [stdout] 83e00a821bb3757e408d3947db669a7cb31b41d2a0b0cc94032505edfcee1a21