[INFO] updating cached repository https://github.com/orin220444/linkfinder_rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2bef838c5c1da85616adbfc58fbdb2b680a2c85b [INFO] testing orin220444/linkfinder_rust against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forin220444%2Flinkfinder_rust" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/orin220444/linkfinder_rust on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-3/source/Cargo.toml [INFO] crate git repo https://github.com/orin220444/linkfinder_rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cda622563937bfb5450795826997bb9fbe94b20262e174f0d192b0ca6fe0d84b [INFO] running `"docker" "start" "-a" "cda622563937bfb5450795826997bb9fbe94b20262e174f0d192b0ca6fe0d84b"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling serde v1.0.106 [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 proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [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] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | ///get all the data from the file to a variable [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 15 | / let content = std::fs::read_to_string(&args.path) [INFO] [stderr] 16 | | .expect("could not read file"); [INFO] [stderr] | |_______________________________- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::Debug` [INFO] [stderr] --> src/main.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use std::fmt::Debug; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stderr] --> src/main.rs:30:1 [INFO] [stderr] | [INFO] [stderr] 12 | / fn main() { [INFO] [stderr] 13 | | let args = Cli::from_args(); [INFO] [stderr] 14 | | ///get all the data from the file to a variable [INFO] [stderr] 15 | | let content = std::fs::read_to_string(&args.path) [INFO] [stderr] ... | [INFO] [stderr] 30 | | serde_json::from_str(&content)?;//.expect("JSON not well-formatted"); [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stderr] ... | [INFO] [stderr] 35 | | [INFO] [stderr] 36 | | } [INFO] [stderr] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stderr] = note: required by `std::ops::Try::from_error` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `main::Entity: serde::Deserialize<'_>` is not satisfied [INFO] [stderr] --> src/main.rs:30:1 [INFO] [stderr] | [INFO] [stderr] 30 | serde_json::from_str(&content)?;//.expect("JSON not well-formatted"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ the trait `serde::Deserialize<'_>` is not implemented for `main::Entity` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.51/src/de.rs:2397:8 [INFO] [stderr] | [INFO] [stderr] 2397 | T: de::Deserialize<'a>, [INFO] [stderr] | ------------------- required by this bound in `serde_json::from_str` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::Deserialize<'_>` for `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Entity` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/main.rs:31:28 [INFO] [stderr] | [INFO] [stderr] 31 | println!("entities: {:#?}",entities); [INFO] [stderr] | ^^^^^^^^ `main::Entity` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `main::Entity` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `std::vec::Vec` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `main::Entity` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/main.rs:33:19 [INFO] [stderr] | [INFO] [stderr] 33 | println!("{:#?}", [i]); [INFO] [stderr] | ^^^ `main::Entity` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `main::Entity` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `[main::Entity; 1]` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `linkfinder`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "cda622563937bfb5450795826997bb9fbe94b20262e174f0d192b0ca6fe0d84b"` [INFO] running `"docker" "rm" "-f" "cda622563937bfb5450795826997bb9fbe94b20262e174f0d192b0ca6fe0d84b"` [INFO] [stdout] cda622563937bfb5450795826997bb9fbe94b20262e174f0d192b0ca6fe0d84b