[INFO] cloning repository https://github.com/freiguy1/rust-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/freiguy1/rust-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreiguy1%2Frust-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreiguy1%2Frust-notes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1eaf624fdfd461889b8debfde6d08807695cdd13 [INFO] checking freiguy1/rust-notes against master#d14d202262d13df896b0c624b0cec6e4bfde631a for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreiguy1%2Frust-notes" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/freiguy1/rust-notes [INFO] finished tweaking git repo https://github.com/freiguy1/rust-notes [INFO] tweaked toml for git repo https://github.com/freiguy1/rust-notes written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/freiguy1/rust-notes on toolchain d14d202262d13df896b0c624b0cec6e4bfde631a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/freiguy1/rust-notes 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" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e91201117e23e8df3e82fbd9876e3e9ffb6bfcc20ce506b7eeda936442735d3 [INFO] running `Command { std: "docker" "start" "-a" "9e91201117e23e8df3e82fbd9876e3e9ffb6bfcc20ce506b7eeda936442735d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e91201117e23e8df3e82fbd9876e3e9ffb6bfcc20ce506b7eeda936442735d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e91201117e23e8df3e82fbd9876e3e9ffb6bfcc20ce506b7eeda936442735d3", kill_on_drop: false }` [INFO] [stdout] 9e91201117e23e8df3e82fbd9876e3e9ffb6bfcc20ce506b7eeda936442735d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57c5ce0eba786ff2bfdab7e277d6c281803276f849e9672bec854a70d75600c0 [INFO] running `Command { std: "docker" "start" "-a" "57c5ce0eba786ff2bfdab7e277d6c281803276f849e9672bec854a70d75600c0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking strsim v0.9.3 [INFO] [stderr] Checking quick-error v2.0.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Checking handlebars v3.5.1 [INFO] [stderr] Checking rust-notes v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | let dest_path = dest.clone().join(&relative); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 52 - let dest_path = dest.clone().join(&relative); [INFO] [stdout] 52 + let dest_path = dest.join(&relative); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/file_type/mod.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | let mut temp = PathBuf::from(path.clone().parent().unwrap()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 73 - let mut temp = PathBuf::from(path.clone().parent().unwrap()); [INFO] [stdout] 73 + let mut temp = PathBuf::from(path.parent().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:53:55 [INFO] [stdout] | [INFO] [stdout] 53 | fn my_relative_from<'a, P: ?Sized + AsRef>(&'a self, base: &'a P) -> Option<&Path>; [INFO] [stdout] | ^^ ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 | fn my_relative_from<'a, P: ?Sized + AsRef>(&'a self, base: &'a P) -> Option<&'a Path>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 57 | fn my_relative_from<'a, P: ?Sized + AsRef>(&'a self, base: &'a P) -> Option<&Path> { [INFO] [stdout] | ^^ ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 57 | fn my_relative_from<'a, P: ?Sized + AsRef>(&'a self, base: &'a P) -> Option<&'a Path> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | let dest_path = dest.clone().join(&relative); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 52 - let dest_path = dest.clone().join(&relative); [INFO] [stdout] 52 + let dest_path = dest.join(&relative); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/file_type/mod.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | let mut temp = PathBuf::from(path.clone().parent().unwrap()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 73 - let mut temp = PathBuf::from(path.clone().parent().unwrap()); [INFO] [stdout] 73 + let mut temp = PathBuf::from(path.parent().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:53:55 [INFO] [stdout] | [INFO] [stdout] 53 | fn my_relative_from<'a, P: ?Sized + AsRef>(&'a self, base: &'a P) -> Option<&Path>; [INFO] [stdout] | ^^ ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 | fn my_relative_from<'a, P: ?Sized + AsRef>(&'a self, base: &'a P) -> Option<&'a Path>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 57 | fn my_relative_from<'a, P: ?Sized + AsRef>(&'a self, base: &'a P) -> Option<&Path> { [INFO] [stdout] | ^^ ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 57 | fn my_relative_from<'a, P: ?Sized + AsRef>(&'a self, base: &'a P) -> Option<&'a Path> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.47s [INFO] running `Command { std: "docker" "inspect" "57c5ce0eba786ff2bfdab7e277d6c281803276f849e9672bec854a70d75600c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57c5ce0eba786ff2bfdab7e277d6c281803276f849e9672bec854a70d75600c0", kill_on_drop: false }` [INFO] [stdout] 57c5ce0eba786ff2bfdab7e277d6c281803276f849e9672bec854a70d75600c0