[INFO] cloning repository https://github.com/shiomiyan/CVE-2021-42574 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shiomiyan/CVE-2021-42574" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiomiyan%2FCVE-2021-42574", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiomiyan%2FCVE-2021-42574'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd1781b67206656e23c273bbb8609eaffef99634 [INFO] checking shiomiyan/CVE-2021-42574 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiomiyan%2FCVE-2021-42574" "/workspace/builds/worker-30/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-30/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shiomiyan/CVE-2021-42574 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shiomiyan/CVE-2021-42574 [INFO] finished tweaking git repo https://github.com/shiomiyan/CVE-2021-42574 [INFO] tweaked toml for git repo https://github.com/shiomiyan/CVE-2021-42574 written to /workspace/builds/worker-30/source/Cargo.toml [INFO] crate git repo https://github.com/shiomiyan/CVE-2021-42574 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55817fe1443ac0d5821720de6fc781802910e664aa6a8443178769894d67b1a3 [INFO] running `Command { std: "docker" "start" "-a" "55817fe1443ac0d5821720de6fc781802910e664aa6a8443178769894d67b1a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55817fe1443ac0d5821720de6fc781802910e664aa6a8443178769894d67b1a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55817fe1443ac0d5821720de6fc781802910e664aa6a8443178769894d67b1a3", kill_on_drop: false }` [INFO] [stdout] 55817fe1443ac0d5821720de6fc781802910e664aa6a8443178769894d67b1a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0c4b832d5a66ba793d03350f5193c0b0ea4759817701031f4628fab0315baf7 [INFO] running `Command { std: "docker" "start" "-a" "f0c4b832d5a66ba793d03350f5193c0b0ea4759817701031f4628fab0315baf7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking CVE-2021-42574 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unicode codepoint changing visible direction of text present in literal [INFO] [stdout] --> src/main.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | if access_level != "user // Check if admin " { [INFO] [stdout] | ^^^^^--^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | || || [INFO] [stdout] | | || |'\u{2066}' [INFO] [stdout] | | || '\u{2069}' [INFO] [stdout] | | |'\u{2066}' [INFO] [stdout] | | '\u{202e}' [INFO] [stdout] | this literal contains invisible unicode text flow control codepoints [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(text_direction_codepoint_in_literal)]` on by default [INFO] [stdout] = note: these kind of unicode codepoints change the way text flows on applications that support them, but can cause confusion because they change the order of characters on the screen [INFO] [stdout] = help: if their presence wasn't intentional, you can remove them [INFO] [stdout] help: if you want to keep them but make them visible in your source code, you can escape them [INFO] [stdout] | [INFO] [stdout] 4 | if access_level != "user\u{202e} \u{2066}// Check if admin\u{2069} \u{2066}" { [INFO] [stdout] | ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `CVE_2021_42574` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `cve_2021_42574` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `CVE-2021-42574` due to 2 previous errors; 1 warning emitted [INFO] [stdout] error: unicode codepoint changing visible direction of text present in literal [INFO] [stdout] --> src/main.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | if access_level != "user // Check if admin " { [INFO] [stdout] | ^^^^^--^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | || || [INFO] [stdout] | | || |'\u{2066}' [INFO] [stdout] | | || '\u{2069}' [INFO] [stdout] | | |'\u{2066}' [INFO] [stdout] | | '\u{202e}' [INFO] [stdout] | this literal contains invisible unicode text flow control codepoints [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(text_direction_codepoint_in_literal)]` on by default [INFO] [stdout] = note: these kind of unicode codepoints change the way text flows on applications that support them, but can cause confusion because they change the order of characters on the screen [INFO] [stdout] = help: if their presence wasn't intentional, you can remove them [INFO] [stdout] help: if you want to keep them but make them visible in your source code, you can escape them [INFO] [stdout] | [INFO] [stdout] 4 | if access_level != "user\u{202e} \u{2066}// Check if admin\u{2069} \u{2066}" { [INFO] [stdout] | ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: crate `CVE_2021_42574` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `cve_2021_42574` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f0c4b832d5a66ba793d03350f5193c0b0ea4759817701031f4628fab0315baf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0c4b832d5a66ba793d03350f5193c0b0ea4759817701031f4628fab0315baf7", kill_on_drop: false }` [INFO] [stdout] f0c4b832d5a66ba793d03350f5193c0b0ea4759817701031f4628fab0315baf7