[INFO] fetching crate pcomb 0.1.0... [INFO] checking pcomb-0.1.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate pcomb 0.1.0 into /workspace/builds/worker-110/source [INFO] validating manifest of crates.io crate pcomb 0.1.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pcomb 0.1.0 [INFO] finished tweaking crates.io crate pcomb 0.1.0 [INFO] tweaked toml for crates.io crate pcomb 0.1.0 written to /workspace/builds/worker-110/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22fe9aa858c4f18fe3d3a37e08295642aaf58e272ed558c7842ac626f6a3e3c2 [INFO] running `Command { std: "docker" "start" "-a" "22fe9aa858c4f18fe3d3a37e08295642aaf58e272ed558c7842ac626f6a3e3c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22fe9aa858c4f18fe3d3a37e08295642aaf58e272ed558c7842ac626f6a3e3c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22fe9aa858c4f18fe3d3a37e08295642aaf58e272ed558c7842ac626f6a3e3c2", kill_on_drop: false }` [INFO] [stdout] 22fe9aa858c4f18fe3d3a37e08295642aaf58e272ed558c7842ac626f6a3e3c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9ac13fee06d893da08010881267d6e7ec05707e96136f490281a9eb007dd3e8 [INFO] running `Command { std: "docker" "start" "-a" "b9ac13fee06d893da08010881267d6e7ec05707e96136f490281a9eb007dd3e8", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking pcomb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the `or` method cannot be invoked on a trait object [INFO] [stdout] --> src/test.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | parser = parser.or(Match(&i.to_string())); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/str.rs:38:65 [INFO] [stdout] | [INFO] [stdout] 38 | where O: Parse, Self: Sized { [INFO] [stdout] | ----- this has a `Sized` requirement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `{integer}` [INFO] [stdout] --> src/test.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 97 | for i in 1..=5 { [INFO] [stdout] | ----- the element type for this iterator is not specified [INFO] [stdout] 98 | parser = parser.or(Match(&i.to_string())); [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToString` found in the `alloc` crate: [INFO] [stdout] - impl ToString for i8; [INFO] [stdout] - impl ToString for u8; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `fuse` method cannot be invoked on a trait object [INFO] [stdout] --> src/test.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | parser = parser.fuse(Match(&i.to_string())); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/str.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | Self: Sized, [INFO] [stdout] | ----- this has a `Sized` requirement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `{integer}` [INFO] [stdout] --> src/test.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 109 | for i in 1..=5 { [INFO] [stdout] | ----- the element type for this iterator is not specified [INFO] [stdout] 110 | parser = parser.fuse(Match(&i.to_string())); [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToString` found in the `alloc` crate: [INFO] [stdout] - impl ToString for i8; [INFO] [stdout] - impl ToString for u8; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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 `pcomb` due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "b9ac13fee06d893da08010881267d6e7ec05707e96136f490281a9eb007dd3e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ac13fee06d893da08010881267d6e7ec05707e96136f490281a9eb007dd3e8", kill_on_drop: false }` [INFO] [stdout] b9ac13fee06d893da08010881267d6e7ec05707e96136f490281a9eb007dd3e8