[INFO] crate cpp_codegen 0.2.0 is already in cache [INFO] checking cpp_codegen-0.2.0 against try#1a608893c03d7722effeb0058e82770bd36b4b3c for pr-66504-1 [INFO] extracting crate cpp_codegen 0.2.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate cpp_codegen 0.2.0 on toolchain 1a608893c03d7722effeb0058e82770bd36b4b3c [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate cpp_codegen 0.2.0 [INFO] finished tweaking crates.io crate cpp_codegen 0.2.0 [INFO] tweaked toml for crates.io crate cpp_codegen 0.2.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "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] 67241421ea493322ab08c3244cf4c454af691fc61461bc30ce53286741fb56d9 [INFO] running `"docker" "start" "-a" "67241421ea493322ab08c3244cf4c454af691fc61461bc30ce53286741fb56d9"` [INFO] [stderr] Checking ucd-util v0.1.5 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking pest v0.3.3 [INFO] [stderr] Compiling clang-sys v0.13.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Checking clang v0.14.1 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Checking handlebars v0.25.3 [INFO] [stderr] Checking cpp_codegen v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/template.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | try!(rc.writer.write(rendered.into_bytes().as_ref())); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/template.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | try!(rc.writer.write(rendered.into_bytes().as_ref())); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/response_file.rs:75:23 [INFO] [stderr] | [INFO] [stderr] 75 | let tmp_dir = try!(TempDir::new("cpp-codegen")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/response_file.rs:77:33 [INFO] [stderr] | [INFO] [stderr] 77 | let mut response_file = try!(File::create(&response_file_path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/response_file.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | try!(response_file.write(content.as_bytes())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `&std::borrow::Cow<'_, str>` to `std::string::String` [INFO] [stderr] --> src/parser_tests.rs:179:66 [INFO] [stderr] | [INFO] [stderr] 179 | ... &vec!["@".to_string() + [INFO] [stderr] | ^ no implementation for `std::string::String + &std::borrow::Cow<'_, str>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Add<&std::borrow::Cow<'_, str>>` is not implemented for `std::string::String` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `cpp_codegen`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "67241421ea493322ab08c3244cf4c454af691fc61461bc30ce53286741fb56d9"` [INFO] running `"docker" "rm" "-f" "67241421ea493322ab08c3244cf4c454af691fc61461bc30ce53286741fb56d9"` [INFO] [stdout] 67241421ea493322ab08c3244cf4c454af691fc61461bc30ce53286741fb56d9