[INFO] cloning repository https://github.com/Ling-yunchi/rust-judger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ling-yunchi/rust-judger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLing-yunchi%2Frust-judger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLing-yunchi%2Frust-judger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11b411f113c8fc4d592b7b16dc7ec9b792a62037 [INFO] checking Ling-yunchi/rust-judger against try#50b21af28e291c419ae81eebcb7705fb4200dc90 for pr-135167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLing-yunchi%2Frust-judger" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ling-yunchi/rust-judger on toolchain 50b21af28e291c419ae81eebcb7705fb4200dc90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ling-yunchi/rust-judger [INFO] finished tweaking git repo https://github.com/Ling-yunchi/rust-judger [INFO] tweaked toml for git repo https://github.com/Ling-yunchi/rust-judger written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Ling-yunchi/rust-judger 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" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6408e8dfe0a9ca2e61cc2b7499c43a819d42ff2203cc429a83146448da568edf [INFO] running `Command { std: "docker" "start" "-a" "6408e8dfe0a9ca2e61cc2b7499c43a819d42ff2203cc429a83146448da568edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6408e8dfe0a9ca2e61cc2b7499c43a819d42ff2203cc429a83146448da568edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6408e8dfe0a9ca2e61cc2b7499c43a819d42ff2203cc429a83146448da568edf", kill_on_drop: false }` [INFO] [stdout] 6408e8dfe0a9ca2e61cc2b7499c43a819d42ff2203cc429a83146448da568edf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e40dfa5db7efc50d5c4ea5e23e61425737f7d3f8d2074e04e1f88ad9901a31de [INFO] running `Command { std: "docker" "start" "-a" "e40dfa5db7efc50d5c4ea5e23e61425737f7d3f8d2074e04e1f88ad9901a31de", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking tracing v0.1.31 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking program-runner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `Case: FromStr` is not satisfied [INFO] [stdout] --> src/config.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub test_case_paths: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromStr` is not implemented for `Case` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] CString [INFO] [stdout] HeaderName [INFO] [stdout] HeaderValue [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Method [INFO] [stdout] NonZero [INFO] [stdout] and 55 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Case: FromStr` is not satisfied [INFO] [stdout] --> src/config.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub test_case_paths: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromStr` is not implemented for `Case` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] CString [INFO] [stdout] HeaderName [INFO] [stdout] HeaderValue [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] Method [INFO] [stdout] NonZero [INFO] [stdout] and 55 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Box` [INFO] [stdout] --> src/config.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(config.unwrap_err(), "not enough arguments"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Box [INFO] [stdout] | &str [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `Box` doesn't implement `PartialEq<&str>` [INFO] [stdout] --> /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/alloc/src/boxed.rs:231:1 [INFO] [stdout] ::: /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/alloc/src/boxed.rs:234:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq<&str>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Box` [INFO] [stdout] --> src/config.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | / assert_eq!( [INFO] [stdout] 148 | | config.unwrap_err(), [INFO] [stdout] 149 | | "test_case_number must be greater than 0" [INFO] [stdout] 150 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________Box [INFO] [stdout] | &str [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `Box` doesn't implement `PartialEq<&str>` [INFO] [stdout] --> /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/alloc/src/boxed.rs:231:1 [INFO] [stdout] ::: /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/alloc/src/boxed.rs:234:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq<&str>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Box` [INFO] [stdout] --> src/config.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | assert_eq!(config.unwrap_err(), "not enough test cases"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Box [INFO] [stdout] | &str [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `Box` doesn't implement `PartialEq<&str>` [INFO] [stdout] --> /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/alloc/src/boxed.rs:231:1 [INFO] [stdout] ::: /rustc/50b21af28e291c419ae81eebcb7705fb4200dc90/library/alloc/src/boxed.rs:234:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq<&str>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_limit` [INFO] [stdout] --> src/engine.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | time_limit: i32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_limit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_limit` [INFO] [stdout] --> src/engine.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | memory_limit: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `program-runner` (bin "program-runner") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `time_limit` [INFO] [stdout] --> src/engine.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | time_limit: i32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_limit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_limit` [INFO] [stdout] --> src/engine.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | memory_limit: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `program-runner` (bin "program-runner" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e40dfa5db7efc50d5c4ea5e23e61425737f7d3f8d2074e04e1f88ad9901a31de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e40dfa5db7efc50d5c4ea5e23e61425737f7d3f8d2074e04e1f88ad9901a31de", kill_on_drop: false }` [INFO] [stdout] e40dfa5db7efc50d5c4ea5e23e61425737f7d3f8d2074e04e1f88ad9901a31de