[INFO] fetching crate python-ast 0.3.1... [INFO] checking python-ast-0.3.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate python-ast 0.3.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate python-ast 0.3.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate python-ast 0.3.1 [INFO] finished tweaking crates.io crate python-ast 0.3.1 [INFO] tweaked toml for crates.io crate python-ast 0.3.1 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 98 packages to latest compatible versions [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding iter-read v0.3.1 (latest: v1.1.0) [INFO] [stderr] Adding matchers v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.1) [INFO] [stderr] Adding pyo3 v0.21.2 (latest: v0.22.2) [INFO] [stderr] Adding pyo3-build-config v0.21.2 (latest: v0.22.2) [INFO] [stderr] Adding pyo3-ffi v0.21.2 (latest: v0.22.2) [INFO] [stderr] Adding pyo3-macros v0.21.2 (latest: v0.22.2) [INFO] [stderr] Adding pyo3-macros-backend v0.21.2 (latest: v0.22.2) [INFO] [stderr] Adding pythonize v0.21.1 (latest: v0.22.0) [INFO] [stderr] Adding regex-automata v0.1.10 (latest: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iter-read v0.3.1 [INFO] [stderr] Downloaded pythonize v0.21.1 [INFO] [stderr] Downloaded serde-pickle v1.1.1 [INFO] [stderr] Downloaded to_tokenstream v0.1.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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c0048de99af1ac78b857e9e41b2d2657b7de4bea5bb70dcb9db14345bd54bca [INFO] running `Command { std: "docker" "start" "-a" "5c0048de99af1ac78b857e9e41b2d2657b7de4bea5bb70dcb9db14345bd54bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c0048de99af1ac78b857e9e41b2d2657b7de4bea5bb70dcb9db14345bd54bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c0048de99af1ac78b857e9e41b2d2657b7de4bea5bb70dcb9db14345bd54bca", kill_on_drop: false }` [INFO] [stdout] 5c0048de99af1ac78b857e9e41b2d2657b7de4bea5bb70dcb9db14345bd54bca [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3eaa4464f3d801f786d1ddb116366a157ac5c6ad59303dcc141029ee007c98d [INFO] running `Command { std: "docker" "start" "-a" "c3eaa4464f3d801f786d1ddb116366a157ac5c6ad59303dcc141029ee007c98d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking iter-read v0.3.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking to_tokenstream v0.1.3 [INFO] [stderr] Checking litrs v0.4.1 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling test-log-macros v0.2.16 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking test-log v0.2.16 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [INFO] [stderr] Checking serde-pickle v1.1.1 [INFO] [stderr] Checking pythonize v0.21.1 [INFO] [stderr] Checking python-ast v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/datamodel/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 39 | / vec![ [INFO] [stdout] 40 | | "__class__", [INFO] [stdout] 41 | | "__class_getitem__", [INFO] [stdout] 42 | | "__contains__", [INFO] [stdout] ... | [INFO] [stdout] 85 | | "values", [INFO] [stdout] 86 | | ] [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/datamodel/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 39 | / vec![ [INFO] [stdout] 40 | | "__class__", [INFO] [stdout] 41 | | "__class_getitem__", [INFO] [stdout] 42 | | "__contains__", [INFO] [stdout] ... | [INFO] [stdout] 85 | | "values", [INFO] [stdout] 86 | | ] [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `pyo3::prelude::PyModule::from_code`: `PyModule::from_code` will be replaced by `PyModule::from_code_bound` in a future PyO3 version [INFO] [stdout] --> src/parser/mod.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let pymodule = PyModule::from_code(py, pymodule_code, "__init__.py", "parser")?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `pyo3::prelude::PyModule::from_code`: `PyModule::from_code` will be replaced by `PyModule::from_code_bound` in a future PyO3 version [INFO] [stdout] --> src/parser/mod.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let pymodule = PyModule::from_code(py, pymodule_code, "__init__.py", "parser")?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_name` [INFO] [stdout] --> src/ast/tree/expression.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | let module_name = match ctx.clone() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_name` [INFO] [stdout] --> src/ast/tree/expression.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | let module_name = match ctx.clone() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/datamodel/class.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | fn __init__(&mut self, args: A) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/datamodel/class.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | fn __init__(&mut self, args: A) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.42s [INFO] running `Command { std: "docker" "inspect" "c3eaa4464f3d801f786d1ddb116366a157ac5c6ad59303dcc141029ee007c98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3eaa4464f3d801f786d1ddb116366a157ac5c6ad59303dcc141029ee007c98d", kill_on_drop: false }` [INFO] [stdout] c3eaa4464f3d801f786d1ddb116366a157ac5c6ad59303dcc141029ee007c98d