[INFO] updating cached repository https://github.com/Alexandra-Vogt/codes [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0bc3b6b43ab97aa9a654bba28e8e47b031f69c23 [INFO] checking Alexandra-Vogt/codes against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexandra-Vogt%2Fcodes" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alexandra-Vogt/codes on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-9/source/Cargo.toml [INFO] crate git repo https://github.com/Alexandra-Vogt/codes already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a17e89f0b54be30cf03919e0e0b8f51843331adac0206d404b19a275144410fb [INFO] running `"docker" "start" "-a" "a17e89f0b54be30cf03919e0e0b8f51843331adac0206d404b19a275144410fb"` [INFO] [stderr] Checking codes v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stderr] --> src/main.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | fn modxor(val) -> u8 { [INFO] [stderr] | ^ expected one of `:`, `@`, or `|` [INFO] [stderr] | [INFO] [stderr] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stderr] help: if this is a `self` type, give it a parameter name [INFO] [stderr] | [INFO] [stderr] 1 | fn modxor(self: val) -> u8 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] help: if this was a parameter name, give it a type [INFO] [stderr] | [INFO] [stderr] 1 | fn modxor(val: TypeName) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] help: if this is a type, explicitly ignore the parameter name [INFO] [stderr] | [INFO] [stderr] 1 | fn modxor(_: val) -> u8 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stderr] --> src/main.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(msg, cipher) -> str { [INFO] [stderr] | ^ expected one of `:`, `@`, or `|` [INFO] [stderr] | [INFO] [stderr] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stderr] help: if this is a `self` type, give it a parameter name [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(self: msg, cipher) -> str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] help: if this was a parameter name, give it a type [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(msg: TypeName, cipher) -> str { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] help: if this is a type, explicitly ignore the parameter name [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(_: msg, cipher) -> str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stderr] --> src/main.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(msg, cipher) -> str { [INFO] [stderr] | ^ expected one of `:`, `@`, or `|` [INFO] [stderr] | [INFO] [stderr] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stderr] help: if this was a parameter name, give it a type [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(msg, cipher: TypeName) -> str { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] help: if this is a type, explicitly ignore the parameter name [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(msg, _: cipher) -> str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stderr] --> src/main.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | fn modxor(val) -> u8 { [INFO] [stderr] | ^ expected one of `:`, `@`, or `|` [INFO] [stderr] | [INFO] [stderr] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stderr] help: if this is a `self` type, give it a parameter name [INFO] [stderr] | [INFO] [stderr] 1 | fn modxor(self: val) -> u8 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] help: if this was a parameter name, give it a type [INFO] [stderr] | [INFO] [stderr] 1 | fn modxor(val: TypeName) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] help: if this is a type, explicitly ignore the parameter name [INFO] [stderr] | [INFO] [stderr] 1 | fn modxor(_: val) -> u8 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stderr] --> src/main.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(msg, cipher) -> str { [INFO] [stderr] | ^ expected one of `:`, `@`, or `|` [INFO] [stderr] | [INFO] [stderr] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stderr] help: if this is a `self` type, give it a parameter name [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(self: msg, cipher) -> str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] help: if this was a parameter name, give it a type [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(msg: TypeName, cipher) -> str { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] help: if this is a type, explicitly ignore the parameter name [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(_: msg, cipher) -> str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stderr] --> src/main.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(msg, cipher) -> str { [INFO] [stderr] | ^ expected one of `:`, `@`, or `|` [INFO] [stderr] | [INFO] [stderr] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stderr] help: if this was a parameter name, give it a type [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(msg, cipher: TypeName) -> str { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] help: if this is a type, explicitly ignore the parameter name [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(msg, _: cipher) -> str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `d` in this scope [INFO] [stderr] --> src/main.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | let d = c ^ d; [INFO] [stderr] | ^ help: a local variable with a similar name exists: `a` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `d` in this scope [INFO] [stderr] --> src/main.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | let d = c ^ d; [INFO] [stderr] | ^ help: a local variable with a similar name exists: `a` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(msg, cipher) -> str { [INFO] [stderr] | ^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: the return type of a function must have a statically known size [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(msg, cipher) -> str { [INFO] [stderr] | ^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: the return type of a function must have a statically known size [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(msg, cipher) -> str { [INFO] [stderr] | --- expected `str` because of return type [INFO] [stderr] 6 | / for byte in cipher.as_bytes(){ [INFO] [stderr] 7 | | } [INFO] [stderr] | |_____^ expected `str`, found `()` [INFO] [stderr] [INFO] [stderr] error[E0369]: no implementation for `&str ^ &str` [INFO] [stderr] --> src/main.rs:14:15 [INFO] [stderr] | [INFO] [stderr] 14 | let c = a ^ b; [INFO] [stderr] | - ^ - &str [INFO] [stderr] | | [INFO] [stderr] | &str [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0369, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 5 | fn crypt(msg, cipher) -> str { [INFO] [stderr] | --- expected `str` because of return type [INFO] [stderr] 6 | / for byte in cipher.as_bytes(){ [INFO] [stderr] 7 | | } [INFO] [stderr] | |_____^ expected `str`, found `()` [INFO] [stderr] [INFO] [stderr] error[E0369]: no implementation for `&str ^ &str` [INFO] [stderr] --> src/main.rs:14:15 [INFO] [stderr] | [INFO] [stderr] 14 | let c = a ^ b; [INFO] [stderr] | - ^ - &str [INFO] [stderr] | | [INFO] [stderr] | &str [INFO] [stderr] [INFO] [stderr] error: could not compile `codes`. [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] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0369, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `codes`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a17e89f0b54be30cf03919e0e0b8f51843331adac0206d404b19a275144410fb"` [INFO] running `"docker" "rm" "-f" "a17e89f0b54be30cf03919e0e0b8f51843331adac0206d404b19a275144410fb"` [INFO] [stdout] a17e89f0b54be30cf03919e0e0b8f51843331adac0206d404b19a275144410fb