[INFO] cloning repository https://github.com/ThatsGobbles/normalize [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThatsGobbles/normalize" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThatsGobbles%2Fnormalize", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThatsGobbles%2Fnormalize'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a565f4edcc3c3401eb0f733ade72fa3da317c268 [INFO] checking ThatsGobbles/normalize/a565f4edcc3c3401eb0f733ade72fa3da317c268 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThatsGobbles%2Fnormalize" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThatsGobbles/normalize on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThatsGobbles/normalize [INFO] finished tweaking git repo https://github.com/ThatsGobbles/normalize [INFO] tweaked toml for git repo https://github.com/ThatsGobbles/normalize written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ThatsGobbles/normalize 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76d8f5bca23eac216c8e83acd361386c00fcf8e55664d4cb320589de49e582b9 [INFO] running `Command { std: "docker" "start" "-a" "76d8f5bca23eac216c8e83acd361386c00fcf8e55664d4cb320589de49e582b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76d8f5bca23eac216c8e83acd361386c00fcf8e55664d4cb320589de49e582b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76d8f5bca23eac216c8e83acd361386c00fcf8e55664d4cb320589de49e582b9", kill_on_drop: false }` [INFO] [stdout] 76d8f5bca23eac216c8e83acd361386c00fcf8e55664d4cb320589de49e582b9 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d214e63b0e2c253130020485b23165a856293b98bc4a1700793fb48cfc45cc9 [INFO] running `Command { std: "docker" "start" "-a" "7d214e63b0e2c253130020485b23165a856293b98bc4a1700793fb48cfc45cc9", kill_on_drop: false }` [INFO] [stderr] Checking normalize v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/normalize.rs:54:48 [INFO] [stdout] | [INFO] [stdout] 54 | return PathBuf::from(Component::CurDir.as_ref()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Component<'_>: AsRef<_>` found in the `std` crate: [INFO] [stdout] - impl AsRef for Component<'_>; [INFO] [stdout] - impl AsRef for Component<'_>; [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 54 | return PathBuf::from( as AsRef>::as_ref(&Component::CurDir)); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/normalize.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | norm_path.push(item.as_ref()); [INFO] [stdout] | ^^^^ cannot infer type of the type parameter `P` declared on the method `push` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `_: AsRef` found [INFO] [stdout] --> src/normalize.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn normalize>(p: P) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: and more `impl`s found in the following crates: `std`: [INFO] [stdout] - impl AsRef for OsStr; [INFO] [stdout] - impl AsRef for OsString; [INFO] [stdout] - impl AsRef for Path; [INFO] [stdout] - impl AsRef for PathBuf; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: required for `&P` to implement `AsRef` [INFO] [stdout] note: required by a bound in `PathBuf::push` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/path.rs:1268:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 60 | norm_path.push::<&T>(item.as_ref()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `normalize` (bin "normalize") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/normalize.rs:54:48 [INFO] [stdout] | [INFO] [stdout] 54 | return PathBuf::from(Component::CurDir.as_ref()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Component<'_>: AsRef<_>` found in the `std` crate: [INFO] [stdout] - impl AsRef for Component<'_>; [INFO] [stdout] - impl AsRef for Component<'_>; [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 54 | return PathBuf::from( as AsRef>::as_ref(&Component::CurDir)); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/normalize.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | norm_path.push(item.as_ref()); [INFO] [stdout] | ^^^^ cannot infer type of the type parameter `P` declared on the method `push` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `_: AsRef` found [INFO] [stdout] --> src/normalize.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn normalize>(p: P) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: and more `impl`s found in the following crates: `std`: [INFO] [stdout] - impl AsRef for OsStr; [INFO] [stdout] - impl AsRef for OsString; [INFO] [stdout] - impl AsRef for Path; [INFO] [stdout] - impl AsRef for PathBuf; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: required for `&P` to implement `AsRef` [INFO] [stdout] note: required by a bound in `PathBuf::push` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/path.rs:1268:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 60 | norm_path.push::<&T>(item.as_ref()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `normalize` (bin "normalize" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "7d214e63b0e2c253130020485b23165a856293b98bc4a1700793fb48cfc45cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d214e63b0e2c253130020485b23165a856293b98bc4a1700793fb48cfc45cc9", kill_on_drop: false }` [INFO] [stdout] 7d214e63b0e2c253130020485b23165a856293b98bc4a1700793fb48cfc45cc9