[INFO] fetching crate flect 0.1.1... [INFO] checking flect-0.1.1 against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] extracting crate flect 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate flect 0.1.1 [INFO] finished tweaking crates.io crate flect 0.1.1 [INFO] tweaked toml for crates.io crate flect 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate flect 0.1.1 on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate flect 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2e13ecd8d69babfcfd75594637168272936588fe73d4afd3725cb5f4527c941 [INFO] running `Command { std: "docker" "start" "-a" "a2e13ecd8d69babfcfd75594637168272936588fe73d4afd3725cb5f4527c941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2e13ecd8d69babfcfd75594637168272936588fe73d4afd3725cb5f4527c941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2e13ecd8d69babfcfd75594637168272936588fe73d4afd3725cb5f4527c941", kill_on_drop: false }` [INFO] [stdout] a2e13ecd8d69babfcfd75594637168272936588fe73d4afd3725cb5f4527c941 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56288255e34524c6cee59fb972bcc8b58a32486b2642a7a6b878b0b78584e759 [INFO] running `Command { std: "docker" "start" "-a" "56288255e34524c6cee59fb972bcc8b58a32486b2642a7a6b878b0b78584e759", kill_on_drop: false }` [INFO] [stderr] Checking flect v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/impls/primitive.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 11 | / &ModelBuilder::new::<$t>() [INFO] [stdout] 12 | | .ty(&Type::primitive::<$t>(PrimitiveType::$v)) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 13 | | .build(); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |____________________________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] ... [INFO] [stdout] 25 | / primitive! { [INFO] [stdout] 26 | | bool: Bool; [INFO] [stdout] 27 | | char: Char; [INFO] [stdout] 28 | | u8: U8; [INFO] [stdout] ... | [INFO] [stdout] 39 | | f64: F64; [INFO] [stdout] 40 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/impls/primitive.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 61 | / &ModelBuilder::new::<[T; N]>() [INFO] [stdout] 62 | | .ty(&Type::array::()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 63 | | .build(); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |________________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/impls/primitive.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 73 | / &ModelBuilder::new::<[T]>() [INFO] [stdout] 74 | | .ty(&Type::slice::()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 75 | | .build(); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |________________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/impls/primitive.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 85 | / &ModelBuilder::new::<*const T>() [INFO] [stdout] 86 | | .ty(&Type::ptr::()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 87 | | .build(); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |________________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/impls/primitive.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 95 | / &ModelBuilder::new::<*mut T>() [INFO] [stdout] 96 | | .ty(&Type::ptr_mut::()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 97 | | .build(); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |________________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/impls/primitive.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 105 | / &ModelBuilder::new::<&R>() [INFO] [stdout] 106 | | .ty(& Type::reference::()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 107 | | .build(); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |________________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flect` (lib test) due to 6 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/impls/primitive.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 11 | / &ModelBuilder::new::<$t>() [INFO] [stdout] 12 | | .ty(&Type::primitive::<$t>(PrimitiveType::$v)) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 13 | | .build(); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |____________________________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] ... [INFO] [stdout] 25 | / primitive! { [INFO] [stdout] 26 | | bool: Bool; [INFO] [stdout] 27 | | char: Char; [INFO] [stdout] 28 | | u8: U8; [INFO] [stdout] ... | [INFO] [stdout] 39 | | f64: F64; [INFO] [stdout] 40 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/impls/primitive.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 61 | / &ModelBuilder::new::<[T; N]>() [INFO] [stdout] 62 | | .ty(&Type::array::()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 63 | | .build(); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |________________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/impls/primitive.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 73 | / &ModelBuilder::new::<[T]>() [INFO] [stdout] 74 | | .ty(&Type::slice::()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 75 | | .build(); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |________________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/impls/primitive.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 85 | / &ModelBuilder::new::<*const T>() [INFO] [stdout] 86 | | .ty(&Type::ptr::()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 87 | | .build(); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |________________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/impls/primitive.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 95 | / &ModelBuilder::new::<*mut T>() [INFO] [stdout] 96 | | .ty(&Type::ptr_mut::()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 97 | | .build(); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |________________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/impls/primitive.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 105 | / &ModelBuilder::new::<&R>() [INFO] [stdout] 106 | | .ty(& Type::reference::()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 107 | | .build(); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |________________temporary value is freed at the end of this statement [INFO] [stdout] | using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flect` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "56288255e34524c6cee59fb972bcc8b58a32486b2642a7a6b878b0b78584e759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56288255e34524c6cee59fb972bcc8b58a32486b2642a7a6b878b0b78584e759", kill_on_drop: false }` [INFO] [stdout] 56288255e34524c6cee59fb972bcc8b58a32486b2642a7a6b878b0b78584e759