[INFO] updating cached repository https://github.com/Najam-ul-islam/tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1bbb824352aa0373eede4c675458b48fe8dfeb6 [INFO] testing Najam-ul-islam/tic-tac-toe against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNajam-ul-islam%2Ftic-tac-toe" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Najam-ul-islam/tic-tac-toe on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Najam-ul-islam/tic-tac-toe [INFO] finished tweaking git repo https://github.com/Najam-ul-islam/tic-tac-toe [INFO] tweaked toml for git repo https://github.com/Najam-ul-islam/tic-tac-toe written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Najam-ul-islam/tic-tac-toe already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9568a57d8eb2d3e3bd50c701650e067166532572f7f1cbf096f3d3cd91341549 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9568a57d8eb2d3e3bd50c701650e067166532572f7f1cbf096f3d3cd91341549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9568a57d8eb2d3e3bd50c701650e067166532572f7f1cbf096f3d3cd91341549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9568a57d8eb2d3e3bd50c701650e067166532572f7f1cbf096f3d3cd91341549", kill_on_drop: false }` [INFO] [stdout] 9568a57d8eb2d3e3bd50c701650e067166532572f7f1cbf096f3d3cd91341549 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67d073fa02fa6a6dbe38bd2f61168df3d7b4e2c1f631c2ed5d8a3b1e51f7364e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "67d073fa02fa6a6dbe38bd2f61168df3d7b4e2c1f631c2ed5d8a3b1e51f7364e", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tic_tac_toe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `user_input` [INFO] [stdout] --> src/draw.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod user_input; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `user_input`, create file "src/draw/user_input.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `user_input` [INFO] [stdout] --> src/draw.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | if user_input::player::player_1 == a00{a.push('X');} [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `user_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `user_input` [INFO] [stdout] --> src/draw.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | else if user_input::player::player_1 == a01{a.push('X');} [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `user_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `player` in `user_input` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | user_input::player::player_1(); [INFO] [stdout] | ^^^^^^ could not find `player` in `user_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/draw.rs:24:55 [INFO] [stdout] | [INFO] [stdout] 24 | if user_input::player::player_1 == a00{a.push('X');} [INFO] [stdout] | ^^^ expected array `[&str; 3]`, found `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/draw.rs:25:60 [INFO] [stdout] | [INFO] [stdout] 25 | else if user_input::player::player_1 == a01{a.push('X');} [INFO] [stdout] | ^^^ expected array `[&str; 3]`, found `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tic_tac_toe`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "67d073fa02fa6a6dbe38bd2f61168df3d7b4e2c1f631c2ed5d8a3b1e51f7364e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67d073fa02fa6a6dbe38bd2f61168df3d7b4e2c1f631c2ed5d8a3b1e51f7364e", kill_on_drop: false }` [INFO] [stdout] 67d073fa02fa6a6dbe38bd2f61168df3d7b4e2c1f631c2ed5d8a3b1e51f7364e