[INFO] fetching crate const_json 0.1.0... [INFO] checking const_json-0.1.0 against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] extracting crate const_json 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate const_json 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate const_json 0.1.0 [INFO] tweaked toml for crates.io crate const_json 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate const_json 0.1.0 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 const_json 0.1.0 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 82f4a1117fe88df694b12d2d7d7299b032a190e55356d7864005b3857e2a063f [INFO] running `Command { std: "docker" "start" "-a" "82f4a1117fe88df694b12d2d7d7299b032a190e55356d7864005b3857e2a063f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82f4a1117fe88df694b12d2d7d7299b032a190e55356d7864005b3857e2a063f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82f4a1117fe88df694b12d2d7d7299b032a190e55356d7864005b3857e2a063f", kill_on_drop: false }` [INFO] [stdout] 82f4a1117fe88df694b12d2d7d7299b032a190e55356d7864005b3857e2a063f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c32de779f204e40b75c6820f9f8038a43e9caf1b4e8991be3051a45532f3d73d [INFO] running `Command { std: "docker" "start" "-a" "c32de779f204e40b75c6820f9f8038a43e9caf1b4e8991be3051a45532f3d73d", kill_on_drop: false }` [INFO] [stderr] Checking const_json v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> examples/basic.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | const JSON: Json = const_json!({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 10 | | "null": null, [INFO] [stdout] 11 | | "bool": true, [INFO] [stdout] 12 | | "float": 12.3, [INFO] [stdout] ... | [INFO] [stdout] 23 | | "function_result": (add_12(10)) [INFO] [stdout] 24 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [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] = note: this error originates in the macro `$crate::const_json` which comes from the expansion of the macro `const_json` (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] --> examples/basic.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | const JSON: Json = const_json!({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 10 | | "null": null, [INFO] [stdout] 11 | | "bool": true, [INFO] [stdout] 12 | | "float": 12.3, [INFO] [stdout] ... | [INFO] [stdout] 23 | | "function_result": (add_12(10)) [INFO] [stdout] 24 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [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] = note: this error originates in the macro `$crate::const_json` which comes from the expansion of the macro `const_json` (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] --> examples/basic.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | const JSON: Json = const_json!({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 10 | | "null": null, [INFO] [stdout] 11 | | "bool": true, [INFO] [stdout] 12 | | "float": 12.3, [INFO] [stdout] ... | [INFO] [stdout] 23 | | "function_result": (add_12(10)) [INFO] [stdout] 24 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [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] = note: this error originates in the macro `$crate::const_json` which comes from the expansion of the macro `const_json` (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] --> examples/basic.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | const JSON: Json = const_json!({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 10 | | "null": null, [INFO] [stdout] 11 | | "bool": true, [INFO] [stdout] 12 | | "float": 12.3, [INFO] [stdout] ... | [INFO] [stdout] 23 | | "function_result": (add_12(10)) [INFO] [stdout] 24 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [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] = note: this error originates in the macro `$crate::const_json` which comes from the expansion of the macro `const_json` (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] --> examples/basic.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | const JSON: Json = const_json!({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 10 | | "null": null, [INFO] [stdout] 11 | | "bool": true, [INFO] [stdout] 12 | | "float": 12.3, [INFO] [stdout] ... | [INFO] [stdout] 23 | | "function_result": (add_12(10)) [INFO] [stdout] 24 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [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] = note: this error originates in the macro `$crate::const_json` which comes from the expansion of the macro `const_json` (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] --> examples/basic.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | const JSON: Json = const_json!({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 10 | | "null": null, [INFO] [stdout] 11 | | "bool": true, [INFO] [stdout] 12 | | "float": 12.3, [INFO] [stdout] ... | [INFO] [stdout] 23 | | "function_result": (add_12(10)) [INFO] [stdout] 24 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [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] = note: this error originates in the macro `$crate::const_json` which comes from the expansion of the macro `const_json` (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] --> examples/basic.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | const JSON: Json = const_json!({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 10 | | "null": null, [INFO] [stdout] 11 | | "bool": true, [INFO] [stdout] 12 | | "float": 12.3, [INFO] [stdout] ... | [INFO] [stdout] 23 | | "function_result": (add_12(10)) [INFO] [stdout] 24 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [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] = note: this error originates in the macro `$crate::const_json` which comes from the expansion of the macro `const_json` (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] --> examples/basic.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | const JSON: Json = const_json!({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 10 | | "null": null, [INFO] [stdout] 11 | | "bool": true, [INFO] [stdout] 12 | | "float": 12.3, [INFO] [stdout] ... | [INFO] [stdout] 23 | | "function_result": (add_12(10)) [INFO] [stdout] 24 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [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] = note: this error originates in the macro `$crate::const_json` which comes from the expansion of the macro `const_json` (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] --> examples/basic.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | const JSON: Json = const_json!({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 10 | | "null": null, [INFO] [stdout] 11 | | "bool": true, [INFO] [stdout] 12 | | "float": 12.3, [INFO] [stdout] ... | [INFO] [stdout] 23 | | "function_result": (add_12(10)) [INFO] [stdout] 24 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [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] = note: this error originates in the macro `$crate::const_json` which comes from the expansion of the macro `const_json` (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_json` (example "basic") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "c32de779f204e40b75c6820f9f8038a43e9caf1b4e8991be3051a45532f3d73d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c32de779f204e40b75c6820f9f8038a43e9caf1b4e8991be3051a45532f3d73d", kill_on_drop: false }` [INFO] [stdout] c32de779f204e40b75c6820f9f8038a43e9caf1b4e8991be3051a45532f3d73d