[INFO] cloning repository https://github.com/naybyal/preprocessor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/naybyal/preprocessor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaybyal%2Fpreprocessor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaybyal%2Fpreprocessor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3057d72fa6d3c64da01d2f4ca9aa8b4534ab36e9 [INFO] testing naybyal/preprocessor against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaybyal%2Fpreprocessor" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/naybyal/preprocessor [INFO] finished tweaking git repo https://github.com/naybyal/preprocessor [INFO] tweaked toml for git repo https://github.com/naybyal/preprocessor written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/naybyal/preprocessor on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/naybyal/preprocessor 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clang v2.0.0 [INFO] [stderr] Downloaded petgraph v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e953ddbc6628205bf2ea60752f2e439c79575dc52d61b1ef0bab7c663c82c7b [INFO] running `Command { std: "docker" "start" "-a" "2e953ddbc6628205bf2ea60752f2e439c79575dc52d61b1ef0bab7c663c82c7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e953ddbc6628205bf2ea60752f2e439c79575dc52d61b1ef0bab7c663c82c7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e953ddbc6628205bf2ea60752f2e439c79575dc52d61b1ef0bab7c663c82c7b", kill_on_drop: false }` [INFO] [stdout] 2e953ddbc6628205bf2ea60752f2e439c79575dc52d61b1ef0bab7c663c82c7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dbb4c4df82591f093d01744eea54e96683fb9810897151950d3dbc2256cf392 [INFO] running `Command { std: "docker" "start" "-a" "2dbb4c4df82591f093d01744eea54e96683fb9810897151950d3dbc2256cf392", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling petgraph v0.7.0 [INFO] [stderr] Compiling clang v2.0.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling c_preprocessor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NodeIndex` [INFO] [stdout] --> src/main.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use petgraph::graph::{DiGraph, NodeIndex}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `captures` [INFO] [stdout] --> src/main.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(captures) = function_regex.captures(line) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_captures` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.89s [INFO] running `Command { std: "docker" "inspect" "2dbb4c4df82591f093d01744eea54e96683fb9810897151950d3dbc2256cf392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dbb4c4df82591f093d01744eea54e96683fb9810897151950d3dbc2256cf392", kill_on_drop: false }` [INFO] [stdout] 2dbb4c4df82591f093d01744eea54e96683fb9810897151950d3dbc2256cf392 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfe5d01c9f1740b0a709d80d331a5e51fec15d4d4debaae8ecf95646312b29a1 [INFO] running `Command { std: "docker" "start" "-a" "bfe5d01c9f1740b0a709d80d331a5e51fec15d4d4debaae8ecf95646312b29a1", kill_on_drop: false }` [INFO] [stderr] Compiling c_preprocessor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NodeIndex` [INFO] [stdout] --> src/main.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use petgraph::graph::{DiGraph, NodeIndex}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `captures` [INFO] [stdout] --> src/main.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(captures) = function_regex.captures(line) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_captures` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "bfe5d01c9f1740b0a709d80d331a5e51fec15d4d4debaae8ecf95646312b29a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfe5d01c9f1740b0a709d80d331a5e51fec15d4d4debaae8ecf95646312b29a1", kill_on_drop: false }` [INFO] [stdout] bfe5d01c9f1740b0a709d80d331a5e51fec15d4d4debaae8ecf95646312b29a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f9bfbb085fdf41d4657e952d5a0e63c95276ec3a6ec1faa0ee14983e5d510c1 [INFO] running `Command { std: "docker" "start" "-a" "1f9bfbb085fdf41d4657e952d5a0e63c95276ec3a6ec1faa0ee14983e5d510c1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `NodeIndex` [INFO] [stderr] --> src/main.rs:2:32 [INFO] [stderr] | [INFO] [stderr] 2 | use petgraph::graph::{DiGraph, NodeIndex}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `captures` [INFO] [stderr] --> src/main.rs:68:21 [INFO] [stderr] | [INFO] [stderr] 68 | if let Some(captures) = function_regex.captures(line) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_captures` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `c_preprocessor` (bin "c_preprocessor" test) generated 2 warnings (run `cargo fix --bin "c_preprocessor" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/c_preprocessor-dbbaed1ffcea5d7f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1f9bfbb085fdf41d4657e952d5a0e63c95276ec3a6ec1faa0ee14983e5d510c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f9bfbb085fdf41d4657e952d5a0e63c95276ec3a6ec1faa0ee14983e5d510c1", kill_on_drop: false }` [INFO] [stdout] 1f9bfbb085fdf41d4657e952d5a0e63c95276ec3a6ec1faa0ee14983e5d510c1