[INFO] cloning repository https://github.com/Alexandra-Vogt/codes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alexandra-Vogt/codes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexandra-Vogt%2Fcodes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexandra-Vogt%2Fcodes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0bc3b6b43ab97aa9a654bba28e8e47b031f69c23 [INFO] checking Alexandra-Vogt/codes against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexandra-Vogt%2Fcodes" "/workspace/builds/worker-81/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-81/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alexandra-Vogt/codes on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Alexandra-Vogt/codes [INFO] finished tweaking git repo https://github.com/Alexandra-Vogt/codes [INFO] tweaked toml for git repo https://github.com/Alexandra-Vogt/codes written to /workspace/builds/worker-81/source/Cargo.toml [INFO] crate git repo https://github.com/Alexandra-Vogt/codes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4860da4c98d712bc897f0be2ef215bada2b9b3f7247497ee17bda7b222b1daa [INFO] running `Command { std: "docker" "start" "-a" "e4860da4c98d712bc897f0be2ef215bada2b9b3f7247497ee17bda7b222b1daa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4860da4c98d712bc897f0be2ef215bada2b9b3f7247497ee17bda7b222b1daa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4860da4c98d712bc897f0be2ef215bada2b9b3f7247497ee17bda7b222b1daa", kill_on_drop: false }` [INFO] [stdout] e4860da4c98d712bc897f0be2ef215bada2b9b3f7247497ee17bda7b222b1daa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce26254ad9de7dc37c752ff6634759f001719cc10775d1da835f2a8cd8a0bfd2 [INFO] running `Command { std: "docker" "start" "-a" "ce26254ad9de7dc37c752ff6634759f001719cc10775d1da835f2a8cd8a0bfd2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking codes v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | fn modxor(val) -> u8 { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 1 | fn modxor(self: val) -> u8 { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 1 | fn modxor(val: TypeName) -> u8 { [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 1 | fn modxor(_: val) -> u8 { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(msg, cipher) -> str { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(self: msg, cipher) -> str { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(msg: TypeName, cipher) -> str { [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(_: msg, cipher) -> str { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(msg, cipher) -> str { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(msg, cipher: TypeName) -> str { [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(msg, _: cipher) -> str { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d` in this scope [INFO] [stdout] --> src/main.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let d = c ^ d; [INFO] [stdout] | ^ help: a local variable with a similar name exists: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(msg, cipher) -> str { [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(msg, cipher) -> str { [INFO] [stdout] | --- expected `str` because of return type [INFO] [stdout] 6 | / for byte in cipher.as_bytes(){ [INFO] [stdout] 7 | | } [INFO] [stdout] | |_____^ expected `str`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: no implementation for `&str ^ &str` [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | let c = a ^ b; [INFO] [stdout] | - ^ - &str [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `codes` due to 8 previous errors [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | fn modxor(val) -> u8 { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 1 | fn modxor(self: val) -> u8 { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 1 | fn modxor(val: TypeName) -> u8 { [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 1 | fn modxor(_: val) -> u8 { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(msg, cipher) -> str { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(self: msg, cipher) -> str { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(msg: TypeName, cipher) -> str { [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(_: msg, cipher) -> str { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(msg, cipher) -> str { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(msg, cipher: TypeName) -> str { [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(msg, _: cipher) -> str { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d` in this scope [INFO] [stdout] --> src/main.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let d = c ^ d; [INFO] [stdout] | ^ help: a local variable with a similar name exists: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(msg, cipher) -> str { [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | fn crypt(msg, cipher) -> str { [INFO] [stdout] | --- expected `str` because of return type [INFO] [stdout] 6 | / for byte in cipher.as_bytes(){ [INFO] [stdout] 7 | | } [INFO] [stdout] | |_____^ expected `str`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: no implementation for `&str ^ &str` [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | let c = a ^ b; [INFO] [stdout] | - ^ - &str [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ce26254ad9de7dc37c752ff6634759f001719cc10775d1da835f2a8cd8a0bfd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce26254ad9de7dc37c752ff6634759f001719cc10775d1da835f2a8cd8a0bfd2", kill_on_drop: false }` [INFO] [stdout] ce26254ad9de7dc37c752ff6634759f001719cc10775d1da835f2a8cd8a0bfd2