[INFO] cloning repository https://github.com/jupp0r/cpp-codegen-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jupp0r/cpp-codegen-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjupp0r%2Fcpp-codegen-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjupp0r%2Fcpp-codegen-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c8fda8a4789fd7f92fb9fd29d65dbf13df9ac25 [INFO] checking jupp0r/cpp-codegen-rs against master#b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 for pr-105483 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjupp0r%2Fcpp-codegen-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jupp0r/cpp-codegen-rs on toolchain b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jupp0r/cpp-codegen-rs [INFO] finished tweaking git repo https://github.com/jupp0r/cpp-codegen-rs [INFO] tweaked toml for git repo https://github.com/jupp0r/cpp-codegen-rs written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/jupp0r/cpp-codegen-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aho-corasick v0.6.2 [INFO] [stderr] Downloaded syn v0.11.8 [INFO] [stderr] Downloaded rustc-serialize v0.3.22 [INFO] [stderr] Downloaded clap v2.20.5 [INFO] [stderr] Downloaded env_logger v0.4.1 [INFO] [stderr] Downloaded handlebars v0.25.1 [INFO] [stderr] Downloaded quote v0.3.14 [INFO] [stderr] Downloaded serde v0.9.10 [INFO] [stderr] Downloaded serde_derive v0.9.10 [INFO] [stderr] Downloaded serde_json v0.9.8 [INFO] [stderr] Downloaded term_size v0.2.3 [INFO] [stderr] Downloaded clang v0.14.1 [INFO] [stderr] Downloaded clang-sys v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1928475e38a27257e5acd9c24691b7d127c4a7a8ed9c44aff6d58e26c00117b3 [INFO] running `Command { std: "docker" "start" "-a" "1928475e38a27257e5acd9c24691b7d127c4a7a8ed9c44aff6d58e26c00117b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1928475e38a27257e5acd9c24691b7d127c4a7a8ed9c44aff6d58e26c00117b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1928475e38a27257e5acd9c24691b7d127c4a7a8ed9c44aff6d58e26c00117b3", kill_on_drop: false }` [INFO] [stdout] 1928475e38a27257e5acd9c24691b7d127c4a7a8ed9c44aff6d58e26c00117b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75a8c9485a67c52ac52e5b65c68a4cafa461e7de5079373c8de71a69d86b47c8 [INFO] running `Command { std: "docker" "start" "-a" "75a8c9485a67c52ac52e5b65c68a4cafa461e7de5079373c8de71a69d86b47c8", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Compiling quote v0.3.14 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking dtoa v0.4.1 [INFO] [stderr] Checking itoa v0.3.1 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking serde v0.9.10 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking vec_map v0.6.0 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking quick-error v1.1.0 [INFO] [stderr] Checking pest v0.3.3 [INFO] [stderr] Checking rustc-serialize v0.3.22 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking unicode-segmentation v1.1.0 [INFO] [stderr] Compiling syn v0.11.8 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking term_size v0.2.3 [INFO] [stderr] Compiling clang-sys v0.13.0 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking clap v2.20.5 [INFO] [stderr] Checking aho-corasick v0.6.2 [INFO] [stderr] Checking tempdir v0.3.5 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Compiling serde_codegen_internals v0.14.1 [INFO] [stderr] Checking clang v0.14.1 [INFO] [stderr] Compiling serde_derive v0.9.10 [INFO] [stderr] Checking env_logger v0.4.1 [INFO] [stderr] Checking serde_json v0.9.8 [INFO] [stderr] Checking handlebars v0.25.1 [INFO] [stderr] Checking cpp_codegen v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | try!(rc.writer.write(rendered.into_bytes().as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | try!(rc.writer.write(rendered.into_bytes().as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/response_file.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | try!(response_file.write(content.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/response_file.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | let tmp_dir = try!(TempDir::new("cpp-codegen")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/response_file.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | let mut response_file = try!(File::create(&response_file_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | .unwrap_or_else(|e| e.description().to_owned()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | .unwrap_or_else(|e| e.description().to_owned()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | Err(e) => panic!(format!("{:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 64 - Err(e) => panic!(format!("{:?}", e)), [INFO] [stdout] 64 + Err(e) => panic!("{:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | Err(e) => panic!(format!("{:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 74 - Err(e) => panic!(format!("{:?}", e)), [INFO] [stdout] 74 + Err(e) => panic!("{:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | Err(e) => panic!(format!("{:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 64 - Err(e) => panic!(format!("{:?}", e)), [INFO] [stdout] 64 + Err(e) => panic!("{:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | Err(e) => panic!(format!("{:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 74 - Err(e) => panic!(format!("{:?}", e)), [INFO] [stdout] 74 + Err(e) => panic!("{:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.22s [INFO] running `Command { std: "docker" "inspect" "75a8c9485a67c52ac52e5b65c68a4cafa461e7de5079373c8de71a69d86b47c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75a8c9485a67c52ac52e5b65c68a4cafa461e7de5079373c8de71a69d86b47c8", kill_on_drop: false }` [INFO] [stdout] 75a8c9485a67c52ac52e5b65c68a4cafa461e7de5079373c8de71a69d86b47c8