[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#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreiguy1%2Frust-notes" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/freiguy1/rust-notes on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded handlebars v3.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6e2b957ad8b071b660adb7696d27f53d0fc1652e484e107deb317411b60b577 [INFO] running `Command { std: "docker" "start" "-a" "b6e2b957ad8b071b660adb7696d27f53d0fc1652e484e107deb317411b60b577", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6e2b957ad8b071b660adb7696d27f53d0fc1652e484e107deb317411b60b577", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e2b957ad8b071b660adb7696d27f53d0fc1652e484e107deb317411b60b577", kill_on_drop: false }` [INFO] [stdout] b6e2b957ad8b071b660adb7696d27f53d0fc1652e484e107deb317411b60b577 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f4e958057adcca9839324d533f48043a1db3ab8561114b52955b652c9489470 [INFO] running `Command { std: "docker" "start" "-a" "2f4e958057adcca9839324d533f48043a1db3ab8561114b52955b652c9489470", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking strsim v0.9.3 [INFO] [stderr] Checking pest v2.1.3 [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 serde_derive v1.0.117 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking serde v1.0.117 [INFO] [stderr] Checking serde_json v1.0.59 [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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/util.rs:53:87 [INFO] [stdout] | [INFO] [stdout] 53 | fn my_relative_from<'a, P: ?Sized + AsRef>(&'a self, base: &'a P) -> Option<&Path>; [INFO] [stdout] | -- -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/util.rs:57:87 [INFO] [stdout] | [INFO] [stdout] 57 | fn my_relative_from<'a, P: ?Sized + AsRef>(&'a self, base: &'a P) -> Option<&Path> { [INFO] [stdout] | -- -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/util.rs:53:87 [INFO] [stdout] | [INFO] [stdout] 53 | fn my_relative_from<'a, P: ?Sized + AsRef>(&'a self, base: &'a P) -> Option<&Path>; [INFO] [stdout] | -- -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/util.rs:57:87 [INFO] [stdout] | [INFO] [stdout] 57 | fn my_relative_from<'a, P: ?Sized + AsRef>(&'a self, base: &'a P) -> Option<&Path> { [INFO] [stdout] | -- -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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 12.34s [INFO] running `Command { std: "docker" "inspect" "2f4e958057adcca9839324d533f48043a1db3ab8561114b52955b652c9489470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f4e958057adcca9839324d533f48043a1db3ab8561114b52955b652c9489470", kill_on_drop: false }` [INFO] [stdout] 2f4e958057adcca9839324d533f48043a1db3ab8561114b52955b652c9489470