[INFO] fetching crate exml 0.7.2... [INFO] checking exml-0.7.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate exml 0.7.2 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate exml 0.7.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate exml 0.7.2 [INFO] tweaked toml for crates.io crate exml 0.7.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate exml 0.7.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate exml 0.7.2 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46d8a2273fc54848e613048ee7a188b6aaa4a98bcaef827b195ead38c48184d7 [INFO] running `Command { std: "docker" "start" "-a" "46d8a2273fc54848e613048ee7a188b6aaa4a98bcaef827b195ead38c48184d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46d8a2273fc54848e613048ee7a188b6aaa4a98bcaef827b195ead38c48184d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46d8a2273fc54848e613048ee7a188b6aaa4a98bcaef827b195ead38c48184d7", kill_on_drop: false }` [INFO] [stdout] 46d8a2273fc54848e613048ee7a188b6aaa4a98bcaef827b195ead38c48184d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 764a602f64b23501b480584815ce43ecf035b9a9d5ca3ffc4ac6a1d629d03483 [INFO] running `Command { std: "docker" "start" "-a" "764a602f64b23501b480584815ce43ecf035b9a9d5ca3ffc4ac6a1d629d03483", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking exml v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/error.rs:1110:35 [INFO] [stdout] | [INFO] [stdout] 1110 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut parser::context::XmlParserCtxt<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/error.rs:1110:35 [INFO] [stdout] | [INFO] [stdout] 1110 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] 1110 | input = Some(&(&(*ctxt).input_tab)[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/error.rs:1228:35 [INFO] [stdout] | [INFO] [stdout] 1228 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut parser::context::XmlParserCtxt<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/error.rs:1228:35 [INFO] [stdout] | [INFO] [stdout] 1228 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1228 | input = Some(&(&(*ctxt).input_tab)[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/error.rs:1258:35 [INFO] [stdout] | [INFO] [stdout] 1258 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut parser::context::XmlParserCtxt<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/error.rs:1258:35 [INFO] [stdout] | [INFO] [stdout] 1258 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1258 | input = Some(&(&(*ctxt).input_tab)[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/error.rs:1292:39 [INFO] [stdout] | [INFO] [stdout] 1292 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut parser::context::XmlParserCtxt<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/error.rs:1292:39 [INFO] [stdout] | [INFO] [stdout] 1292 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1292 | input = Some(&(&(*ctxt).input_tab)[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/error.rs:1335:39 [INFO] [stdout] | [INFO] [stdout] 1335 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut parser::context::XmlParserCtxt<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/error.rs:1335:39 [INFO] [stdout] | [INFO] [stdout] 1335 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1335 | input = Some(&(&(*ctxt).input_tab)[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/error.rs:1502:43 [INFO] [stdout] | [INFO] [stdout] 1502 | ... input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() as usize - 2]); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut parser::context::XmlParserCtxt<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/error.rs:1502:43 [INFO] [stdout] | [INFO] [stdout] 1502 | ... input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() as usize - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1502 | input = Some(&(&(*ctxt).input_tab)[(*ctxt).input_tab.len() as usize - 2]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/html/parser.rs:2742:47 [INFO] [stdout] | [INFO] [stdout] 2742 | pub fn html_create_memory_parser_ctxt(buffer: &[u8]) -> Option { [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] 2742 | pub fn html_create_memory_parser_ctxt(buffer: &[u8]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io/output.rs:611:10 [INFO] [stdout] | [INFO] [stdout] 611 | uri: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 612 | encoder: Option>>, [INFO] [stdout] 613 | ) -> Option { [INFO] [stdout] | --------------- the same lifetime is hidden 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] 613 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:7212:21 [INFO] [stdout] | [INFO] [stdout] 7212 | (*(*ctxt).state).attrs[j] = None; [INFO] [stdout] | ^^-------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut relaxng::valid::XmlRelaxNGValidState` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec>` [INFO] [stdout] --> src/libxml/relaxng.rs:7212:21 [INFO] [stdout] | [INFO] [stdout] 7212 | (*(*ctxt).state).attrs[j] = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7212 | (&mut (*(*ctxt).state).attrs)[j] = None; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:7248:17 [INFO] [stdout] | [INFO] [stdout] 7248 | (*(*ctxt).state).attrs[j] = None; [INFO] [stdout] | ^^-------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut relaxng::valid::XmlRelaxNGValidState` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec>` [INFO] [stdout] --> src/libxml/relaxng.rs:7248:17 [INFO] [stdout] | [INFO] [stdout] 7248 | (*(*ctxt).state).attrs[j] = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7248 | (&mut (*(*ctxt).state).attrs)[j] = None; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:7528:29 [INFO] [stdout] | [INFO] [stdout] 7528 | (*ctxt).state = (*(*ctxt).states).tab_state[best as usize]; [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:7528:29 [INFO] [stdout] | [INFO] [stdout] 7528 | (*ctxt).state = (*(*ctxt).states).tab_state[best as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7528 | (*ctxt).state = (&(*(*ctxt).states).tab_state)[best as usize]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:7969:40 [INFO] [stdout] | [INFO] [stdout] 7969 | ... oldstate = (*(*ctxt).states).tab_state[best]; [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:7969:40 [INFO] [stdout] | [INFO] [stdout] 7969 | ... oldstate = (*(*ctxt).states).tab_state[best]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7969 | oldstate = (&(*(*ctxt).states).tab_state)[best]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:7970:29 [INFO] [stdout] | [INFO] [stdout] 7970 | ... (*(*ctxt).states).tab_state[best] = null_mut(); [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:7970:29 [INFO] [stdout] | [INFO] [stdout] 7970 | ... (*(*ctxt).states).tab_state[best] = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7970 | (&mut (*(*ctxt).states).tab_state)[best] = null_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/libxml/relaxng.rs:8476:68 [INFO] [stdout] | [INFO] [stdout] 8476 | ... xml_relaxng_copy_valid_state(ctxt, (*res).tab_state[base]); [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8476:68 [INFO] [stdout] | [INFO] [stdout] 8476 | ... xml_relaxng_copy_valid_state(ctxt, (*res).tab_state[base]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8476 | xml_relaxng_copy_valid_state(ctxt, (&(*res).tab_state)[base]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8490:44 [INFO] [stdout] | [INFO] [stdout] 8490 | ... for &state in &(*res).tab_state[base..] { [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8490:44 [INFO] [stdout] | [INFO] [stdout] 8490 | ... for &state in &(*res).tab_state[base..] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8490 | for &state in &(&(*res).tab_state)[base..] { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8844:33 [INFO] [stdout] | [INFO] [stdout] 8844 | (*ctxt).state = (*(*ctxt).states).tab_state[0]; [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8844:33 [INFO] [stdout] | [INFO] [stdout] 8844 | (*ctxt).state = (*(*ctxt).states).tab_state[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8844 | (*ctxt).state = (&(*(*ctxt).states).tab_state)[0]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8855:33 [INFO] [stdout] | [INFO] [stdout] 8855 | (*ctxt).state = (*(*ctxt).states).tab_state[0]; [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8855:33 [INFO] [stdout] | [INFO] [stdout] 8855 | (*ctxt).state = (*(*ctxt).states).tab_state[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8855 | (*ctxt).state = (&(*(*ctxt).states).tab_state)[0]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8869:29 [INFO] [stdout] | [INFO] [stdout] 8869 | (*ctxt).state = (*states).tab_state[i]; [INFO] [stdout] | ^^------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8869:29 [INFO] [stdout] | [INFO] [stdout] 8869 | (*ctxt).state = (*states).tab_state[i]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8869 | (*ctxt).state = (&(*states).tab_state)[i]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8886:25 [INFO] [stdout] | [INFO] [stdout] 8886 | (*states).tab_state[j] = (*ctxt).state; [INFO] [stdout] | ^^------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8886:25 [INFO] [stdout] | [INFO] [stdout] 8886 | (*states).tab_state[j] = (*ctxt).state; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8886 | (&mut (*states).tab_state)[j] = (*ctxt).state; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8895:59 [INFO] [stdout] | [INFO] [stdout] 8895 | xml_relaxng_add_states(ctxt, res, (*states).tab_state[k]); [INFO] [stdout] | ^^------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8895:59 [INFO] [stdout] | [INFO] [stdout] 8895 | xml_relaxng_add_states(ctxt, res, (*states).tab_state[k]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8895 | xml_relaxng_add_states(ctxt, res, (&(*states).tab_state)[k]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8900:59 [INFO] [stdout] | [INFO] [stdout] 8900 | xml_relaxng_add_states(ctxt, res, (*(*ctxt).states).tab_state[k]); [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8900:59 [INFO] [stdout] | [INFO] [stdout] 8900 | xml_relaxng_add_states(ctxt, res, (*(*ctxt).states).tab_state[k]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8900 | xml_relaxng_add_states(ctxt, res, (&(*(*ctxt).states).tab_state)[k]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8910:56 [INFO] [stdout] | [INFO] [stdout] 8910 | xml_relaxng_free_valid_state(ctxt, (*(*ctxt).states).tab_state[k]); [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8910:56 [INFO] [stdout] | [INFO] [stdout] 8910 | xml_relaxng_free_valid_state(ctxt, (*(*ctxt).states).tab_state[k]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8910 | xml_relaxng_free_valid_state(ctxt, (&(*(*ctxt).states).tab_state)[k]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8926:29 [INFO] [stdout] | [INFO] [stdout] 8926 | (*ctxt).state = (*states).tab_state[0]; [INFO] [stdout] | ^^------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8926:29 [INFO] [stdout] | [INFO] [stdout] 8926 | (*ctxt).state = (*states).tab_state[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8926 | (*ctxt).state = (&(*states).tab_state)[0]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nbLocators` should have a snake case name [INFO] [stdout] --> src/libxml/xlink.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | nbLocators: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `nb_locators` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nbArcs` should have a snake case name [INFO] [stdout] --> src/libxml/xlink.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | nbArcs: i32, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `nb_arcs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nbTitles` should have a snake case name [INFO] [stdout] --> src/libxml/xlink.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | nbTitles: i32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `nb_titles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nbLocators` should have a snake case name [INFO] [stdout] --> src/libxml/xlink.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | nbLocators: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `nb_locators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nbTitles` should have a snake case name [INFO] [stdout] --> src/libxml/xlink.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | nbTitles: i32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `nb_titles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/libxml/xmlreader.rs:2189:33 [INFO] [stdout] | [INFO] [stdout] 2189 | pub unsafe fn get_remainder(&mut self) -> Option { [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] 2189 | pub unsafe fn get_remainder(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlreader.rs:4732:35 [INFO] [stdout] | [INFO] [stdout] 4732 | input = Some(&(*ctx).input_tab[(*ctx).input_tab.len() as usize - 2]); [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut parser::context::XmlParserCtxt<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/libxml/xmlreader.rs:4732:35 [INFO] [stdout] | [INFO] [stdout] 4732 | input = Some(&(*ctx).input_tab[(*ctx).input_tab.len() as usize - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 4732 | input = Some(&(&(*ctx).input_tab)[(*ctx).input_tab.len() as usize - 2]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlreader.rs:4771:35 [INFO] [stdout] | [INFO] [stdout] 4771 | input = Some(&(*ctx).input_tab[(*ctx).input_tab.len() as usize - 2]); [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut parser::context::XmlParserCtxt<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/libxml/xmlreader.rs:4771:35 [INFO] [stdout] | [INFO] [stdout] 4771 | input = Some(&(*ctx).input_tab[(*ctx).input_tab.len() as usize - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 4771 | input = Some(&(&(*ctx).input_tab)[(*ctx).input_tab.len() as usize - 2]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:6912:25 [INFO] [stdout] | [INFO] [stdout] 6912 | let using = (*list).items[i] as XmlSchemaAttributeUsePtr; [INFO] [stdout] | ^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:6912:25 [INFO] [stdout] | [INFO] [stdout] 6912 | let using = (*list).items[i] as XmlSchemaAttributeUsePtr; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 6912 | let using = (&(*list).items)[i] as XmlSchemaAttributeUsePtr; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:7003:36 [INFO] [stdout] | [INFO] [stdout] 7003 | (*list).items[i] = (*sublist).items[0]; [INFO] [stdout] | ^^-------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:7003:36 [INFO] [stdout] | [INFO] [stdout] 7003 | (*list).items[i] = (*sublist).items[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7003 | (*list).items[i] = (&(*sublist).items)[0]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:7003:17 [INFO] [stdout] | [INFO] [stdout] 7003 | (*list).items[i] = (*sublist).items[0]; [INFO] [stdout] | ^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec<*mut libc::c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:7003:17 [INFO] [stdout] | [INFO] [stdout] 7003 | (*list).items[i] = (*sublist).items[0]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7003 | (&mut (*list).items)[i] = (*sublist).items[0]; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:7007:43 [INFO] [stdout] | [INFO] [stdout] 7007 | if (*list).insert((*sublist).items[j], i) == -1 { [INFO] [stdout] | ^^-------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:7007:43 [INFO] [stdout] | [INFO] [stdout] 7007 | if (*list).insert((*sublist).items[j], i) == -1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7007 | if (*list).insert((&(*sublist).items)[j], i) == -1 { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:7836:36 [INFO] [stdout] | [INFO] [stdout] 7836 | for tmp in (*uses).items[..uses_count] [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:7836:36 [INFO] [stdout] | [INFO] [stdout] 7836 | for tmp in (*uses).items[..uses_count] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7836 | for tmp in (&(*uses).items)[..uses_count] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:15350:16 [INFO] [stdout] | [INFO] [stdout] 15350 | if (*(*vctxt).node_qnames).items[i] == lname as _ [INFO] [stdout] | ^^--------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:15350:16 [INFO] [stdout] | [INFO] [stdout] 15350 | if (*(*vctxt).node_qnames).items[i] == lname as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 15350 | if (&(*(*vctxt).node_qnames).items)[i] == lname as _ [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:15351:20 [INFO] [stdout] | [INFO] [stdout] 15351 | && (*(*vctxt).node_qnames).items[i] == nsname as _ [INFO] [stdout] | ^^--------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:15351:20 [INFO] [stdout] | [INFO] [stdout] 15351 | && (*(*vctxt).node_qnames).items[i] == nsname as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 15351 | && (&(*(*vctxt).node_qnames).items)[i] == nsname as _ [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:15699:51 [INFO] [stdout] | [INFO] [stdout] 15699 | ... bkey_seq = (*(((*targets).items[(*e).index as usize]) [INFO] [stdout] | ^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:15699:52 [INFO] [stdout] | [INFO] [stdout] 15699 | ... bkey_seq = (*(((*targets).items[(*e).index as usize]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 15699 | bkey_seq = (*(((&(*targets).items)[(*e).index as usize]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:15954:24 [INFO] [stdout] | [INFO] [stdout] 15954 | attr_use = (*attr_use_list).items[i] as _; [INFO] [stdout] | ^^-------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:15954:24 [INFO] [stdout] | [INFO] [stdout] 15954 | attr_use = (*attr_use_list).items[i] as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 15954 | attr_use = (&(*attr_use_list).items)[i] as _; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:16137:62 [INFO] [stdout] | [INFO] [stdout] 16137 | ... WXS_ATTRUSE_TYPEDEF!((*attr_use_list).items[j]), [INFO] [stdout] | ^^-------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:16137:62 [INFO] [stdout] | [INFO] [stdout] 16137 | ... WXS_ATTRUSE_TYPEDEF!((*attr_use_list).items[j]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 16137 | WXS_ATTRUSE_TYPEDEF!((&(*attr_use_list).items)[j]), [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17151:19 [INFO] [stdout] | [INFO] [stdout] 17151 | (&(*(*bind).dupls).items[..], (*(*bind).dupls).items.len()) // as *mut XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ^^-------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17151:19 [INFO] [stdout] | [INFO] [stdout] 17151 | (&(*(*bind).dupls).items[..], (*(*bind).dupls).items.len()) // as *mut XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17151 | (&(&(*(*bind).dupls).items)[..], (*(*bind).dupls).items.len()) // as *mut XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17177:32 [INFO] [stdout] | [INFO] [stdout] 17177 | let targets = &(*(*matcher).targets).items[..]; // as *mut XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ^^------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17177:32 [INFO] [stdout] | [INFO] [stdout] 17177 | let targets = &(*(*matcher).targets).items[..]; // as *mut XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17177 | let targets = &(&(*(*matcher).targets).items)[..]; // as *mut XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17234:51 [INFO] [stdout] | [INFO] [stdout] 17234 | ... (*(*(*(*bind).node_table[j]).keys.add(0))).val, [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaPSVIIDCBinding` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut XmlSchemaPSVIIDCNode>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17234:51 [INFO] [stdout] | [INFO] [stdout] 17234 | ... (*(*(*(*bind).node_table[j]).keys.add(0))).val, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17234 | (*(*(*(&(*bind).node_table)[j]).keys.add(0))).val, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17246:52 [INFO] [stdout] | [INFO] [stdout] 17246 | ... ntkeys = (*(*bind).node_table[j]).keys; [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaPSVIIDCBinding` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut XmlSchemaPSVIIDCNode>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17246:52 [INFO] [stdout] | [INFO] [stdout] 17246 | ... ntkeys = (*(*bind).node_table[j]).keys; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17246 | ntkeys = (*(&(*bind).node_table)[j]).keys; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17271:62 [INFO] [stdout] | [INFO] [stdout] 17271 | ... if (*(*bind).dupls).push((*bind).node_table[j] as _) == -1 { [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaPSVIIDCBinding` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut XmlSchemaPSVIIDCNode>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17271:62 [INFO] [stdout] | [INFO] [stdout] 17271 | ... if (*(*bind).dupls).push((*bind).node_table[j] as _) == -1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17271 | if (*(*bind).dupls).push((&(*bind).node_table)[j] as _) == -1 { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17276:37 [INFO] [stdout] | [INFO] [stdout] 17276 | ... (*bind).node_table[j] = (*bind).node_table.pop().unwrap(); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaPSVIIDCBinding` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec<*mut XmlSchemaPSVIIDCNode>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17276:37 [INFO] [stdout] | [INFO] [stdout] 17276 | ... (*bind).node_table[j] = (*bind).node_table.pop().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17276 | (&mut (*bind).node_table)[j] = (*bind).node_table.pop().unwrap(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17346:34 [INFO] [stdout] | [INFO] [stdout] 17346 | keys = (*(*bind).node_table[j]).keys; [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaPSVIIDCBinding` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut XmlSchemaPSVIIDCNode>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17346:34 [INFO] [stdout] | [INFO] [stdout] 17346 | keys = (*(*bind).node_table[j]).keys; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17346 | keys = (*(&(*bind).node_table)[j]).keys; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17365:32 [INFO] [stdout] | [INFO] [stdout] 17365 | ref_node = (*(*matcher).targets).items[i] as _; [INFO] [stdout] | ^^------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17365:32 [INFO] [stdout] | [INFO] [stdout] 17365 | ref_node = (*(*matcher).targets).items[i] as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17365 | ref_node = (&(*(*matcher).targets).items)[i] as _; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17375:38 [INFO] [stdout] | [INFO] [stdout] 17375 | ... keys = (*(*bind).node_table[(*e).index as usize]).keys; [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaPSVIIDCBinding` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut XmlSchemaPSVIIDCNode>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17375:38 [INFO] [stdout] | [INFO] [stdout] 17375 | ... keys = (*(*bind).node_table[(*e).index as usize]).keys; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17375 | keys = (*(&(*bind).node_table)[(*e).index as usize]).keys; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17396:43 [INFO] [stdout] | [INFO] [stdout] 17396 | ... keys = (*(((*(*bind).dupls).items[j]) as XmlSchemaPSVIIDCNodePtr)) [INFO] [stdout] | ^^^-------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17396:44 [INFO] [stdout] | [INFO] [stdout] 17396 | ... keys = (*(((*(*bind).dupls).items[j]) as XmlSchemaPSVIIDCNodePtr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17396 | keys = (*(((&(*(*bind).dupls).items)[j]) as XmlSchemaPSVIIDCNodePtr)) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17531:30 [INFO] [stdout] | [INFO] [stdout] 17531 | ... &(*(*par_bind).dupls).items[..], [INFO] [stdout] | ^^-----------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17531:30 [INFO] [stdout] | [INFO] [stdout] 17531 | ... &(*(*par_bind).dupls).items[..], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17531 | &(&(*(*par_bind).dupls).items)[..], [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17541:32 [INFO] [stdout] | [INFO] [stdout] 17541 | node = (*bind).node_table[i]; [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaPSVIIDCBinding` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut XmlSchemaPSVIIDCNode>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17541:32 [INFO] [stdout] | [INFO] [stdout] 17541 | node = (*bind).node_table[i]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17541 | node = (&(*bind).node_table)[i]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:18394:36 [INFO] [stdout] | [INFO] [stdout] 18394 | idc_node = (*(*matcher).targets).items[i] as XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ^^------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:18394:36 [INFO] [stdout] | [INFO] [stdout] 18394 | idc_node = (*(*matcher).targets).items[i] as XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 18394 | idc_node = (&(*(*matcher).targets).items)[i] as XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/context.rs:319:43 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn from_filename(filename: Option<&str>) -> Option { [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] 319 | pub fn from_filename(filename: Option<&str>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/context.rs:332:26 [INFO] [stdout] | [INFO] [stdout] 332 | filename: Option<&str>, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 333 | options: i32, [INFO] [stdout] 334 | ) -> Option { [INFO] [stdout] | ------------- the same lifetime is hidden 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] 334 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/context.rs:599:18 [INFO] [stdout] | [INFO] [stdout] 599 | pub fn input(&self) -> Option<&XmlParserInput> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 599 | pub fn input(&self) -> Option<&XmlParserInput<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/relaxng/error.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | if (*ctxt).err_tab[..i].iter().any(|dup| { [INFO] [stdout] | ^^----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut relaxng::valid::XmlRelaxNGValidCtxt` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec` [INFO] [stdout] --> src/relaxng/error.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | if (*ctxt).err_tab[..i].iter().any(|dup| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 200 | if (&(*ctxt).err_tab)[..i].iter().any(|dup| { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/relaxng/error.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | for err in (*ctxt).err_tab[level as usize..].iter_mut() { [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut relaxng::valid::XmlRelaxNGValidCtxt` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec` [INFO] [stdout] --> src/relaxng/error.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | for err in (*ctxt).err_tab[level as usize..].iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 280 | for err in (&mut (*ctxt).err_tab)[level as usize..].iter_mut() { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/xmlschemas/context.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | url: Option<&str>, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 253 | dict: XmlDictPtr, [INFO] [stdout] 254 | ) -> XmlSchemaParserCtxtPtr { [INFO] [stdout] | ---------------------- the same lifetime is hidden 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] 254 | ) -> XmlSchemaParserCtxtPtr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/xmlschemas/context.rs:540:31 [INFO] [stdout] | [INFO] [stdout] 540 | pub fn get_parser_context(&self) -> Option<&XmlParserCtxt> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 540 | pub fn get_parser_context(&self) -> Option<&XmlParserCtxt<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/xmlschemas/error.rs:2016:13 [INFO] [stdout] | [INFO] [stdout] 2016 | (*(*vctxt).node_qnames).items[(*idc_node).node_qname_id as usize + 1] as *const i8; [INFO] [stdout] | ^^--------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/xmlschemas/error.rs:2016:13 [INFO] [stdout] | [INFO] [stdout] 2016 | (*(*vctxt).node_qnames).items[(*idc_node).node_qname_id as usize + 1] as *const i8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2016 | (&(*(*vctxt).node_qnames).items)[(*idc_node).node_qname_id as usize + 1] as *const i8; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/xmlschemas/error.rs:2023:21 [INFO] [stdout] | [INFO] [stdout] 2023 | (*(*vctxt).node_qnames).items[(*idc_node).node_qname_id as usize] as *const i8, [INFO] [stdout] | ^^--------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut libc::c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut libc::c_void>` [INFO] [stdout] --> src/xmlschemas/error.rs:2023:21 [INFO] [stdout] | [INFO] [stdout] 2023 | (*(*vctxt).node_qnames).items[(*idc_node).node_qname_id as usize] as *const i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2023 | (&(*(*vctxt).node_qnames).items)[(*idc_node).node_qname_id as usize] as *const i8, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exml` (lib test) due to 50 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/error.rs:1110:35 [INFO] [stdout] | [INFO] [stdout] 1110 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut parser::context::XmlParserCtxt<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/error.rs:1110:35 [INFO] [stdout] | [INFO] [stdout] 1110 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] 1110 | input = Some(&(&(*ctxt).input_tab)[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/error.rs:1228:35 [INFO] [stdout] | [INFO] [stdout] 1228 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut parser::context::XmlParserCtxt<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/error.rs:1228:35 [INFO] [stdout] | [INFO] [stdout] 1228 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1228 | input = Some(&(&(*ctxt).input_tab)[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/error.rs:1258:35 [INFO] [stdout] | [INFO] [stdout] 1258 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut parser::context::XmlParserCtxt<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/error.rs:1258:35 [INFO] [stdout] | [INFO] [stdout] 1258 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1258 | input = Some(&(&(*ctxt).input_tab)[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/error.rs:1292:39 [INFO] [stdout] | [INFO] [stdout] 1292 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut parser::context::XmlParserCtxt<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/error.rs:1292:39 [INFO] [stdout] | [INFO] [stdout] 1292 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1292 | input = Some(&(&(*ctxt).input_tab)[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/error.rs:1335:39 [INFO] [stdout] | [INFO] [stdout] 1335 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut parser::context::XmlParserCtxt<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/error.rs:1335:39 [INFO] [stdout] | [INFO] [stdout] 1335 | input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1335 | input = Some(&(&(*ctxt).input_tab)[(*ctxt).input_tab.len() - 2]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/error.rs:1502:43 [INFO] [stdout] | [INFO] [stdout] 1502 | ... input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() as usize - 2]); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut parser::context::XmlParserCtxt<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/error.rs:1502:43 [INFO] [stdout] | [INFO] [stdout] 1502 | ... input = Some(&(*ctxt).input_tab[(*ctxt).input_tab.len() as usize - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1502 | input = Some(&(&(*ctxt).input_tab)[(*ctxt).input_tab.len() as usize - 2]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/html/parser.rs:2742:47 [INFO] [stdout] | [INFO] [stdout] 2742 | pub fn html_create_memory_parser_ctxt(buffer: &[u8]) -> Option { [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] 2742 | pub fn html_create_memory_parser_ctxt(buffer: &[u8]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io/output.rs:611:10 [INFO] [stdout] | [INFO] [stdout] 611 | uri: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 612 | encoder: Option>>, [INFO] [stdout] 613 | ) -> Option { [INFO] [stdout] | --------------- the same lifetime is hidden 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] 613 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:7212:21 [INFO] [stdout] | [INFO] [stdout] 7212 | (*(*ctxt).state).attrs[j] = None; [INFO] [stdout] | ^^-------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut relaxng::valid::XmlRelaxNGValidState` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec>` [INFO] [stdout] --> src/libxml/relaxng.rs:7212:21 [INFO] [stdout] | [INFO] [stdout] 7212 | (*(*ctxt).state).attrs[j] = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7212 | (&mut (*(*ctxt).state).attrs)[j] = None; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:7248:17 [INFO] [stdout] | [INFO] [stdout] 7248 | (*(*ctxt).state).attrs[j] = None; [INFO] [stdout] | ^^-------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut relaxng::valid::XmlRelaxNGValidState` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec>` [INFO] [stdout] --> src/libxml/relaxng.rs:7248:17 [INFO] [stdout] | [INFO] [stdout] 7248 | (*(*ctxt).state).attrs[j] = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7248 | (&mut (*(*ctxt).state).attrs)[j] = None; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:7528:29 [INFO] [stdout] | [INFO] [stdout] 7528 | (*ctxt).state = (*(*ctxt).states).tab_state[best as usize]; [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:7528:29 [INFO] [stdout] | [INFO] [stdout] 7528 | (*ctxt).state = (*(*ctxt).states).tab_state[best as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7528 | (*ctxt).state = (&(*(*ctxt).states).tab_state)[best as usize]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:7969:40 [INFO] [stdout] | [INFO] [stdout] 7969 | ... oldstate = (*(*ctxt).states).tab_state[best]; [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:7969:40 [INFO] [stdout] | [INFO] [stdout] 7969 | ... oldstate = (*(*ctxt).states).tab_state[best]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7969 | oldstate = (&(*(*ctxt).states).tab_state)[best]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:7970:29 [INFO] [stdout] | [INFO] [stdout] 7970 | ... (*(*ctxt).states).tab_state[best] = null_mut(); [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:7970:29 [INFO] [stdout] | [INFO] [stdout] 7970 | ... (*(*ctxt).states).tab_state[best] = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7970 | (&mut (*(*ctxt).states).tab_state)[best] = null_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/libxml/relaxng.rs:8476:68 [INFO] [stdout] | [INFO] [stdout] 8476 | ... xml_relaxng_copy_valid_state(ctxt, (*res).tab_state[base]); [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8476:68 [INFO] [stdout] | [INFO] [stdout] 8476 | ... xml_relaxng_copy_valid_state(ctxt, (*res).tab_state[base]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8476 | xml_relaxng_copy_valid_state(ctxt, (&(*res).tab_state)[base]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8490:44 [INFO] [stdout] | [INFO] [stdout] 8490 | ... for &state in &(*res).tab_state[base..] { [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8490:44 [INFO] [stdout] | [INFO] [stdout] 8490 | ... for &state in &(*res).tab_state[base..] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8490 | for &state in &(&(*res).tab_state)[base..] { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8844:33 [INFO] [stdout] | [INFO] [stdout] 8844 | (*ctxt).state = (*(*ctxt).states).tab_state[0]; [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8844:33 [INFO] [stdout] | [INFO] [stdout] 8844 | (*ctxt).state = (*(*ctxt).states).tab_state[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8844 | (*ctxt).state = (&(*(*ctxt).states).tab_state)[0]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8855:33 [INFO] [stdout] | [INFO] [stdout] 8855 | (*ctxt).state = (*(*ctxt).states).tab_state[0]; [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8855:33 [INFO] [stdout] | [INFO] [stdout] 8855 | (*ctxt).state = (*(*ctxt).states).tab_state[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8855 | (*ctxt).state = (&(*(*ctxt).states).tab_state)[0]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8869:29 [INFO] [stdout] | [INFO] [stdout] 8869 | (*ctxt).state = (*states).tab_state[i]; [INFO] [stdout] | ^^------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8869:29 [INFO] [stdout] | [INFO] [stdout] 8869 | (*ctxt).state = (*states).tab_state[i]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8869 | (*ctxt).state = (&(*states).tab_state)[i]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8886:25 [INFO] [stdout] | [INFO] [stdout] 8886 | (*states).tab_state[j] = (*ctxt).state; [INFO] [stdout] | ^^------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8886:25 [INFO] [stdout] | [INFO] [stdout] 8886 | (*states).tab_state[j] = (*ctxt).state; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8886 | (&mut (*states).tab_state)[j] = (*ctxt).state; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8895:59 [INFO] [stdout] | [INFO] [stdout] 8895 | xml_relaxng_add_states(ctxt, res, (*states).tab_state[k]); [INFO] [stdout] | ^^------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8895:59 [INFO] [stdout] | [INFO] [stdout] 8895 | xml_relaxng_add_states(ctxt, res, (*states).tab_state[k]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8895 | xml_relaxng_add_states(ctxt, res, (&(*states).tab_state)[k]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8900:59 [INFO] [stdout] | [INFO] [stdout] 8900 | xml_relaxng_add_states(ctxt, res, (*(*ctxt).states).tab_state[k]); [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8900:59 [INFO] [stdout] | [INFO] [stdout] 8900 | xml_relaxng_add_states(ctxt, res, (*(*ctxt).states).tab_state[k]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8900 | xml_relaxng_add_states(ctxt, res, (&(*(*ctxt).states).tab_state)[k]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8910:56 [INFO] [stdout] | [INFO] [stdout] 8910 | xml_relaxng_free_valid_state(ctxt, (*(*ctxt).states).tab_state[k]); [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8910:56 [INFO] [stdout] | [INFO] [stdout] 8910 | xml_relaxng_free_valid_state(ctxt, (*(*ctxt).states).tab_state[k]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8910 | xml_relaxng_free_valid_state(ctxt, (&(*(*ctxt).states).tab_state)[k]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/relaxng.rs:8926:29 [INFO] [stdout] | [INFO] [stdout] 8926 | (*ctxt).state = (*states).tab_state[0]; [INFO] [stdout] | ^^------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlRelaxNGStates` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut relaxng::valid::XmlRelaxNGValidState>` [INFO] [stdout] --> src/libxml/relaxng.rs:8926:29 [INFO] [stdout] | [INFO] [stdout] 8926 | (*ctxt).state = (*states).tab_state[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 8926 | (*ctxt).state = (&(*states).tab_state)[0]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nbLocators` should have a snake case name [INFO] [stdout] --> src/libxml/xlink.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | nbLocators: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `nb_locators` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nbArcs` should have a snake case name [INFO] [stdout] --> src/libxml/xlink.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | nbArcs: i32, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `nb_arcs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nbTitles` should have a snake case name [INFO] [stdout] --> src/libxml/xlink.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | nbTitles: i32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `nb_titles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nbLocators` should have a snake case name [INFO] [stdout] --> src/libxml/xlink.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | nbLocators: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `nb_locators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nbTitles` should have a snake case name [INFO] [stdout] --> src/libxml/xlink.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | nbTitles: i32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `nb_titles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/libxml/xmlreader.rs:2189:33 [INFO] [stdout] | [INFO] [stdout] 2189 | pub unsafe fn get_remainder(&mut self) -> Option { [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] 2189 | pub unsafe fn get_remainder(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlreader.rs:4732:35 [INFO] [stdout] | [INFO] [stdout] 4732 | input = Some(&(*ctx).input_tab[(*ctx).input_tab.len() as usize - 2]); [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut parser::context::XmlParserCtxt<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/libxml/xmlreader.rs:4732:35 [INFO] [stdout] | [INFO] [stdout] 4732 | input = Some(&(*ctx).input_tab[(*ctx).input_tab.len() as usize - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 4732 | input = Some(&(&(*ctx).input_tab)[(*ctx).input_tab.len() as usize - 2]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlreader.rs:4771:35 [INFO] [stdout] | [INFO] [stdout] 4771 | input = Some(&(*ctx).input_tab[(*ctx).input_tab.len() as usize - 2]); [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut parser::context::XmlParserCtxt<'_>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/libxml/xmlreader.rs:4771:35 [INFO] [stdout] | [INFO] [stdout] 4771 | input = Some(&(*ctx).input_tab[(*ctx).input_tab.len() as usize - 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 4771 | input = Some(&(&(*ctx).input_tab)[(*ctx).input_tab.len() as usize - 2]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:6912:25 [INFO] [stdout] | [INFO] [stdout] 6912 | let using = (*list).items[i] as XmlSchemaAttributeUsePtr; [INFO] [stdout] | ^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:6912:25 [INFO] [stdout] | [INFO] [stdout] 6912 | let using = (*list).items[i] as XmlSchemaAttributeUsePtr; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 6912 | let using = (&(*list).items)[i] as XmlSchemaAttributeUsePtr; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:7003:36 [INFO] [stdout] | [INFO] [stdout] 7003 | (*list).items[i] = (*sublist).items[0]; [INFO] [stdout] | ^^-------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:7003:36 [INFO] [stdout] | [INFO] [stdout] 7003 | (*list).items[i] = (*sublist).items[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7003 | (*list).items[i] = (&(*sublist).items)[0]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:7003:17 [INFO] [stdout] | [INFO] [stdout] 7003 | (*list).items[i] = (*sublist).items[0]; [INFO] [stdout] | ^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec<*mut c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:7003:17 [INFO] [stdout] | [INFO] [stdout] 7003 | (*list).items[i] = (*sublist).items[0]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7003 | (&mut (*list).items)[i] = (*sublist).items[0]; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:7007:43 [INFO] [stdout] | [INFO] [stdout] 7007 | if (*list).insert((*sublist).items[j], i) == -1 { [INFO] [stdout] | ^^-------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:7007:43 [INFO] [stdout] | [INFO] [stdout] 7007 | if (*list).insert((*sublist).items[j], i) == -1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7007 | if (*list).insert((&(*sublist).items)[j], i) == -1 { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:7836:36 [INFO] [stdout] | [INFO] [stdout] 7836 | for tmp in (*uses).items[..uses_count] [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:7836:36 [INFO] [stdout] | [INFO] [stdout] 7836 | for tmp in (*uses).items[..uses_count] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 7836 | for tmp in (&(*uses).items)[..uses_count] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:15350:16 [INFO] [stdout] | [INFO] [stdout] 15350 | if (*(*vctxt).node_qnames).items[i] == lname as _ [INFO] [stdout] | ^^--------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:15350:16 [INFO] [stdout] | [INFO] [stdout] 15350 | if (*(*vctxt).node_qnames).items[i] == lname as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 15350 | if (&(*(*vctxt).node_qnames).items)[i] == lname as _ [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:15351:20 [INFO] [stdout] | [INFO] [stdout] 15351 | && (*(*vctxt).node_qnames).items[i] == nsname as _ [INFO] [stdout] | ^^--------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:15351:20 [INFO] [stdout] | [INFO] [stdout] 15351 | && (*(*vctxt).node_qnames).items[i] == nsname as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 15351 | && (&(*(*vctxt).node_qnames).items)[i] == nsname as _ [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:15699:51 [INFO] [stdout] | [INFO] [stdout] 15699 | ... bkey_seq = (*(((*targets).items[(*e).index as usize]) [INFO] [stdout] | ^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:15699:52 [INFO] [stdout] | [INFO] [stdout] 15699 | ... bkey_seq = (*(((*targets).items[(*e).index as usize]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 15699 | bkey_seq = (*(((&(*targets).items)[(*e).index as usize]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:15954:24 [INFO] [stdout] | [INFO] [stdout] 15954 | attr_use = (*attr_use_list).items[i] as _; [INFO] [stdout] | ^^-------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:15954:24 [INFO] [stdout] | [INFO] [stdout] 15954 | attr_use = (*attr_use_list).items[i] as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 15954 | attr_use = (&(*attr_use_list).items)[i] as _; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:16137:62 [INFO] [stdout] | [INFO] [stdout] 16137 | ... WXS_ATTRUSE_TYPEDEF!((*attr_use_list).items[j]), [INFO] [stdout] | ^^-------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:16137:62 [INFO] [stdout] | [INFO] [stdout] 16137 | ... WXS_ATTRUSE_TYPEDEF!((*attr_use_list).items[j]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 16137 | WXS_ATTRUSE_TYPEDEF!((&(*attr_use_list).items)[j]), [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17151:19 [INFO] [stdout] | [INFO] [stdout] 17151 | (&(*(*bind).dupls).items[..], (*(*bind).dupls).items.len()) // as *mut XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ^^-------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17151:19 [INFO] [stdout] | [INFO] [stdout] 17151 | (&(*(*bind).dupls).items[..], (*(*bind).dupls).items.len()) // as *mut XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17151 | (&(&(*(*bind).dupls).items)[..], (*(*bind).dupls).items.len()) // as *mut XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17177:32 [INFO] [stdout] | [INFO] [stdout] 17177 | let targets = &(*(*matcher).targets).items[..]; // as *mut XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ^^------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17177:32 [INFO] [stdout] | [INFO] [stdout] 17177 | let targets = &(*(*matcher).targets).items[..]; // as *mut XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17177 | let targets = &(&(*(*matcher).targets).items)[..]; // as *mut XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17234:51 [INFO] [stdout] | [INFO] [stdout] 17234 | ... (*(*(*(*bind).node_table[j]).keys.add(0))).val, [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaPSVIIDCBinding` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut XmlSchemaPSVIIDCNode>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17234:51 [INFO] [stdout] | [INFO] [stdout] 17234 | ... (*(*(*(*bind).node_table[j]).keys.add(0))).val, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17234 | (*(*(*(&(*bind).node_table)[j]).keys.add(0))).val, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17246:52 [INFO] [stdout] | [INFO] [stdout] 17246 | ... ntkeys = (*(*bind).node_table[j]).keys; [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaPSVIIDCBinding` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut XmlSchemaPSVIIDCNode>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17246:52 [INFO] [stdout] | [INFO] [stdout] 17246 | ... ntkeys = (*(*bind).node_table[j]).keys; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17246 | ntkeys = (*(&(*bind).node_table)[j]).keys; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17271:62 [INFO] [stdout] | [INFO] [stdout] 17271 | ... if (*(*bind).dupls).push((*bind).node_table[j] as _) == -1 { [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaPSVIIDCBinding` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut XmlSchemaPSVIIDCNode>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17271:62 [INFO] [stdout] | [INFO] [stdout] 17271 | ... if (*(*bind).dupls).push((*bind).node_table[j] as _) == -1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17271 | if (*(*bind).dupls).push((&(*bind).node_table)[j] as _) == -1 { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17276:37 [INFO] [stdout] | [INFO] [stdout] 17276 | ... (*bind).node_table[j] = (*bind).node_table.pop().unwrap(); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaPSVIIDCBinding` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec<*mut XmlSchemaPSVIIDCNode>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17276:37 [INFO] [stdout] | [INFO] [stdout] 17276 | ... (*bind).node_table[j] = (*bind).node_table.pop().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17276 | (&mut (*bind).node_table)[j] = (*bind).node_table.pop().unwrap(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17346:34 [INFO] [stdout] | [INFO] [stdout] 17346 | keys = (*(*bind).node_table[j]).keys; [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaPSVIIDCBinding` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut XmlSchemaPSVIIDCNode>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17346:34 [INFO] [stdout] | [INFO] [stdout] 17346 | keys = (*(*bind).node_table[j]).keys; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17346 | keys = (*(&(*bind).node_table)[j]).keys; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17365:32 [INFO] [stdout] | [INFO] [stdout] 17365 | ref_node = (*(*matcher).targets).items[i] as _; [INFO] [stdout] | ^^------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17365:32 [INFO] [stdout] | [INFO] [stdout] 17365 | ref_node = (*(*matcher).targets).items[i] as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17365 | ref_node = (&(*(*matcher).targets).items)[i] as _; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17375:38 [INFO] [stdout] | [INFO] [stdout] 17375 | ... keys = (*(*bind).node_table[(*e).index as usize]).keys; [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaPSVIIDCBinding` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut XmlSchemaPSVIIDCNode>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17375:38 [INFO] [stdout] | [INFO] [stdout] 17375 | ... keys = (*(*bind).node_table[(*e).index as usize]).keys; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17375 | keys = (*(&(*bind).node_table)[(*e).index as usize]).keys; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17396:43 [INFO] [stdout] | [INFO] [stdout] 17396 | ... keys = (*(((*(*bind).dupls).items[j]) as XmlSchemaPSVIIDCNodePtr)) [INFO] [stdout] | ^^^-------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17396:44 [INFO] [stdout] | [INFO] [stdout] 17396 | ... keys = (*(((*(*bind).dupls).items[j]) as XmlSchemaPSVIIDCNodePtr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17396 | keys = (*(((&(*(*bind).dupls).items)[j]) as XmlSchemaPSVIIDCNodePtr)) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17531:30 [INFO] [stdout] | [INFO] [stdout] 17531 | ... &(*(*par_bind).dupls).items[..], [INFO] [stdout] | ^^-----------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17531:30 [INFO] [stdout] | [INFO] [stdout] 17531 | ... &(*(*par_bind).dupls).items[..], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17531 | &(&(*(*par_bind).dupls).items)[..], [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:17541:32 [INFO] [stdout] | [INFO] [stdout] 17541 | node = (*bind).node_table[i]; [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaPSVIIDCBinding` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut XmlSchemaPSVIIDCNode>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:17541:32 [INFO] [stdout] | [INFO] [stdout] 17541 | node = (*bind).node_table[i]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 17541 | node = (&(*bind).node_table)[i]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/libxml/xmlschemas.rs:18394:36 [INFO] [stdout] | [INFO] [stdout] 18394 | idc_node = (*(*matcher).targets).items[i] as XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ^^------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/libxml/xmlschemas.rs:18394:36 [INFO] [stdout] | [INFO] [stdout] 18394 | idc_node = (*(*matcher).targets).items[i] as XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 18394 | idc_node = (&(*(*matcher).targets).items)[i] as XmlSchemaPSVIIDCNodePtr; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/context.rs:319:43 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn from_filename(filename: Option<&str>) -> Option { [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] 319 | pub fn from_filename(filename: Option<&str>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/context.rs:332:26 [INFO] [stdout] | [INFO] [stdout] 332 | filename: Option<&str>, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 333 | options: i32, [INFO] [stdout] 334 | ) -> Option { [INFO] [stdout] | ------------- the same lifetime is hidden 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] 334 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/context.rs:599:18 [INFO] [stdout] | [INFO] [stdout] 599 | pub fn input(&self) -> Option<&XmlParserInput> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 599 | pub fn input(&self) -> Option<&XmlParserInput<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/relaxng/error.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | if (*ctxt).err_tab[..i].iter().any(|dup| { [INFO] [stdout] | ^^----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut relaxng::valid::XmlRelaxNGValidCtxt` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec` [INFO] [stdout] --> src/relaxng/error.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | if (*ctxt).err_tab[..i].iter().any(|dup| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 200 | if (&(*ctxt).err_tab)[..i].iter().any(|dup| { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/relaxng/error.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | for err in (*ctxt).err_tab[level as usize..].iter_mut() { [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut relaxng::valid::XmlRelaxNGValidCtxt` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec` [INFO] [stdout] --> src/relaxng/error.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | for err in (*ctxt).err_tab[level as usize..].iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 280 | for err in (&mut (*ctxt).err_tab)[level as usize..].iter_mut() { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/xmlschemas/context.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | url: Option<&str>, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 253 | dict: XmlDictPtr, [INFO] [stdout] 254 | ) -> XmlSchemaParserCtxtPtr { [INFO] [stdout] | ---------------------- the same lifetime is hidden 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] 254 | ) -> XmlSchemaParserCtxtPtr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/xmlschemas/context.rs:540:31 [INFO] [stdout] | [INFO] [stdout] 540 | pub fn get_parser_context(&self) -> Option<&XmlParserCtxt> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 540 | pub fn get_parser_context(&self) -> Option<&XmlParserCtxt<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/xmlschemas/error.rs:2016:13 [INFO] [stdout] | [INFO] [stdout] 2016 | (*(*vctxt).node_qnames).items[(*idc_node).node_qname_id as usize + 1] as *const i8; [INFO] [stdout] | ^^--------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/xmlschemas/error.rs:2016:13 [INFO] [stdout] | [INFO] [stdout] 2016 | (*(*vctxt).node_qnames).items[(*idc_node).node_qname_id as usize + 1] as *const i8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2016 | (&(*(*vctxt).node_qnames).items)[(*idc_node).node_qname_id as usize + 1] as *const i8; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/xmlschemas/error.rs:2023:21 [INFO] [stdout] | [INFO] [stdout] 2023 | (*(*vctxt).node_qnames).items[(*idc_node).node_qname_id as usize] as *const i8, [INFO] [stdout] | ^^--------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut XmlSchemaItemList<*mut c_void>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut c_void>` [INFO] [stdout] --> src/xmlschemas/error.rs:2023:21 [INFO] [stdout] | [INFO] [stdout] 2023 | (*(*vctxt).node_qnames).items[(*idc_node).node_qname_id as usize] as *const i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2023 | (&(*(*vctxt).node_qnames).items)[(*idc_node).node_qname_id as usize] as *const i8, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exml` (lib) due to 50 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "764a602f64b23501b480584815ce43ecf035b9a9d5ca3ffc4ac6a1d629d03483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "764a602f64b23501b480584815ce43ecf035b9a9d5ca3ffc4ac6a1d629d03483", kill_on_drop: false }` [INFO] [stdout] 764a602f64b23501b480584815ce43ecf035b9a9d5ca3ffc4ac6a1d629d03483