[INFO] fetching crate python-oxidized-importer 0.9.0... [INFO] checking python-oxidized-importer-0.9.0 against master#d93f678fa55842cccd2f091deccd93e9494b3764 for pr-138844 [INFO] extracting crate python-oxidized-importer 0.9.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate python-oxidized-importer 0.9.0 on toolchain d93f678fa55842cccd2f091deccd93e9494b3764 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] started tweaking crates.io crate python-oxidized-importer 0.9.0 [INFO] finished tweaking crates.io crate python-oxidized-importer 0.9.0 [INFO] tweaked toml for crates.io crate python-oxidized-importer 0.9.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 69 packages to latest compatible versions [INFO] [stderr] Adding memmap2 v0.5.10 (available: v0.9.5) [INFO] [stderr] Adding pyo3 v0.17.3 (available: v0.24.0) [INFO] [stderr] Adding zip v0.6.6 (available: v2.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mailparse v0.14.1 [INFO] [stderr] Downloaded python-packed-resources v0.12.0 [INFO] [stderr] Downloaded pyo3-build-config v0.17.3 [INFO] [stderr] Downloaded memory-module-sys v0.3.0 [INFO] [stderr] Downloaded pyo3-macros v0.17.3 [INFO] [stderr] Downloaded pyo3-ffi v0.17.3 [INFO] [stderr] Downloaded pyo3-macros-backend v0.17.3 [INFO] [stderr] Downloaded python-packaging v0.16.0 [INFO] [stderr] Downloaded pyo3 v0.17.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22f3cab2feb002d63d2d339528c7d355c1c885a3c5ac90b7bcc88548741963bc [INFO] running `Command { std: "docker" "start" "-a" "22f3cab2feb002d63d2d339528c7d355c1c885a3c5ac90b7bcc88548741963bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22f3cab2feb002d63d2d339528c7d355c1c885a3c5ac90b7bcc88548741963bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f3cab2feb002d63d2d339528c7d355c1c885a3c5ac90b7bcc88548741963bc", kill_on_drop: false }` [INFO] [stdout] 22f3cab2feb002d63d2d339528c7d355c1c885a3c5ac90b7bcc88548741963bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bcd41ebbba9488ac77c5f881f2e9385114fb668178497fcabc5031e3c4f8be1 [INFO] running `Command { std: "docker" "start" "-a" "7bcd41ebbba9488ac77c5f881f2e9385114fb668178497fcabc5031e3c4f8be1", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Compiling pyo3-build-config v0.17.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking data-encoding v2.8.0 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking charset v0.1.5 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking python-packed-resources v0.12.0 [INFO] [stderr] Checking mailparse v0.14.1 [INFO] [stderr] Checking spdx v0.10.8 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking simple-file-manifest v0.11.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling pyo3-ffi v0.17.3 [INFO] [stderr] Compiling pyo3 v0.17.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking python-packaging v0.16.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.17.3 [INFO] [stderr] Compiling pyo3-macros v0.17.3 [INFO] [stderr] Checking python-oxidized-importer v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/importer.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | let mut state = get_module_state(oxidized_importer)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/importer.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | let mut state = get_module_state(oxidized_importer)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | let mut state = get_module_state(m)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&raw mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/importer.rs:1210:1 [INFO] [stdout] | [INFO] [stdout] 1210 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__truediv__` and up 2 bodies [INFO] [stdout] 1211 | impl PyOxidizerTraversable { [INFO] [stdout] | --------------------- `PyOxidizerTraversable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | let mut state = get_module_state(m)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&raw mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/importer.rs:1210:1 [INFO] [stdout] | [INFO] [stdout] 1210 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__truediv__` and up 2 bodies [INFO] [stdout] 1211 | impl PyOxidizerTraversable { [INFO] [stdout] | --------------------- `PyOxidizerTraversable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.21s [INFO] running `Command { std: "docker" "inspect" "7bcd41ebbba9488ac77c5f881f2e9385114fb668178497fcabc5031e3c4f8be1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bcd41ebbba9488ac77c5f881f2e9385114fb668178497fcabc5031e3c4f8be1", kill_on_drop: false }` [INFO] [stdout] 7bcd41ebbba9488ac77c5f881f2e9385114fb668178497fcabc5031e3c4f8be1