[INFO] fetching crate mk_ext_serde_yaml 0.10.0... [INFO] checking mk_ext_serde_yaml-0.10.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate mk_ext_serde_yaml 0.10.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate mk_ext_serde_yaml 0.10.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mk_ext_serde_yaml 0.10.0 [INFO] tweaked toml for crates.io crate mk_ext_serde_yaml 0.10.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mk_ext_serde_yaml 0.10.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mk_ext_serde_yaml 0.10.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f613a82a7cf629307d2b561765a6dfff861b4ee7e760ee70464b273c47b621cf [INFO] running `Command { std: "docker" "start" "-a" "f613a82a7cf629307d2b561765a6dfff861b4ee7e760ee70464b273c47b621cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f613a82a7cf629307d2b561765a6dfff861b4ee7e760ee70464b273c47b621cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f613a82a7cf629307d2b561765a6dfff861b4ee7e760ee70464b273c47b621cf", kill_on_drop: false }` [INFO] [stdout] f613a82a7cf629307d2b561765a6dfff861b4ee7e760ee70464b273c47b621cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36fb09890e9b935064313ee19cbdd2f253f8d6029299571a735969bab511d395 [INFO] running `Command { std: "docker" "start" "-a" "36fb09890e9b935064313ee19cbdd2f253f8d6029299571a735969bab511d395", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Checking mk_ext_serde_yaml v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libyaml/error.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | kind: unsafe { (*parser).error }, [INFO] [stdout] | ^^------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const yaml_parser_t` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 25 | kind: unsafe { (&(*parser)).error }, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libyaml/error.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | problem: match NonNull::new(unsafe { (*parser).problem as *mut _ }) { [INFO] [stdout] | ^^------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const yaml_parser_t` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 26 | problem: match NonNull::new(unsafe { (&(*parser)).problem as *mut _ }) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libyaml/error.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | problem_offset: unsafe { (*parser).problem_offset }, [INFO] [stdout] | ^^------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const yaml_parser_t` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 30 | problem_offset: unsafe { (&(*parser)).problem_offset }, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libyaml/error.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | sys: unsafe { (*parser).problem_mark }, [INFO] [stdout] | ^^------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const yaml_parser_t` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 32 | sys: unsafe { (&(*parser)).problem_mark }, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libyaml/error.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | context: match NonNull::new(unsafe { (*parser).context as *mut _ }) { [INFO] [stdout] | ^^------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const yaml_parser_t` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 34 | context: match NonNull::new(unsafe { (&(*parser)).context as *mut _ }) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libyaml/error.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | sys: unsafe { (*parser).context_mark }, [INFO] [stdout] | ^^------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const yaml_parser_t` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 39 | sys: unsafe { (&(*parser)).context_mark }, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libyaml/error.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | kind: unsafe { (*emitter).error }, [INFO] [stdout] | ^^-------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const yaml_emitter_t` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 46 | kind: unsafe { (&(*emitter)).error }, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libyaml/error.rs:47:44 [INFO] [stdout] | [INFO] [stdout] 47 | problem: match NonNull::new(unsafe { (*emitter).problem as *mut _ }) { [INFO] [stdout] | ^^-------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const yaml_emitter_t` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 47 | problem: match NonNull::new(unsafe { (&(*emitter)).problem as *mut _ }) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libyaml/parser.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | if (*parser).error != sys::YAML_NO_ERROR { [INFO] [stdout] | ^^------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut yaml_parser_t` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 100 | if (&(*parser)).error != sys::YAML_NO_ERROR { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn entry(&mut self, k: Value) -> Entry { [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] 94 | pub fn entry(&mut self, k: Value) -> Entry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:201:15 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn iter(&self) -> Iter { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 201 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn iter_mut(&mut self) -> IterMut { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 210 | pub fn iter_mut(&mut self) -> IterMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn keys(&self) -> Keys { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 217 | pub fn keys(&self) -> Keys<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn values(&self) -> Values { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 231 | pub fn values(&self) -> Values<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn values_mut(&mut self) -> ValuesMut { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 238 | pub fn values_mut(&mut self) -> ValuesMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/number.rs:574:34 [INFO] [stdout] | [INFO] [stdout] 574 | pub(crate) fn unexpected(number: &Number) -> Unexpected { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 574 | pub(crate) fn unexpected(number: &Number) -> Unexpected<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value/de.rs:1215:28 [INFO] [stdout] | [INFO] [stdout] 1215 | pub(crate) fn unexpected(&self) -> Unexpected { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1215 | pub(crate) fn unexpected(&self) -> Unexpected<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mk_ext_serde_yaml` (lib) due to 9 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "36fb09890e9b935064313ee19cbdd2f253f8d6029299571a735969bab511d395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36fb09890e9b935064313ee19cbdd2f253f8d6029299571a735969bab511d395", kill_on_drop: false }` [INFO] [stdout] 36fb09890e9b935064313ee19cbdd2f253f8d6029299571a735969bab511d395