[INFO] fetching crate rosrust_codegen 0.9.6... [INFO] checking rosrust_codegen-0.9.6 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate rosrust_codegen 0.9.6 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rosrust_codegen 0.9.6 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rosrust_codegen 0.9.6 [INFO] finished tweaking crates.io crate rosrust_codegen 0.9.6 [INFO] tweaked toml for crates.io crate rosrust_codegen 0.9.6 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9316c56c042745dcbd4b8c237048994f36e768c9a4bd08943c18c186672a5b6 [INFO] running `Command { std: "docker" "start" "-a" "b9316c56c042745dcbd4b8c237048994f36e768c9a4bd08943c18c186672a5b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9316c56c042745dcbd4b8c237048994f36e768c9a4bd08943c18c186672a5b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9316c56c042745dcbd4b8c237048994f36e768c9a4bd08943c18c186672a5b6", kill_on_drop: false }` [INFO] [stdout] b9316c56c042745dcbd4b8c237048994f36e768c9a4bd08943c18c186672a5b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f82b8bc6a52b0447ae88c48949c08d22915031ff7b6c5b8fc7ff249d142ea55 [INFO] running `Command { std: "docker" "start" "-a" "3f82b8bc6a52b0447ae88c48949c08d22915031ff7b6c5b8fc7ff249d142ea55", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking proc-macro2 v1.0.67 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking libc v0.2.148 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking serde v1.0.188 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking quote v1.0.33 [INFO] [stderr] Checking aho-corasick v1.1.0 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking thiserror v1.0.48 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking ros_message v0.1.1 [INFO] [stderr] Checking rosrust_codegen v0.9.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/rosmsg_include.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let output = genmsg::depend_on_messages(ignore_bad_messages, paths.as_slice(), messages) [INFO] [stdout] | __________________^ [INFO] [stdout] 34 | | .unwrap_or_else(|r| panic!("{}", r)) [INFO] [stdout] | |____________________________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 39 | }); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 40 | (quote! {#output}).into() [INFO] [stdout] | ---------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 33 ~ let binding = genmsg::depend_on_messages(ignore_bad_messages, paths.as_slice(), messages) [INFO] [stdout] 34 + .unwrap_or_else(|r| panic!("{}", r)); [INFO] [stdout] 35 ~ let output = binding [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/rosmsg_include.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | .token_stream(&if internal { [INFO] [stdout] | ________________________^ [INFO] [stdout] 36 | | quote! { crate:: } [INFO] [stdout] 37 | | } else { [INFO] [stdout] 38 | | quote! { rosrust:: } [INFO] [stdout] 39 | | }); [INFO] [stdout] | | ^ - temporary value is freed at the end of this statement [INFO] [stdout] | |_________| [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 40 | (quote! {#output}).into() [INFO] [stdout] | ---------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 33 ~ let binding = if internal { [INFO] [stdout] 34 + quote! { crate:: } [INFO] [stdout] 35 + } else { [INFO] [stdout] 36 + quote! { rosrust:: } [INFO] [stdout] 37 + }; [INFO] [stdout] 38 ~ let output = genmsg::depend_on_messages(ignore_bad_messages, paths.as_slice(), messages) [INFO] [stdout] 39 | .unwrap_or_else(|r| panic!("{}", r)) [INFO] [stdout] 40 ~ .token_stream(&binding); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rosrust_codegen` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/rosmsg_include.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | let output = genmsg::depend_on_messages(ignore_bad_messages, paths.as_slice(), messages) [INFO] [stdout] | __________________^ [INFO] [stdout] 34 | | .unwrap_or_else(|r| panic!("{}", r)) [INFO] [stdout] | |____________________________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 39 | }); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 40 | (quote! {#output}).into() [INFO] [stdout] | ---------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 33 ~ let binding = genmsg::depend_on_messages(ignore_bad_messages, paths.as_slice(), messages) [INFO] [stdout] 34 + .unwrap_or_else(|r| panic!("{}", r)); [INFO] [stdout] 35 ~ let output = binding [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/rosmsg_include.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | .token_stream(&if internal { [INFO] [stdout] | ________________________^ [INFO] [stdout] 36 | | quote! { crate:: } [INFO] [stdout] 37 | | } else { [INFO] [stdout] 38 | | quote! { rosrust:: } [INFO] [stdout] 39 | | }); [INFO] [stdout] | | ^ - temporary value is freed at the end of this statement [INFO] [stdout] | |_________| [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 40 | (quote! {#output}).into() [INFO] [stdout] | ---------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 33 ~ let binding = if internal { [INFO] [stdout] 34 + quote! { crate:: } [INFO] [stdout] 35 + } else { [INFO] [stdout] 36 + quote! { rosrust:: } [INFO] [stdout] 37 + }; [INFO] [stdout] 38 ~ let output = genmsg::depend_on_messages(ignore_bad_messages, paths.as_slice(), messages) [INFO] [stdout] 39 | .unwrap_or_else(|r| panic!("{}", r)) [INFO] [stdout] 40 ~ .token_stream(&binding); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rosrust_codegen` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "3f82b8bc6a52b0447ae88c48949c08d22915031ff7b6c5b8fc7ff249d142ea55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f82b8bc6a52b0447ae88c48949c08d22915031ff7b6c5b8fc7ff249d142ea55", kill_on_drop: false }` [INFO] [stdout] 3f82b8bc6a52b0447ae88c48949c08d22915031ff7b6c5b8fc7ff249d142ea55