[INFO] cloning repository https://github.com/proprefenetre/rust-caesar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/proprefenetre/rust-caesar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproprefenetre%2Frust-caesar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproprefenetre%2Frust-caesar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 360696a57de933b686b4bcf579ab07f6e808fb5b [INFO] checking proprefenetre/rust-caesar against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproprefenetre%2Frust-caesar" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/proprefenetre/rust-caesar on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/proprefenetre/rust-caesar [INFO] finished tweaking git repo https://github.com/proprefenetre/rust-caesar [INFO] tweaked toml for git repo https://github.com/proprefenetre/rust-caesar written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/proprefenetre/rust-caesar 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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fb6d11a5679a8c1c93b354d2225003b8d111c7297b573157669f5ae6ed5e715 [INFO] running `Command { std: "docker" "start" "-a" "7fb6d11a5679a8c1c93b354d2225003b8d111c7297b573157669f5ae6ed5e715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fb6d11a5679a8c1c93b354d2225003b8d111c7297b573157669f5ae6ed5e715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fb6d11a5679a8c1c93b354d2225003b8d111c7297b573157669f5ae6ed5e715", kill_on_drop: false }` [INFO] [stdout] 7fb6d11a5679a8c1c93b354d2225003b8d111c7297b573157669f5ae6ed5e715 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4df9a2f94527c8561d020ec6722d2e9460b2c4c8b65701a6ad81b9b962a48e1 [INFO] running `Command { std: "docker" "start" "-a" "b4df9a2f94527c8561d020ec6722d2e9460b2c4c8b65701a6ad81b9b962a48e1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking clap v2.30.0 [INFO] [stderr] Checking julius v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `push_str` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | key.push_str(key.repeat(text.len() / key.len()).as_str()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 108 - key.push_str(key.repeat(text.len() / key.len()).as_str()); [INFO] [stdout] 108 + key.push(key.repeat(text.len() / key.len()).as_str()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_str` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:108:57 [INFO] [stdout] | [INFO] [stdout] 108 | key.push_str(key.repeat(text.len() / key.len()).as_str()); [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | method `as_str` is available on `&[u8]` [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ptr` with a similar name [INFO] [stdout] | [INFO] [stdout] 108 - key.push_str(key.repeat(text.len() / key.len()).as_str()); [INFO] [stdout] 108 + key.push_str(key.repeat(text.len() / key.len()).as_ptr()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chars` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | for (k, t) in key.chars().zip(text.chars()) { [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_str` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | key.push_str(key.repeat(text.len() / key.len()).as_str()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 108 - key.push_str(key.repeat(text.len() / key.len()).as_str()); [INFO] [stdout] 108 + key.push(key.repeat(text.len() / key.len()).as_str()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_str` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:108:57 [INFO] [stdout] | [INFO] [stdout] 108 | key.push_str(key.repeat(text.len() / key.len()).as_str()); [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | method `as_str` is available on `&[u8]` [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ptr` with a similar name [INFO] [stdout] | [INFO] [stdout] 108 - key.push_str(key.repeat(text.len() / key.len()).as_str()); [INFO] [stdout] 108 + key.push_str(key.repeat(text.len() / key.len()).as_ptr()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chars` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | for (k, t) in key.chars().zip(text.chars()) { [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `Vec` with `&str` [INFO] [stdout] --> src/main.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | assert_eq!(file_or_str("this is a string").unwrap(), "this is a string") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Vec == &str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `Vec` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `Vec` implements `PartialEq` [INFO] [stdout] `Vec` implements `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 157 | value = caesar( [INFO] [stdout] | ------ arguments to this function are incorrect [INFO] [stdout] 158 | shift, [INFO] [stdout] 159 | &file_or_str(matches.value_of("caesar").unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn caesar(mut shift: i32, text: &str) -> String { [INFO] [stdout] | ^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | value = xor(key, &file_or_str(matches.value_of("xor").unwrap()).unwrap()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn xor(key: &str, text: &str) -> String { [INFO] [stdout] | ^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 157 | value = caesar( [INFO] [stdout] | ------ arguments to this function are incorrect [INFO] [stdout] 158 | shift, [INFO] [stdout] 159 | &file_or_str(matches.value_of("caesar").unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn caesar(mut shift: i32, text: &str) -> String { [INFO] [stdout] | ^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | value = xor(key, &file_or_str(matches.value_of("xor").unwrap()).unwrap()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn xor(key: &str, text: &str) -> String { [INFO] [stdout] | ^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `julius` (bin "julius") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `julius` (bin "julius" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "b4df9a2f94527c8561d020ec6722d2e9460b2c4c8b65701a6ad81b9b962a48e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4df9a2f94527c8561d020ec6722d2e9460b2c4c8b65701a6ad81b9b962a48e1", kill_on_drop: false }` [INFO] [stdout] b4df9a2f94527c8561d020ec6722d2e9460b2c4c8b65701a6ad81b9b962a48e1