[INFO] updating cached repository https://github.com/proprefenetre/rust-caesar [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] 360696a57de933b686b4bcf579ab07f6e808fb5b [INFO] checking proprefenetre/rust-caesar against master#b61e69433951e31f7bd746e22f516a48ad41623b for prs-64470-and-65389 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproprefenetre%2Frust-caesar" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/proprefenetre/rust-caesar on toolchain b61e69433951e31f7bd746e22f516a48ad41623b [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "read-manifest" "--manifest-path" "Cargo.toml"` [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-12/source/Cargo.toml [INFO] crate git repo https://github.com/proprefenetre/rust-caesar already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+b61e69433951e31f7bd746e22f516a48ad41623b" "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] 983942745b1b6e7ac1f131257c1de77f614dd592ccab881262b3726cd65fc4eb [INFO] running `"docker" "start" "-a" "983942745b1b6e7ac1f131257c1de77f614dd592ccab881262b3726cd65fc4eb"` [INFO] [stderr] Checking julius v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0599]: no method named `push_str` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:108:13 [INFO] [stderr] | [INFO] [stderr] 108 | key.push_str(key.repeat(text.len() / key.len()).as_str()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'repeat_generic_slice': it's on str, why not on slice? [INFO] [stderr] --> src/main.rs:108:26 [INFO] [stderr] | [INFO] [stderr] 108 | key.push_str(key.repeat(text.len() / key.len()).as_str()); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/48784 [INFO] [stderr] = help: add `#![feature(repeat_generic_slice)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `push_str` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:108:13 [INFO] [stderr] | [INFO] [stderr] 108 | key.push_str(key.repeat(text.len() / key.len()).as_str()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'repeat_generic_slice': it's on str, why not on slice? [INFO] [stderr] --> src/main.rs:108:26 [INFO] [stderr] | [INFO] [stderr] 108 | key.push_str(key.repeat(text.len() / key.len()).as_str()); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/48784 [INFO] [stderr] = help: add `#![feature(repeat_generic_slice)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_str` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:108:57 [INFO] [stderr] | [INFO] [stderr] 108 | key.push_str(key.repeat(text.len() / key.len()).as_str()); [INFO] [stderr] | ^^^^^^ help: there is a method with a similar name: `as_ptr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_str` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:108:57 [INFO] [stderr] | [INFO] [stderr] 108 | key.push_str(key.repeat(text.len() / key.len()).as_str()); [INFO] [stderr] | ^^^^^^ help: there is a method with a similar name: `as_ptr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `chars` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:112:23 [INFO] [stderr] | [INFO] [stderr] 112 | for (k, t) in key.chars().zip(text.chars()) { [INFO] [stderr] | ^^^^^ method not found in `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `chars` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:112:23 [INFO] [stderr] | [INFO] [stderr] 112 | for (k, t) in key.chars().zip(text.chars()) { [INFO] [stderr] | ^^^^^ method not found in `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::vec::Vec` with `&str` [INFO] [stderr] --> src/main.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | assert_eq!(file_or_str("this is a string").unwrap(), "this is a string") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::vec::Vec == &str` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq<&str>` is not implemented for `std::vec::Vec` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:159:13 [INFO] [stderr] | [INFO] [stderr] 159 | &file_or_str(matches.value_of("caesar").unwrap()).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected str, found struct `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `&std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:163:26 [INFO] [stderr] | [INFO] [stderr] 163 | value = xor(key, &file_or_str(matches.value_of("xor").unwrap()).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected str, found struct `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `&std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:159:13 [INFO] [stderr] | [INFO] [stderr] 159 | &file_or_str(matches.value_of("caesar").unwrap()).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected str, found struct `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `&std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `julius`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:163:26 [INFO] [stderr] | [INFO] [stderr] 163 | value = xor(key, &file_or_str(matches.value_of("xor").unwrap()).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected str, found struct `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&str` [INFO] [stderr] found type `&std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `julius`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "983942745b1b6e7ac1f131257c1de77f614dd592ccab881262b3726cd65fc4eb"` [INFO] running `"docker" "rm" "-f" "983942745b1b6e7ac1f131257c1de77f614dd592ccab881262b3726cd65fc4eb"` [INFO] [stdout] 983942745b1b6e7ac1f131257c1de77f614dd592ccab881262b3726cd65fc4eb