[INFO] fetching crate serde_hooks 0.1.1... [INFO] testing serde_hooks-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate serde_hooks 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate serde_hooks 0.1.1 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate serde_hooks 0.1.1 [INFO] tweaked toml for crates.io crate serde_hooks 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate serde_hooks 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate serde_hooks 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92bea3a9f5bdd27cc459d30701c6ba65fb8f705433e6ce8bede27f2f98ecf37e [INFO] running `Command { std: "docker" "start" "-a" "92bea3a9f5bdd27cc459d30701c6ba65fb8f705433e6ce8bede27f2f98ecf37e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92bea3a9f5bdd27cc459d30701c6ba65fb8f705433e6ce8bede27f2f98ecf37e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92bea3a9f5bdd27cc459d30701c6ba65fb8f705433e6ce8bede27f2f98ecf37e", kill_on_drop: false }` [INFO] [stdout] 92bea3a9f5bdd27cc459d30701c6ba65fb8f705433e6ce8bede27f2f98ecf37e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1264bfb3da974b71b2da6e1af2d760e7fdec37a0604a2dca4cbb5e3db52d8ff [INFO] running `Command { std: "docker" "start" "-a" "e1264bfb3da974b71b2da6e1af2d760e7fdec37a0604a2dca4cbb5e3db52d8ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling serde v1.0.174 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling serde_derive v1.0.174 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling serde_hooks v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/scope/value.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn value(&self) -> &Value { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 35 | pub fn value(&self) -> &Value<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.57s [INFO] running `Command { std: "docker" "inspect" "e1264bfb3da974b71b2da6e1af2d760e7fdec37a0604a2dca4cbb5e3db52d8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1264bfb3da974b71b2da6e1af2d760e7fdec37a0604a2dca4cbb5e3db52d8ff", kill_on_drop: false }` [INFO] [stdout] e1264bfb3da974b71b2da6e1af2d760e7fdec37a0604a2dca4cbb5e3db52d8ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6be75a3148b6879552fa761399af75ecbdc940b39f5c445d5c3c68bd491ce5d [INFO] running `Command { std: "docker" "start" "-a" "c6be75a3148b6879552fa761399af75ecbdc940b39f5c445d5c3c68bd491ce5d", kill_on_drop: false }` [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling base64 v0.21.3 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling indoc v2.0.3 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/scope/value.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn value(&self) -> &Value { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 35 | pub fn value(&self) -> &Value<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde-reflection v0.3.6 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling serde_yaml v0.9.23 [INFO] [stderr] Compiling serde_hooks v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `ser` [INFO] [stdout] --> examples/ser/main.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | mod rename_struct_fields; [INFO] [stdout] | ^ consider adding a `main` function to `examples/ser/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_hooks` (example "ser") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `UnitStruct` is never constructed [INFO] [stdout] --> tests/ser/variant.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct UnitStruct; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/scope/value.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn value(&self) -> &Value { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 35 | pub fn value(&self) -> &Value<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c6be75a3148b6879552fa761399af75ecbdc940b39f5c445d5c3c68bd491ce5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6be75a3148b6879552fa761399af75ecbdc940b39f5c445d5c3c68bd491ce5d", kill_on_drop: false }` [INFO] [stdout] c6be75a3148b6879552fa761399af75ecbdc940b39f5c445d5c3c68bd491ce5d