[INFO] cloning repository https://github.com/adamkali/RustyDocs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adamkali/RustyDocs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamkali%2FRustyDocs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamkali%2FRustyDocs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffbc7b545a2b943e8f6dfff4e6b94ee16b76bf0c [INFO] testing adamkali/RustyDocs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamkali%2FRustyDocs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adamkali/RustyDocs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adamkali/RustyDocs [INFO] finished tweaking git repo https://github.com/adamkali/RustyDocs [INFO] tweaked toml for git repo https://github.com/adamkali/RustyDocs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/adamkali/RustyDocs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ba56b66ab7f237752f7b5302ad3a1f90f492fd92db9b90849681d25c670ede6 [INFO] running `Command { std: "docker" "start" "-a" "3ba56b66ab7f237752f7b5302ad3a1f90f492fd92db9b90849681d25c670ede6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ba56b66ab7f237752f7b5302ad3a1f90f492fd92db9b90849681d25c670ede6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ba56b66ab7f237752f7b5302ad3a1f90f492fd92db9b90849681d25c670ede6", kill_on_drop: false }` [INFO] [stdout] 3ba56b66ab7f237752f7b5302ad3a1f90f492fd92db9b90849681d25c670ede6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e33468eb1ea69cfb0ccbd983b08c27094b9d811722baaee24d4ec21944e78031 [INFO] running `Command { std: "docker" "start" "-a" "e33468eb1ea69cfb0ccbd983b08c27094b9d811722baaee24d4ec21944e78031", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling clap v3.1.8 [INFO] [stderr] Compiling RustyDocs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found `*` [INFO] [stdout] --> src/read.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 52 | self.documentation_json = FuncType { [INFO] [stdout] | -------- while parsing this struct [INFO] [stdout] 53 | *self.documentation_json.find_path(&["value", ]) [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Documentation` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Documentation::init() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::read::Documentation` exists but is inaccessible [INFO] [stdout] --> src/read.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | struct Documentation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/read.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | if (value.as_string().unwrap() == "documentation".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 - if (value.as_string().unwrap() == "documentation".to_string()) { [INFO] [stdout] 51 + if value.as_string().unwrap() == "documentation".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::{Arg, App}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `clap::App`: Replaced with `Command` [INFO] [stdout] --> src/main.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let matches = App::new("My Test Program") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot construct `FuncType` with struct literal syntax due to inaccessible fields [INFO] [stdout] --> src/read.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | self.documentation_json = FuncType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/read.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | self.documentation_json = FuncType { [INFO] [stdout] | _____________-----------------------___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to the type of this binding [INFO] [stdout] 53 | | *self.documentation_json.find_path(&["value", ]) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____________^ expected enum `Json`, found struct `FuncType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `RustyDocs` due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e33468eb1ea69cfb0ccbd983b08c27094b9d811722baaee24d4ec21944e78031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e33468eb1ea69cfb0ccbd983b08c27094b9d811722baaee24d4ec21944e78031", kill_on_drop: false }` [INFO] [stdout] e33468eb1ea69cfb0ccbd983b08c27094b9d811722baaee24d4ec21944e78031