[INFO] fetching crate pyc_editor 0.4.1... [INFO] testing pyc_editor-0.4.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate pyc_editor 0.4.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate pyc_editor 0.4.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pyc_editor 0.4.1 [INFO] tweaked toml for crates.io crate pyc_editor 0.4.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pyc_editor 0.4.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pyc_editor 0.4.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libz-rs-sys v0.5.1 [INFO] [stderr] Downloaded hashable v0.0.0 [INFO] [stderr] Downloaded libbz2-rs-sys v0.2.2 [INFO] [stderr] Downloaded liblzma v0.4.4 [INFO] [stderr] Downloaded bzip2 v0.6.0 [INFO] [stderr] Downloaded faccess v0.2.4 [INFO] [stderr] Downloaded zip v4.6.0 [INFO] [stderr] Downloaded cmd_lib_macros v1.9.6 [INFO] [stderr] Downloaded liblzma-sys v0.4.4 [INFO] [stderr] Downloaded store-interval-tree v0.4.0 [INFO] [stderr] Downloaded ppmd-rust v1.2.1 [INFO] [stderr] Downloaded cmd_lib v1.9.6 [INFO] [stderr] Downloaded python_marshal v0.4.7 [INFO] [stderr] Downloaded zlib-rs v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53298e2f0466fdb3c7016bca74b3f4b6dec3d1bc27290b25f74300c29d46d913 [INFO] running `Command { std: "docker" "start" "-a" "53298e2f0466fdb3c7016bca74b3f4b6dec3d1bc27290b25f74300c29d46d913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53298e2f0466fdb3c7016bca74b3f4b6dec3d1bc27290b25f74300c29d46d913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53298e2f0466fdb3c7016bca74b3f4b6dec3d1bc27290b25f74300c29d46d913", kill_on_drop: false }` [INFO] [stdout] 53298e2f0466fdb3c7016bca74b3f4b6dec3d1bc27290b25f74300c29d46d913 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 816585075bf43c00a5369dbf83942bfbdc3e197b845f923b37d3fbdd9b6ed665 [INFO] running `Command { std: "docker" "start" "-a" "816585075bf43c00a5369dbf83942bfbdc3e197b845f923b37d3fbdd9b6ed665", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling store-interval-tree v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling hashable v0.0.0 [INFO] [stderr] Compiling python_marshal v0.4.7 [INFO] [stderr] Compiling pyc_editor v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lib.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 199 | let object = match code_object { [INFO] [stdout] | __________________- [INFO] [stdout] 200 | | #[cfg(feature = "v310")] [INFO] [stdout] 201 | | CodeObject::V310(code) => python_marshal::Object::Code(code.into()), [INFO] [stdout] 202 | | #[cfg(feature = "v311")] [INFO] [stdout] ... | [INFO] [stdout] 207 | | CodeObject::V313(code) => python_marshal::Object::Code(code.into()), [INFO] [stdout] 208 | | }; [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 209 | [INFO] [stdout] 210 | let (obj, refs) = minimize_references(&object, vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | match val.clone() { [INFO] [stdout] | ^ ----------- any code following this expression is unreachable [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 33 | | #[cfg(feature = "v310")] [INFO] [stdout] 34 | | PycFile::V310(pyc) => { [INFO] [stdout] 35 | | python_marshal::PycFile { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `PycFile`, which is uninhabited [INFO] [stdout] --> src/lib.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | match val.clone() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn load_code(mut data: impl Read, python_version: PyVersion) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn load_code(mut data: impl Read, python_version: PyVersion) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/lib.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let object = match code_object { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `python_version` [INFO] [stdout] --> src/lib.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | python_version: PyVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_python_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `marshal_version` [INFO] [stdout] --> src/lib.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | marshal_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_marshal_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_extended_args_count` is never used [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_extended_args_count(arg: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnusedArgument` is never constructed [INFO] [stdout] --> src/utils.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UnusedArgument(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.60s [INFO] running `Command { std: "docker" "inspect" "816585075bf43c00a5369dbf83942bfbdc3e197b845f923b37d3fbdd9b6ed665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "816585075bf43c00a5369dbf83942bfbdc3e197b845f923b37d3fbdd9b6ed665", kill_on_drop: false }` [INFO] [stdout] 816585075bf43c00a5369dbf83942bfbdc3e197b845f923b37d3fbdd9b6ed665 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e30e2cca9aeb7b63263dc350bf6cb9dfbf65c4a8c27347bf889b567fcca0941 [INFO] running `Command { std: "docker" "start" "-a" "4e30e2cca9aeb7b63263dc350bf6cb9dfbf65c4a8c27347bf889b567fcca0941", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling zlib-rs v0.5.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling liblzma-sys v0.4.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling libz-rs-sys v0.5.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling libbz2-rs-sys v0.2.2 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling liblzma v0.4.4 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling cmd_lib_macros v1.9.6 [INFO] [stderr] Compiling bzip2 v0.6.0 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling zopfli v0.8.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling faccess v0.2.4 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling os_pipe v1.2.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling hashable v0.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling python_marshal v0.4.7 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling ppmd-rust v1.2.1 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling cmd_lib v1.9.6 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling zip v4.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling pyc_editor v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lib.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 199 | let object = match code_object { [INFO] [stdout] | __________________- [INFO] [stdout] 200 | | #[cfg(feature = "v310")] [INFO] [stdout] 201 | | CodeObject::V310(code) => python_marshal::Object::Code(code.into()), [INFO] [stdout] 202 | | #[cfg(feature = "v311")] [INFO] [stdout] ... | [INFO] [stdout] 207 | | CodeObject::V313(code) => python_marshal::Object::Code(code.into()), [INFO] [stdout] 208 | | }; [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 209 | [INFO] [stdout] 210 | let (obj, refs) = minimize_references(&object, vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | match val.clone() { [INFO] [stdout] | ^ ----------- any code following this expression is unreachable [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 33 | | #[cfg(feature = "v310")] [INFO] [stdout] 34 | | PycFile::V310(pyc) => { [INFO] [stdout] 35 | | python_marshal::PycFile { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `PycFile`, which is uninhabited [INFO] [stdout] --> src/lib.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | match val.clone() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn load_code(mut data: impl Read, python_version: PyVersion) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn load_code(mut data: impl Read, python_version: PyVersion) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/lib.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let object = match code_object { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `python_version` [INFO] [stdout] --> src/lib.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | python_version: PyVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_python_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `marshal_version` [INFO] [stdout] --> src/lib.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | marshal_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_marshal_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_extended_args_count` is never used [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_extended_args_count(arg: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnusedArgument` is never constructed [INFO] [stdout] --> src/utils.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UnusedArgument(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stdout] error[E0433]: failed to resolve: could not find `v310` in `pyc_editor` [INFO] [stdout] --> examples/modify.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | v310::{instructions::Instruction, opcodes::Opcode}, [INFO] [stdout] | ^^^^ could not find `v310` in `pyc_editor` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "v310")] [INFO] [stdout] | ---------------- the item is gated behind the `v310` feature [INFO] [stdout] 6 | pub mod v310; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V310` found for enum `PycFile` in the current scope [INFO] [stdout] --> examples/modify.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | if let PycFile::V310(ref mut pyc) = pyc_file { [INFO] [stdout] | ^^^^ variant or associated item not found in `PycFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyc_editor` (example "modify") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lib.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 199 | let object = match code_object { [INFO] [stdout] | __________________- [INFO] [stdout] 200 | | #[cfg(feature = "v310")] [INFO] [stdout] 201 | | CodeObject::V310(code) => python_marshal::Object::Code(code.into()), [INFO] [stdout] 202 | | #[cfg(feature = "v311")] [INFO] [stdout] ... | [INFO] [stdout] 207 | | CodeObject::V313(code) => python_marshal::Object::Code(code.into()), [INFO] [stdout] 208 | | }; [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 209 | [INFO] [stdout] 210 | let (obj, refs) = minimize_references(&object, vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `v310` in `pyc_editor` [INFO] [stdout] --> examples/insert.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | v310::{ext_instructions::ExtInstruction, opcodes::Opcode}, [INFO] [stdout] | ^^^^ could not find `v310` in `pyc_editor` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "v310")] [INFO] [stdout] | ---------------- the item is gated behind the `v310` feature [INFO] [stdout] 6 | pub mod v310; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | match val.clone() { [INFO] [stdout] | ^ ----------- any code following this expression is unreachable [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 33 | | #[cfg(feature = "v310")] [INFO] [stdout] 34 | | PycFile::V310(pyc) => { [INFO] [stdout] 35 | | python_marshal::PycFile { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `PycFile`, which is uninhabited [INFO] [stdout] --> src/lib.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | match val.clone() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn load_code(mut data: impl Read, python_version: PyVersion) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn load_code(mut data: impl Read, python_version: PyVersion) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/lib.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let object = match code_object { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `python_version` [INFO] [stdout] --> src/lib.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | python_version: PyVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_python_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `marshal_version` [INFO] [stdout] --> src/lib.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | marshal_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_marshal_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_extended_args_count` is never used [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_extended_args_count(arg: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnusedArgument` is never constructed [INFO] [stdout] --> src/utils.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UnusedArgument(pub u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V310` found for enum `PycFile` in the current scope [INFO] [stdout] --> examples/insert.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | if let PycFile::V310(ref mut pyc) = pyc_file { [INFO] [stdout] | ^^^^ variant or associated item not found in `PycFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyc_editor` (example "insert") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved imports `pyc_editor::v310`, `pyc_editor::v311`, `pyc_editor::v312`, `pyc_editor::v313` [INFO] [stdout] --> tests/integration_test.rs:3:65 [INFO] [stdout] | [INFO] [stdout] 3 | dump_pyc, load_pyc, prelude::*, traits::GenericInstruction, v310, v311, v312, v313, [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^ no `v313` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `v312` in the root [INFO] [stdout] | | no `v311` in the root [INFO] [stdout] | no `v310` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "v310")] [INFO] [stdout] | ---------------- the item is gated behind the `v310` feature [INFO] [stdout] 6 | pub mod v310; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "v311")] [INFO] [stdout] | ---------------- the item is gated behind the `v311` feature [INFO] [stdout] 8 | pub mod v311; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "v312")] [INFO] [stdout] | ---------------- the item is gated behind the `v312` feature [INFO] [stdout] 10 | pub mod v312; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "v313")] [INFO] [stdout] | ---------------- the item is gated behind the `v313` feature [INFO] [stdout] 12 | pub mod v313; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V310` found for enum `pyc_editor::PycFile` in the current scope [INFO] [stdout] --> tests/integration_test.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | pyc_editor::PycFile::V310(ref mut pyc) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `pyc_editor::PycFile` [INFO] [stdout] ... [INFO] [stdout] 304 | handle_pyc_versions!(parsed_pyc, rewrite_pyc); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_pyc_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V311` found for enum `pyc_editor::PycFile` in the current scope [INFO] [stdout] --> tests/integration_test.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | pyc_editor::PycFile::V311(ref mut pyc) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `pyc_editor::PycFile` [INFO] [stdout] ... [INFO] [stdout] 304 | handle_pyc_versions!(parsed_pyc, rewrite_pyc); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_pyc_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V312` found for enum `pyc_editor::PycFile` in the current scope [INFO] [stdout] --> tests/integration_test.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | pyc_editor::PycFile::V312(ref mut pyc) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `pyc_editor::PycFile` [INFO] [stdout] ... [INFO] [stdout] 304 | handle_pyc_versions!(parsed_pyc, rewrite_pyc); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_pyc_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V313` found for enum `pyc_editor::PycFile` in the current scope [INFO] [stdout] --> tests/integration_test.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | pyc_editor::PycFile::V313(ref mut pyc) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `pyc_editor::PycFile` [INFO] [stdout] ... [INFO] [stdout] 304 | handle_pyc_versions!(parsed_pyc, rewrite_pyc); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_pyc_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V310` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | $handler!(V310, v310, pyc) [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 287 | match rewrite_code_object(pyc_editor::CodeObject::$variant( [INFO] [stdout] | -------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 304 | handle_pyc_versions!(parsed_pyc, rewrite_pyc); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_pyc_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V311` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | $handler!(V311, v311, pyc) [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 287 | match rewrite_code_object(pyc_editor::CodeObject::$variant( [INFO] [stdout] | -------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 304 | handle_pyc_versions!(parsed_pyc, rewrite_pyc); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_pyc_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V312` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | $handler!(V312, v312, pyc) [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 287 | match rewrite_code_object(pyc_editor::CodeObject::$variant( [INFO] [stdout] | -------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 304 | handle_pyc_versions!(parsed_pyc, rewrite_pyc); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_pyc_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V313` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | $handler!(V313, v313, pyc) [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 287 | match rewrite_code_object(pyc_editor::CodeObject::$variant( [INFO] [stdout] | -------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 304 | handle_pyc_versions!(parsed_pyc, rewrite_pyc); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_pyc_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V310` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | pyc_editor::CodeObject::V310(code) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 282 | handle_code_object_versions!(code, rewrite_version) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_code_object_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V311` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | pyc_editor::CodeObject::V311(code) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 282 | handle_code_object_versions!(code, rewrite_version) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_code_object_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V312` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | pyc_editor::CodeObject::V312(code) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 282 | handle_code_object_versions!(code, rewrite_version) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_code_object_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V313` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | pyc_editor::CodeObject::V313(code) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 282 | handle_code_object_versions!(code, rewrite_version) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_code_object_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V310` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | $handler!(V310, v310, code) [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 261 | pyc_editor::CodeObject::$variant(code), [INFO] [stdout] | -------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 282 | handle_code_object_versions!(code, rewrite_version) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_code_object_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V311` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | $handler!(V311, v311, code) [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 261 | pyc_editor::CodeObject::$variant(code), [INFO] [stdout] | -------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 282 | handle_code_object_versions!(code, rewrite_version) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_code_object_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V312` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | $handler!(V312, v312, code) [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 261 | pyc_editor::CodeObject::$variant(code), [INFO] [stdout] | -------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 282 | handle_code_object_versions!(code, rewrite_version) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_code_object_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V313` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | $handler!(V313, v313, code) [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 261 | pyc_editor::CodeObject::$variant(code), [INFO] [stdout] | -------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 282 | handle_code_object_versions!(code, rewrite_version) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_code_object_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V310` found for enum `pyc_editor::PycFile` in the current scope [INFO] [stdout] --> tests/integration_test.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | pyc_editor::PycFile::V310(ref pyc) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `pyc_editor::PycFile` [INFO] [stdout] ... [INFO] [stdout] 359 | handle_pyc_versions!(parsed_pyc, call_recursive, immutable); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_pyc_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V311` found for enum `pyc_editor::PycFile` in the current scope [INFO] [stdout] --> tests/integration_test.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | pyc_editor::PycFile::V311(ref pyc) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `pyc_editor::PycFile` [INFO] [stdout] ... [INFO] [stdout] 359 | handle_pyc_versions!(parsed_pyc, call_recursive, immutable); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_pyc_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V312` found for enum `pyc_editor::PycFile` in the current scope [INFO] [stdout] --> tests/integration_test.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | pyc_editor::PycFile::V312(ref pyc) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `pyc_editor::PycFile` [INFO] [stdout] ... [INFO] [stdout] 359 | handle_pyc_versions!(parsed_pyc, call_recursive, immutable); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_pyc_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V313` found for enum `pyc_editor::PycFile` in the current scope [INFO] [stdout] --> tests/integration_test.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | pyc_editor::PycFile::V313(ref pyc) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `pyc_editor::PycFile` [INFO] [stdout] ... [INFO] [stdout] 359 | handle_pyc_versions!(parsed_pyc, call_recursive, immutable); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_pyc_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V310` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | $handler!(V310, v310, pyc) [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 353 | recursive_code_object(&pyc_editor::CodeObject::$variant( [INFO] [stdout] | -------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 359 | handle_pyc_versions!(parsed_pyc, call_recursive, immutable); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_pyc_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V311` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | $handler!(V311, v311, pyc) [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 353 | recursive_code_object(&pyc_editor::CodeObject::$variant( [INFO] [stdout] | -------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 359 | handle_pyc_versions!(parsed_pyc, call_recursive, immutable); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_pyc_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V312` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | $handler!(V312, v312, pyc) [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 353 | recursive_code_object(&pyc_editor::CodeObject::$variant( [INFO] [stdout] | -------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 359 | handle_pyc_versions!(parsed_pyc, call_recursive, immutable); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_pyc_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V313` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | $handler!(V313, v313, pyc) [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 353 | recursive_code_object(&pyc_editor::CodeObject::$variant( [INFO] [stdout] | -------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 359 | handle_pyc_versions!(parsed_pyc, call_recursive, immutable); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_pyc_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V310` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | pyc_editor::CodeObject::V310(code) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 348 | handle_code_object_versions!(code, recursive_version); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_code_object_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V311` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | pyc_editor::CodeObject::V311(code) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 348 | handle_code_object_versions!(code, recursive_version); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_code_object_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V312` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | pyc_editor::CodeObject::V312(code) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 348 | handle_code_object_versions!(code, recursive_version); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_code_object_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V313` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | pyc_editor::CodeObject::V313(code) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 348 | handle_code_object_versions!(code, recursive_version); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_code_object_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V310` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | $handler!(V310, v310, code) [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 340 | recursive_code_object(&pyc_editor::CodeObject::$variant( [INFO] [stdout] | -------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 348 | handle_code_object_versions!(code, recursive_version); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_code_object_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V311` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | $handler!(V311, v311, code) [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 340 | recursive_code_object(&pyc_editor::CodeObject::$variant( [INFO] [stdout] | -------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 348 | handle_code_object_versions!(code, recursive_version); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_code_object_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V312` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | $handler!(V312, v312, code) [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 340 | recursive_code_object(&pyc_editor::CodeObject::$variant( [INFO] [stdout] | -------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 348 | handle_code_object_versions!(code, recursive_version); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_code_object_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `V313` found for enum `CodeObject` in the current scope [INFO] [stdout] --> tests/integration_test.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | $handler!(V313, v313, code) [INFO] [stdout] | ^^^^ variant or associated item not found in `CodeObject` [INFO] [stdout] ... [INFO] [stdout] 340 | recursive_code_object(&pyc_editor::CodeObject::$variant( [INFO] [stdout] | -------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 348 | handle_code_object_versions!(code, recursive_version); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `handle_code_object_versions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/integration_test.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 103 | let pyc: python_marshal::PycFile = parsed_pyc.clone().into(); [INFO] [stdout] | ------------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 106 | original_pyc, [INFO] [stdout] | ^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `pyc_editor::PycFile`, which is uninhabited [INFO] [stdout] --> tests/integration_test.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | let pyc: python_marshal::PycFile = parsed_pyc.clone().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable definition [INFO] [stdout] --> tests/integration_test.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 101 | let parsed_pyc = load_pyc(reader).unwrap(); [INFO] [stdout] | ------------------------- any code following this expression is unreachable [INFO] [stdout] 102 | [INFO] [stdout] 103 | let pyc: python_marshal::PycFile = parsed_pyc.clone().into(); [INFO] [stdout] | ^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `pyc_editor::PycFile`, which is uninhabited [INFO] [stdout] --> tests/integration_test.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | let parsed_pyc = load_pyc(reader).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_pyc` [INFO] [stdout] --> tests/integration_test.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let original_pyc = python_marshal::resolver::resolve_all_refs( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_pyc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parsed_pyc` [INFO] [stdout] --> tests/integration_test.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | let parsed_pyc = load_pyc(reader).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsed_pyc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pyc` [INFO] [stdout] --> tests/integration_test.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let pyc: python_marshal::PycFile = parsed_pyc.clone().into(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pyc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable definition [INFO] [stdout] --> tests/integration_test.rs:383:17 [INFO] [stdout] | [INFO] [stdout] 381 | let pyc = load_pyc(&mut reader).expect("Failed to read pyc file"); [INFO] [stdout] | ------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 382 | [INFO] [stdout] 383 | let output_dir = get_custom_path(pyc_file.parent().unwrap(), version, "rewritten") [INFO] [stdout] | ^^^^^^^^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `pyc_editor::PycFile`, which is uninhabited [INFO] [stdout] --> tests/integration_test.rs:381:23 [INFO] [stdout] | [INFO] [stdout] 381 | let pyc = load_pyc(&mut reader).expect("Failed to read pyc file"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pyc` [INFO] [stdout] --> tests/integration_test.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | let pyc = load_pyc(&mut reader).expect("Failed to read pyc file"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pyc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyc_editor` (test "integration_test") due to 33 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4e30e2cca9aeb7b63263dc350bf6cb9dfbf65c4a8c27347bf889b567fcca0941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e30e2cca9aeb7b63263dc350bf6cb9dfbf65c4a8c27347bf889b567fcca0941", kill_on_drop: false }` [INFO] [stdout] 4e30e2cca9aeb7b63263dc350bf6cb9dfbf65c4a8c27347bf889b567fcca0941