[INFO] cloning repository https://github.com/spacecodeur/patchgic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spacecodeur/patchgic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacecodeur%2Fpatchgic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacecodeur%2Fpatchgic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18931d9fa26ec7efcc0e3dd908c75f92f16433ac [INFO] checking spacecodeur/patchgic against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacecodeur%2Fpatchgic" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/spacecodeur/patchgic [INFO] finished tweaking git repo https://github.com/spacecodeur/patchgic [INFO] tweaked toml for git repo https://github.com/spacecodeur/patchgic written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/spacecodeur/patchgic on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/spacecodeur/patchgic already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04098bed461d51cb249103c7049db740a62f857f04293538aa36a9ca39161294 [INFO] running `Command { std: "docker" "start" "-a" "04098bed461d51cb249103c7049db740a62f857f04293538aa36a9ca39161294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04098bed461d51cb249103c7049db740a62f857f04293538aa36a9ca39161294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04098bed461d51cb249103c7049db740a62f857f04293538aa36a9ca39161294", kill_on_drop: false }` [INFO] [stdout] 04098bed461d51cb249103c7049db740a62f857f04293538aa36a9ca39161294 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e69da96f7157bce1cb8d8e6750c9661042c19e8dd06fb08b9bbe0e737d58e2fb [INFO] running `Command { std: "docker" "start" "-a" "e69da96f7157bce1cb8d8e6750c9661042c19e8dd06fb08b9bbe0e737d58e2fb", kill_on_drop: false }` [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking clap_builder v4.5.38 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap v4.5.38 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking magicpatch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `context` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `context`, create file "src/context.rs" or "src/context/mod.rs" [INFO] [stdout] = note: if there is a `mod context` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `regex_handler` [INFO] [stdout] --> src/processing/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod regex_handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `regex_handler`, create file "src/processing/regex_handler.rs" or "src/processing/regex_handler/mod.rs" [INFO] [stdout] = note: if there is a `mod regex_handler` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `filetype` in `context` [INFO] [stdout] --> src/filetypes/env.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::context::filetype::env::detect_env_specific_contexts; [INFO] [stdout] | ^^^^^^^^ could not find `filetype` in `context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FileTypeContext` in this scope [INFO] [stdout] --> src/processing/pipeline.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | let specific_contexts = Vec::::new(); // À implémenter selon le type de fichier [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub fn process_file( [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `full_match` in this scope [INFO] [stdout] --> src/processing/pipeline.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | full_match.as_str(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `capture_group` in this scope [INFO] [stdout] --> src/processing/pipeline.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | capture_group, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `context` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `context`, create file "src/context.rs" or "src/context/mod.rs" [INFO] [stdout] = note: if there is a `mod context` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `regex_handler` [INFO] [stdout] --> src/processing/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod regex_handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `regex_handler`, create file "src/processing/regex_handler.rs" or "src/processing/regex_handler/mod.rs" [INFO] [stdout] = note: if there is a `mod regex_handler` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `filetype` in `context` [INFO] [stdout] --> src/filetypes/env.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::context::filetype::env::detect_env_specific_contexts; [INFO] [stdout] | ^^^^^^^^ could not find `filetype` in `context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/processing/pipeline.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | let processed_content = handler.process( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | new_content, [INFO] [stdout] | ----------- unexpected argument #4 of type `&str` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/filetypes/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn process( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 25 - capture_group, [INFO] [stdout] 26 - new_content, [INFO] [stdout] 25 + capture_group, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FileTypeContext` in this scope [INFO] [stdout] --> src/processing/pipeline.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | let specific_contexts = Vec::::new(); // À implémenter selon le type de fichier [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub fn process_file( [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `full_match` in this scope [INFO] [stdout] --> src/processing/pipeline.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | full_match.as_str(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `capture_group` in this scope [INFO] [stdout] --> src/processing/pipeline.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | capture_group, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replacement_type` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | replacement_type: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replacement_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0425, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `magicpatch` (bin "magicpatch") due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0061]: this method takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/processing/pipeline.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | let processed_content = handler.process( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | new_content, [INFO] [stdout] | ----------- unexpected argument #4 of type `&str` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/filetypes/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn process( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 25 - capture_group, [INFO] [stdout] 26 - new_content, [INFO] [stdout] 25 + capture_group, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replacement_type` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | replacement_type: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replacement_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0425, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `magicpatch` (bin "magicpatch" test) due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e69da96f7157bce1cb8d8e6750c9661042c19e8dd06fb08b9bbe0e737d58e2fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e69da96f7157bce1cb8d8e6750c9661042c19e8dd06fb08b9bbe0e737d58e2fb", kill_on_drop: false }` [INFO] [stdout] e69da96f7157bce1cb8d8e6750c9661042c19e8dd06fb08b9bbe0e737d58e2fb