[INFO] cloning repository https://github.com/ealmloff/const-serialize [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ealmloff/const-serialize" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fealmloff%2Fconst-serialize", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fealmloff%2Fconst-serialize'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30affd4214cd89663eef3f8f51c8cb378a420c2a [INFO] checking ealmloff/const-serialize against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fealmloff%2Fconst-serialize" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ealmloff/const-serialize [INFO] finished tweaking git repo https://github.com/ealmloff/const-serialize [INFO] tweaked toml for git repo https://github.com/ealmloff/const-serialize written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ealmloff/const-serialize 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 git repo https://github.com/ealmloff/const-serialize 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 528303ea474cb9f6ce4bfeddd08047ea8e3ff3acc4aecbbf292c5ed398d5d285 [INFO] running `Command { std: "docker" "start" "-a" "528303ea474cb9f6ce4bfeddd08047ea8e3ff3acc4aecbbf292c5ed398d5d285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "528303ea474cb9f6ce4bfeddd08047ea8e3ff3acc4aecbbf292c5ed398d5d285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "528303ea474cb9f6ce4bfeddd08047ea8e3ff3acc4aecbbf292c5ed398d5d285", kill_on_drop: false }` [INFO] [stdout] 528303ea474cb9f6ce4bfeddd08047ea8e3ff3acc4aecbbf292c5ed398d5d285 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 83a00c9344f1999a03aead739152719ac89fcb4f41c31d55914ce62a5ade7e66 [INFO] running `Command { std: "docker" "start" "-a" "83a00c9344f1999a03aead739152719ac89fcb4f41c31d55914ce62a5ade7e66", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.87 [INFO] [stderr] Checking derive-const-serialize v0.1.0 (/opt/rustwide/workdir/derive-const-serialize) [INFO] [stderr] Checking const-serialize v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/const_buffers.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | pub const fn read(&self) -> ConstReadBuffer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub const fn read(&self) -> ConstReadBuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/const_buffers.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | pub const fn read(&self) -> ConstReadBuffer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub const fn read(&self) -> ConstReadBuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/eq.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy, Debug, PartialEq, SerializeConst)] [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `const_serialize::SerializeConst` (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] --> tests/eq.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Copy, Debug, PartialEq, SerializeConst)] [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SerializeConst` (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] --> tests/eq.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy, Debug, PartialEq, SerializeConst)] [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `const_serialize::SerializeConst` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `const-serialize` (test "eq") 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] --> tests/enum.rs:68:45 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Clone, Copy, Debug, PartialEq, SerializeConst)] [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `const_serialize::SerializeConst` (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] --> tests/enum.rs:100:45 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Copy, Debug, PartialEq, SerializeConst)] [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `const_serialize::SerializeConst` (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] --> tests/enum.rs:122:45 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Clone, Copy, Debug, PartialEq, SerializeConst)] [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `const_serialize::SerializeConst` (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] --> tests/enum.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Clone, Copy, Debug, PartialEq, SerializeConst)] [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `const_serialize::SerializeConst` (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] --> tests/structs.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Clone, Copy, Debug, PartialEq, SerializeConst)] [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SerializeConst` (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] --> tests/enum.rs:68:45 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Clone, Copy, Debug, PartialEq, SerializeConst)] [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `const_serialize::SerializeConst` (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] --> tests/structs.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | #[derive(SerializeConst)] [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SerializeConst` (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] --> tests/enum.rs:122:45 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Clone, Copy, Debug, PartialEq, SerializeConst)] [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `const_serialize::SerializeConst` (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] --> tests/structs.rs:39:45 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone, Copy, Debug, PartialEq, SerializeConst)] [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SerializeConst` (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] --> tests/structs.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Debug, PartialEq, SerializeConst)] [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SerializeConst` (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] --> tests/structs.rs:146:32 [INFO] [stdout] | [INFO] [stdout] 146 | #[derive(Debug, PartialEq, SerializeConst)] [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `SerializeConst` (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] --> tests/enum.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Clone, Copy, Debug, PartialEq, SerializeConst)] [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `const_serialize::SerializeConst` (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] --> tests/enum.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Clone, Copy, Debug, PartialEq, SerializeConst)] [INFO] [stdout] | ^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `const_serialize::SerializeConst` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `const-serialize` (test "enum") due to 8 previous errors [INFO] [stderr] error: could not compile `const-serialize` (test "structs") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "83a00c9344f1999a03aead739152719ac89fcb4f41c31d55914ce62a5ade7e66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83a00c9344f1999a03aead739152719ac89fcb4f41c31d55914ce62a5ade7e66", kill_on_drop: false }` [INFO] [stdout] 83a00c9344f1999a03aead739152719ac89fcb4f41c31d55914ce62a5ade7e66