[INFO] cloning repository https://github.com/deadlovelll/pytrek [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deadlovelll/pytrek" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeadlovelll%2Fpytrek", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeadlovelll%2Fpytrek'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9595b3680cc420f163186c3ee5ed5746bea65449 [INFO] checking deadlovelll/pytrek/9595b3680cc420f163186c3ee5ed5746bea65449 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeadlovelll%2Fpytrek" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/deadlovelll/pytrek [INFO] finished tweaking git repo https://github.com/deadlovelll/pytrek [INFO] tweaked toml for git repo https://github.com/deadlovelll/pytrek written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/deadlovelll/pytrek on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/deadlovelll/pytrek 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tree-sitter-python v0.25.0 [INFO] [stderr] Downloaded tree-sitter v0.25.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9f2f614c765788cc5d6ada77fdb6a6bd45938ad512c77054d3430fee9833dab [INFO] running `Command { std: "docker" "start" "-a" "b9f2f614c765788cc5d6ada77fdb6a6bd45938ad512c77054d3430fee9833dab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9f2f614c765788cc5d6ada77fdb6a6bd45938ad512c77054d3430fee9833dab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9f2f614c765788cc5d6ada77fdb6a6bd45938ad512c77054d3430fee9833dab", kill_on_drop: false }` [INFO] [stdout] b9f2f614c765788cc5d6ada77fdb6a6bd45938ad512c77054d3430fee9833dab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17ab68f0d5e23163c9695c296c2733c27840197a69df68c0649f45f8923078b6 [INFO] running `Command { std: "docker" "start" "-a" "17ab68f0d5e23163c9695c296c2733c27840197a69df68c0649f45f8923078b6", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking tree-sitter-language v0.1.5 [INFO] [stderr] Compiling pyo3 v0.27.1 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling tree-sitter-python v0.25.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling tree-sitter v0.25.10 [INFO] [stderr] Compiling pyo3-macros-backend v0.27.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling pyo3-macros v0.27.1 [INFO] [stderr] Checking pytrek v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::core::project_intializer::ast_parser::AstParser` [INFO] [stdout] --> src/core/project_intializer/graph_creator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::core::project_intializer::ast_parser::AstParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AstParser` in `core::project_intializer::ast_parser` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 4 - use crate::core::project_intializer::ast_parser::AstParser; [INFO] [stdout] 4 + use crate::core::project_intializer::ast_parser::ast_parser; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 4 | use crate::core::project_intializer::ast_parser::ast_parser::AstParser; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::core::project_intializer::ast_parser::AstParser` [INFO] [stdout] --> src/core/project_intializer/graph_creator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::core::project_intializer::ast_parser::AstParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AstParser` in `core::project_intializer::ast_parser` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 4 - use crate::core::project_intializer::ast_parser::AstParser; [INFO] [stdout] 4 + use crate::core::project_intializer::ast_parser::ast_parser; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 4 | use crate::core::project_intializer::ast_parser::ast_parser::AstParser; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/project_intializer/ast_parser/ast_parser.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut defines: Vec = vec![]; [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: variable does not need to be mutable [INFO] [stdout] --> src/core/project_intializer/ast_parser/ast_parser.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut uses: Vec = vec![]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/project_intializer/ast_parser/ast_parser.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut defines: Vec = vec![]; [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: variable does not need to be mutable [INFO] [stdout] --> src/core/project_intializer/ast_parser/ast_parser.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut uses: Vec = vec![]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/core/project_intializer/ast_parser/ast_parser.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let name = query.capture_names()[cap.index as usize]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/core/project_intializer/ast_parser/ast_parser.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let name = query.capture_names()[cap.index as usize]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import` [INFO] [stdout] --> src/core/project_intializer/ast_parser/import_classifier.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn is_eligible(&self, import: String) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_import` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import` [INFO] [stdout] --> src/core/project_intializer/ast_parser/import_classifier.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn is_eligible(&self, import: String) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_import` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pytrek` (lib) due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pytrek` (lib test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "17ab68f0d5e23163c9695c296c2733c27840197a69df68c0649f45f8923078b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ab68f0d5e23163c9695c296c2733c27840197a69df68c0649f45f8923078b6", kill_on_drop: false }` [INFO] [stdout] 17ab68f0d5e23163c9695c296c2733c27840197a69df68c0649f45f8923078b6