[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#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsombrastudios%2Fsubstr" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sombrastudios/substr on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1219890815bd8da4d972442ce4371e9fd16de6c00e0b55db99502eb385c0610e [INFO] running `Command { std: "docker" "start" "-a" "1219890815bd8da4d972442ce4371e9fd16de6c00e0b55db99502eb385c0610e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1219890815bd8da4d972442ce4371e9fd16de6c00e0b55db99502eb385c0610e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1219890815bd8da4d972442ce4371e9fd16de6c00e0b55db99502eb385c0610e", kill_on_drop: false }` [INFO] [stdout] 1219890815bd8da4d972442ce4371e9fd16de6c00e0b55db99502eb385c0610e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 958f4e9325856187978a739751214f5922a2a0f34b9540c8a88b7d1d1d5a4249 [INFO] running `Command { std: "docker" "start" "-a" "958f4e9325856187978a739751214f5922a2a0f34b9540c8a88b7d1d1d5a4249", kill_on_drop: false }` [INFO] [stderr] Checking substr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `[` [INFO] [stdout] --> src/main.rs:33:13 [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] | ^ [INFO] [stdout] | [INFO] [stdout] help: consider adding `;` here [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] [INFO] [stdout] error: expected `;`, found `[` [INFO] [stdout] --> src/main.rs:33:13 [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] | ^ [INFO] [stdout] | [INFO] [stdout] help: consider adding `;` here [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] [INFO] [stdout] error[E0594]: cannot assign to `self.lines`, as `self` is not declared as mutable [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | self.lines = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 37 | fn with_lines(mut self) -> Cut { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `self.lines`, as `self` is not declared as mutable [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | self.lines = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 37 | fn with_lines(mut self) -> Cut { [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 E0594`. [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 E0594`. [INFO] [stdout] [INFO] [stderr] error: could not compile `substr` (bin "substr") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `substr` (bin "substr" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "958f4e9325856187978a739751214f5922a2a0f34b9540c8a88b7d1d1d5a4249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "958f4e9325856187978a739751214f5922a2a0f34b9540c8a88b7d1d1d5a4249", kill_on_drop: false }` [INFO] [stdout] 958f4e9325856187978a739751214f5922a2a0f34b9540c8a88b7d1d1d5a4249 [INFO] checking sombrastudios/substr against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsombrastudios%2Fsubstr" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sombrastudios/substr on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-4-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b941ba8ca5ad915d67473f3ed1be187bd955d0879f461963d320dbf369d432de [INFO] running `Command { std: "docker" "start" "-a" "b941ba8ca5ad915d67473f3ed1be187bd955d0879f461963d320dbf369d432de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b941ba8ca5ad915d67473f3ed1be187bd955d0879f461963d320dbf369d432de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b941ba8ca5ad915d67473f3ed1be187bd955d0879f461963d320dbf369d432de", kill_on_drop: false }` [INFO] [stdout] b941ba8ca5ad915d67473f3ed1be187bd955d0879f461963d320dbf369d432de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e3a18fcc4e90653aae0ec8557b414e872fbedd9ef4d4752d26ec05213587738 [INFO] running `Command { std: "docker" "start" "-a" "5e3a18fcc4e90653aae0ec8557b414e872fbedd9ef4d4752d26ec05213587738", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "5e3a18fcc4e90653aae0ec8557b414e872fbedd9ef4d4752d26ec05213587738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e3a18fcc4e90653aae0ec8557b414e872fbedd9ef4d4752d26ec05213587738", kill_on_drop: false }` [INFO] [stdout] 5e3a18fcc4e90653aae0ec8557b414e872fbedd9ef4d4752d26ec05213587738