[INFO] cloning repository https://github.com/sombrastudios/substr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sombrastudios/substr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsombrastudios%2Fsubstr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsombrastudios%2Fsubstr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88e9f0d2ae20e0e0cc736831ee95241dacf97e82 [INFO] checking sombrastudios/substr against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsombrastudios%2Fsubstr" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sombrastudios/substr on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sombrastudios/substr [INFO] finished tweaking git repo https://github.com/sombrastudios/substr [INFO] tweaked toml for git repo https://github.com/sombrastudios/substr written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/sombrastudios/substr already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42ac29988f2c9b89e87d15423d8664b8240de55f77a8b19bfb693fb4cd3d44d2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "42ac29988f2c9b89e87d15423d8664b8240de55f77a8b19bfb693fb4cd3d44d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42ac29988f2c9b89e87d15423d8664b8240de55f77a8b19bfb693fb4cd3d44d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ac29988f2c9b89e87d15423d8664b8240de55f77a8b19bfb693fb4cd3d44d2", kill_on_drop: false }` [INFO] [stdout] 42ac29988f2c9b89e87d15423d8664b8240de55f77a8b19bfb693fb4cd3d44d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e12bdf7974b5c3ff3df0c7d48ae5749eef44711da1c8f4658cda11f3f12c1183 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e12bdf7974b5c3ff3df0c7d48ae5749eef44711da1c8f4658cda11f3f12c1183", kill_on_drop: false }` [INFO] [stderr] Checking substr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `,` [INFO] [stdout] --> src/main.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 32 | ["-s", index, rest..] => self.with_start(index.parse().expect("expect number after -s flag")).from_args(rest) [INFO] [stdout] | -- while parsing the `match` arm starting here [INFO] [stdout] 33 | ["-e", index, rest..] => self.with_end(index.parse().expect("expect number after -e flag")).from_args(rest) [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `,` [INFO] [stdout] --> src/main.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 32 | ["-s", index, rest..] => self.with_start(index.parse().expect("expect number after -s flag")).from_args(rest) [INFO] [stdout] | -- while parsing the `match` arm starting here [INFO] [stdout] 33 | ["-e", index, rest..] => self.with_end(index.parse().expect("expect number after -e flag")).from_args(rest) [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/main.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | ["-s", index, rest..] => self.with_start(index.parse().expect("expect number after -s flag")).from_args(rest) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable [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 E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `substr` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/main.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | ["-s", index, rest..] => self.with_start(index.parse().expect("expect number after -s flag")).from_args(rest) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable [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 E0658`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e12bdf7974b5c3ff3df0c7d48ae5749eef44711da1c8f4658cda11f3f12c1183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e12bdf7974b5c3ff3df0c7d48ae5749eef44711da1c8f4658cda11f3f12c1183", kill_on_drop: false }` [INFO] [stdout] e12bdf7974b5c3ff3df0c7d48ae5749eef44711da1c8f4658cda11f3f12c1183