[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#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThatsGobbles%2Fnormalize" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThatsGobbles/normalize on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-5-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 962b220cb10713974852c38ce52b76c914ec1cb5dd890211d267c965b4dee799 [INFO] running `Command { std: "docker" "start" "-a" "962b220cb10713974852c38ce52b76c914ec1cb5dd890211d267c965b4dee799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "962b220cb10713974852c38ce52b76c914ec1cb5dd890211d267c965b4dee799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "962b220cb10713974852c38ce52b76c914ec1cb5dd890211d267c965b4dee799", kill_on_drop: false }` [INFO] [stdout] 962b220cb10713974852c38ce52b76c914ec1cb5dd890211d267c965b4dee799 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2615743b87c3e06f3c2664bec77da5e9bca17db65aff86b94a924d0086e19ff7 [INFO] running `Command { std: "docker" "start" "-a" "2615743b87c3e06f3c2664bec77da5e9bca17db65aff86b94a924d0086e19ff7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/path.rs:1294: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/path.rs:1294: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" "2615743b87c3e06f3c2664bec77da5e9bca17db65aff86b94a924d0086e19ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2615743b87c3e06f3c2664bec77da5e9bca17db65aff86b94a924d0086e19ff7", kill_on_drop: false }` [INFO] [stdout] 2615743b87c3e06f3c2664bec77da5e9bca17db65aff86b94a924d0086e19ff7