[INFO] cloning repository https://github.com/mxcd/gitclone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mxcd/gitclone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmxcd%2Fgitclone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmxcd%2Fgitclone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a79722d0b75f0a55c1fb31e2fa75a756ddbc388 [INFO] testing mxcd/gitclone against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmxcd%2Fgitclone" "/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/mxcd/gitclone [INFO] finished tweaking git repo https://github.com/mxcd/gitclone [INFO] tweaked toml for git repo https://github.com/mxcd/gitclone written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mxcd/gitclone on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mxcd/gitclone 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yaml-rust v0.4.5 [INFO] [stderr] Downloaded linked-hash-map v0.5.4 [INFO] [stderr] Downloaded num_threads v0.1.5 [INFO] [stderr] Downloaded log v0.4.16 [INFO] [stderr] Downloaded pathdiff v0.2.1 [INFO] [stderr] Downloaded itoa v1.0.1 [INFO] [stderr] Downloaded argparse v0.2.2 [INFO] [stderr] Downloaded ryu v1.0.9 [INFO] [stderr] Downloaded proc-macro2 v1.0.37 [INFO] [stderr] Downloaded serde_derive v1.0.136 [INFO] [stderr] Downloaded memchr v2.4.1 [INFO] [stderr] Downloaded aho-corasick v0.7.18 [INFO] [stderr] Downloaded serde v1.0.136 [INFO] [stderr] Downloaded time v0.3.9 [INFO] [stderr] Downloaded quote v1.0.18 [INFO] [stderr] Downloaded serde_json v1.0.79 [INFO] [stderr] Downloaded unicode-xid v0.2.2 [INFO] [stderr] Downloaded syn v1.0.91 [INFO] [stderr] Downloaded rpassword v6.0.1 [INFO] [stderr] Downloaded simple_logger v2.1.0 [INFO] [stderr] Downloaded time-macros v0.2.4 [INFO] [stderr] Downloaded regex v1.5.5 [INFO] [stderr] Downloaded regex-syntax v0.6.25 [INFO] [stderr] Downloaded libc v0.2.124 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e00247be1d835508fec7821a4a00f75e5a023b8ebfe07912e402dd2cb4c3d90 [INFO] running `Command { std: "docker" "start" "-a" "7e00247be1d835508fec7821a4a00f75e5a023b8ebfe07912e402dd2cb4c3d90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e00247be1d835508fec7821a4a00f75e5a023b8ebfe07912e402dd2cb4c3d90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e00247be1d835508fec7821a4a00f75e5a023b8ebfe07912e402dd2cb4c3d90", kill_on_drop: false }` [INFO] [stdout] 7e00247be1d835508fec7821a4a00f75e5a023b8ebfe07912e402dd2cb4c3d90 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7477af62fbe14f55e3ade3f9b7fa10551c550b9627aab5ac7feb5991f349cad7 [INFO] running `Command { std: "docker" "start" "-a" "7477af62fbe14f55e3ade3f9b7fa10551c550b9627aab5ac7feb5991f349cad7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling argparse v0.2.2 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling simple_logger v2.1.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling rpassword v6.0.1 [INFO] [stderr] Compiling gitclone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/action_repository.rs:24:82 [INFO] [stdout] | [INFO] [stdout] 24 | let git_provider_connection_mode = root_file.get_git_provider_connection_mode().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `GitProviderConnectionMode` does not implement `Clone`, so calling `clone` on `&GitProviderConnectionMode` 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] 24 - let git_provider_connection_mode = root_file.get_git_provider_connection_mode().clone(); [INFO] [stdout] 24 + let git_provider_connection_mode = root_file.get_git_provider_connection_mode(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `GitProviderConnectionMode`, implement `Clone` for it [INFO] [stdout] --> src/root_file.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 + #[derive(Clone)] [INFO] [stdout] 58 | pub enum GitProviderConnectionMode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.01s [INFO] running `Command { std: "docker" "inspect" "7477af62fbe14f55e3ade3f9b7fa10551c550b9627aab5ac7feb5991f349cad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7477af62fbe14f55e3ade3f9b7fa10551c550b9627aab5ac7feb5991f349cad7", kill_on_drop: false }` [INFO] [stdout] 7477af62fbe14f55e3ade3f9b7fa10551c550b9627aab5ac7feb5991f349cad7 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 420cc1e703b778e626722ceec297169d8699b2d6306427c02f3476bb32652b43 [INFO] running `Command { std: "docker" "start" "-a" "420cc1e703b778e626722ceec297169d8699b2d6306427c02f3476bb32652b43", kill_on_drop: false }` [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/action_repository.rs:24:82 [INFO] [stdout] | [INFO] [stdout] 24 | let git_provider_connection_mode = root_file.get_git_provider_connection_mode().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `GitProviderConnectionMode` does not implement `Clone`, so calling `clone` on `&GitProviderConnectionMode` 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] 24 - let git_provider_connection_mode = root_file.get_git_provider_connection_mode().clone(); [INFO] [stdout] 24 + let git_provider_connection_mode = root_file.get_git_provider_connection_mode(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `GitProviderConnectionMode`, implement `Clone` for it [INFO] [stdout] --> src/root_file.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 + #[derive(Clone)] [INFO] [stdout] 58 | pub enum GitProviderConnectionMode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gitclone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/action_repository.rs:24:82 [INFO] [stdout] | [INFO] [stdout] 24 | let git_provider_connection_mode = root_file.get_git_provider_connection_mode().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `GitProviderConnectionMode` does not implement `Clone`, so calling `clone` on `&GitProviderConnectionMode` 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] 24 - let git_provider_connection_mode = root_file.get_git_provider_connection_mode().clone(); [INFO] [stdout] 24 + let git_provider_connection_mode = root_file.get_git_provider_connection_mode(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `GitProviderConnectionMode`, implement `Clone` for it [INFO] [stdout] --> src/root_file.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 + #[derive(Clone)] [INFO] [stdout] 58 | pub enum GitProviderConnectionMode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "420cc1e703b778e626722ceec297169d8699b2d6306427c02f3476bb32652b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "420cc1e703b778e626722ceec297169d8699b2d6306427c02f3476bb32652b43", kill_on_drop: false }` [INFO] [stdout] 420cc1e703b778e626722ceec297169d8699b2d6306427c02f3476bb32652b43 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 967b28fb46be4f8c55eae73158f2e8e991ac09fb388daaaee9ff10a744e48d45 [INFO] running `Command { std: "docker" "start" "-a" "967b28fb46be4f8c55eae73158f2e8e991ac09fb388daaaee9ff10a744e48d45", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/action_repository.rs:24:82 [INFO] [stderr] | [INFO] [stderr] 24 | let git_provider_connection_mode = root_file.get_git_provider_connection_mode().clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `GitProviderConnectionMode` does not implement `Clone`, so calling `clone` on `&GitProviderConnectionMode` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 24 - let git_provider_connection_mode = root_file.get_git_provider_connection_mode().clone(); [INFO] [stderr] 24 + let git_provider_connection_mode = root_file.get_git_provider_connection_mode(); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `GitProviderConnectionMode`, implement `Clone` for it [INFO] [stderr] --> src/root_file.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 + #[derive(Clone)] [INFO] [stderr] 58 | pub enum GitProviderConnectionMode { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `gitclone` (lib) generated 1 warning (run `cargo fix --lib -p gitclone` to apply 1 suggestion) [INFO] [stderr] warning: `gitclone` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gitclone-37eaaa38c4599dcb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/gitclone.rs (/opt/rustwide/target/debug/deps/gitclone-1cd585bca3c8ed15) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests gitclone [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "967b28fb46be4f8c55eae73158f2e8e991ac09fb388daaaee9ff10a744e48d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "967b28fb46be4f8c55eae73158f2e8e991ac09fb388daaaee9ff10a744e48d45", kill_on_drop: false }` [INFO] [stdout] 967b28fb46be4f8c55eae73158f2e8e991ac09fb388daaaee9ff10a744e48d45