[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproprefenetre%2Frust-caesar" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/proprefenetre/rust-caesar 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/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-14/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: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] c41f6b6199462721aa8410b772ef351aeb26e1ace1a9e5d28bd1de4a1f5c7312 [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" "c41f6b6199462721aa8410b772ef351aeb26e1ace1a9e5d28bd1de4a1f5c7312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c41f6b6199462721aa8410b772ef351aeb26e1ace1a9e5d28bd1de4a1f5c7312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c41f6b6199462721aa8410b772ef351aeb26e1ace1a9e5d28bd1de4a1f5c7312", kill_on_drop: false }` [INFO] [stdout] c41f6b6199462721aa8410b772ef351aeb26e1ace1a9e5d28bd1de4a1f5c7312 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] df954904f6401d3fffa07b1a5b86b8082bc7d16215be8463e5e5c9596beb78a9 [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" "df954904f6401d3fffa07b1a5b86b8082bc7d16215be8463e5e5c9596beb78a9", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking strsim v0.7.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] | ^^^^^^^^ method not found in `Vec` [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] | ^^^^^^ help: there is an associated function with a similar name: `as_ptr` [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] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^ method not found in `Vec` [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] | ^^^^^^ help: there is an associated function with a similar name: `as_ptr` [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[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | &file_or_str(matches.value_of("caesar").unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `str`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | &file_or_str(matches.value_of("caesar").unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `str`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Vec` [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 struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [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] [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 struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [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] [stderr] error: could not compile `julius` [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: build failed [INFO] running `Command { std: "docker" "inspect" "df954904f6401d3fffa07b1a5b86b8082bc7d16215be8463e5e5c9596beb78a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df954904f6401d3fffa07b1a5b86b8082bc7d16215be8463e5e5c9596beb78a9", kill_on_drop: false }` [INFO] [stdout] df954904f6401d3fffa07b1a5b86b8082bc7d16215be8463e5e5c9596beb78a9