[INFO] cloning repository https://github.com/orin220444/linkfinder_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/orin220444/linkfinder_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forin220444%2Flinkfinder_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forin220444%2Flinkfinder_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bef838c5c1da85616adbfc58fbdb2b680a2c85b [INFO] testing orin220444/linkfinder_rust against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forin220444%2Flinkfinder_rust" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/orin220444/linkfinder_rust on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/orin220444/linkfinder_rust [INFO] finished tweaking git repo https://github.com/orin220444/linkfinder_rust [INFO] tweaked toml for git repo https://github.com/orin220444/linkfinder_rust written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/orin220444/linkfinder_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ffecaf1a81a25faf1d86da0f60037590ba6867844832f349fb2aaad6ac9f2fe [INFO] running `Command { std: "docker" "start" "-a" "3ffecaf1a81a25faf1d86da0f60037590ba6867844832f349fb2aaad6ac9f2fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ffecaf1a81a25faf1d86da0f60037590ba6867844832f349fb2aaad6ac9f2fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ffecaf1a81a25faf1d86da0f60037590ba6867844832f349fb2aaad6ac9f2fe", kill_on_drop: false }` [INFO] [stdout] 3ffecaf1a81a25faf1d86da0f60037590ba6867844832f349fb2aaad6ac9f2fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52578f8cda339c748541770eb84a6d366d223472510e45d120c4f4cd566cadfb [INFO] running `Command { std: "docker" "start" "-a" "52578f8cda339c748541770eb84a6d366d223472510e45d120c4f4cd566cadfb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling linkfinder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0774]: `derive` may only be applied to `struct`s, `enum`s and `union`s [INFO] [stdout] --> src/main.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not applicable here [INFO] [stdout] 29 | / let entities: Vec = [INFO] [stdout] 30 | | serde_json::from_str(&content)?;//.expect("JSON not well-formatted"); [INFO] [stdout] | |________________________________- not a `struct`, `enum` or `union` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | ///get all the data from the file to a variable [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | / let content = std::fs::read_to_string(&args.path) [INFO] [stdout] 16 | | .expect("could not read file"); [INFO] [stdout] | |_______________________________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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:30:31 [INFO] [stdout] | [INFO] [stdout] 12 | / fn main() { [INFO] [stdout] 13 | | let args = Cli::from_args(); [INFO] [stdout] 14 | | ///get all the data from the file to a variable [INFO] [stdout] 15 | | let content = std::fs::read_to_string(&args.path) [INFO] [stdout] ... | [INFO] [stdout] 30 | | serde_json::from_str(&content)?;//.expect("JSON not well-formatted"); [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | } [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] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Entity: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/main.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | serde_json::from_str(&content)?;//.expect("JSON not well-formatted"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Entity` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.51/src/de.rs:2397:8 [INFO] [stdout] | [INFO] [stdout] 2397 | T: de::Deserialize<'a>, [INFO] [stdout] | ------------------- required by this bound in `serde_json::from_str` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Entity` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | println!("entities: {:#?}",entities); [INFO] [stdout] | ^^^^^^^^ `Entity` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Entity` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Entity` or manually `impl Debug for Entity` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Entity` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | println!("{:#?}", [i]); [INFO] [stdout] | ^^^ `Entity` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Entity` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Entity` or manually `impl Debug for Entity` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0774. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linkfinder` due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "52578f8cda339c748541770eb84a6d366d223472510e45d120c4f4cd566cadfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52578f8cda339c748541770eb84a6d366d223472510e45d120c4f4cd566cadfb", kill_on_drop: false }` [INFO] [stdout] 52578f8cda339c748541770eb84a6d366d223472510e45d120c4f4cd566cadfb