[INFO] cloning repository https://github.com/woodgear/judgement [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/woodgear/judgement" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoodgear%2Fjudgement", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoodgear%2Fjudgement'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a902cdaf458f2902793ff246b964c9bc390d4ddb [INFO] testing woodgear/judgement against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoodgear%2Fjudgement" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/woodgear/judgement on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/woodgear/judgement [INFO] finished tweaking git repo https://github.com/woodgear/judgement [INFO] tweaked toml for git repo https://github.com/woodgear/judgement written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/woodgear/judgement already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam v0.2.12 [INFO] [stderr] Downloaded subprocess v0.1.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 555c95f0ac81c812130a7c824acf458ede32ff9037c2ef6c4d29d045afd97ea0 [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" "555c95f0ac81c812130a7c824acf458ede32ff9037c2ef6c4d29d045afd97ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "555c95f0ac81c812130a7c824acf458ede32ff9037c2ef6c4d29d045afd97ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "555c95f0ac81c812130a7c824acf458ede32ff9037c2ef6c4d29d045afd97ea0", kill_on_drop: false }` [INFO] [stdout] 555c95f0ac81c812130a7c824acf458ede32ff9037c2ef6c4d29d045afd97ea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 681580b11e3bbe7dd0598e8d0b5d9e7158c4ffc80fbf9d3e274c66b089832e8b [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" "681580b11e3bbe7dd0598e8d0b5d9e7158c4ffc80fbf9d3e274c66b089832e8b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling cc v1.0.15 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling same-file v1.0.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling colored v1.6.0 [INFO] [stderr] Compiling walkdir v2.1.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling subprocess v0.1.12 [INFO] [stderr] Compiling syn v0.13.10 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling derive-new v0.5.4 [INFO] [stderr] Compiling backtrace v0.3.7 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling judgement v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | examiner: Option>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | examinee: Option>, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:168:71 [INFO] [stdout] | [INFO] [stdout] 168 | fn find_examiner(&self, path: &PathBuf, name: &String) -> Option> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | let mut examiners: Vec> = paths [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:182:67 [INFO] [stdout] | [INFO] [stdout] 182 | Some(Some("oa")) => Some(Box::new(OAExaminer::new(p)) as Box), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:183:67 [INFO] [stdout] | [INFO] [stdout] 183 | Some(Some("qa")) => Some(Box::new(QAExaminer::new(p)) as Box), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:192:71 [INFO] [stdout] | [INFO] [stdout] 192 | fn find_examinee(&self, path: &PathBuf, name: &String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | let mut examinees: Vec> = paths [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:205:64 [INFO] [stdout] | [INFO] [stdout] 205 | Some("sh") => Some(Box::new(ShellExaminee::new(p)) as Box), [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | examiner: Box, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | examinee: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:233:26 [INFO] [stdout] | [INFO] [stdout] 233 | fn score(&self, e: &Box) -> Result<(), String>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:267:26 [INFO] [stdout] | [INFO] [stdout] 267 | fn score(&self, e: &Box) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:278:26 [INFO] [stdout] | [INFO] [stdout] 278 | fn score(&self, e: &Box) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.50s [INFO] running `Command { std: "docker" "inspect" "681580b11e3bbe7dd0598e8d0b5d9e7158c4ffc80fbf9d3e274c66b089832e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "681580b11e3bbe7dd0598e8d0b5d9e7158c4ffc80fbf9d3e274c66b089832e8b", kill_on_drop: false }` [INFO] [stdout] 681580b11e3bbe7dd0598e8d0b5d9e7158c4ffc80fbf9d3e274c66b089832e8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30060bfba6d101f9b2ea471811f42594ce2355d4548d9cdd14f10a4c68e7876d [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" "30060bfba6d101f9b2ea471811f42594ce2355d4548d9cdd14f10a4c68e7876d", kill_on_drop: false }` [INFO] [stderr] Compiling judgement v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | examiner: Option>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | examinee: Option>, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:168:71 [INFO] [stdout] | [INFO] [stdout] 168 | fn find_examiner(&self, path: &PathBuf, name: &String) -> Option> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | let mut examiners: Vec> = paths [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:182:67 [INFO] [stdout] | [INFO] [stdout] 182 | Some(Some("oa")) => Some(Box::new(OAExaminer::new(p)) as Box), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:183:67 [INFO] [stdout] | [INFO] [stdout] 183 | Some(Some("qa")) => Some(Box::new(QAExaminer::new(p)) as Box), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:192:71 [INFO] [stdout] | [INFO] [stdout] 192 | fn find_examinee(&self, path: &PathBuf, name: &String) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | let mut examinees: Vec> = paths [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:205:64 [INFO] [stdout] | [INFO] [stdout] 205 | Some("sh") => Some(Box::new(ShellExaminee::new(p)) as Box), [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | examiner: Box, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | examinee: Box, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:233:26 [INFO] [stdout] | [INFO] [stdout] 233 | fn score(&self, e: &Box) -> Result<(), String>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:267:26 [INFO] [stdout] | [INFO] [stdout] 267 | fn score(&self, e: &Box) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/judegment.rs:278:26 [INFO] [stdout] | [INFO] [stdout] 278 | fn score(&self, e: &Box) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "30060bfba6d101f9b2ea471811f42594ce2355d4548d9cdd14f10a4c68e7876d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30060bfba6d101f9b2ea471811f42594ce2355d4548d9cdd14f10a4c68e7876d", kill_on_drop: false }` [INFO] [stdout] 30060bfba6d101f9b2ea471811f42594ce2355d4548d9cdd14f10a4c68e7876d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 887eec7ea2b8ecedb2f42535808bc05ead6a30f49968c71109333c0f7f6c43e0 [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" "887eec7ea2b8ecedb2f42535808bc05ead6a30f49968c71109333c0f7f6c43e0", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/judegment.rs:20:23 [INFO] [stderr] | [INFO] [stderr] 20 | examiner: Option>, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/judegment.rs:21:23 [INFO] [stderr] | [INFO] [stderr] 21 | examinee: Option>, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/judegment.rs:168:71 [INFO] [stderr] | [INFO] [stderr] 168 | fn find_examiner(&self, path: &PathBuf, name: &String) -> Option> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/judegment.rs:178:30 [INFO] [stderr] | [INFO] [stderr] 178 | let mut examiners: Vec> = paths [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/judegment.rs:182:67 [INFO] [stderr] | [INFO] [stderr] 182 | Some(Some("oa")) => Some(Box::new(OAExaminer::new(p)) as Box), [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/judegment.rs:183:67 [INFO] [stderr] | [INFO] [stderr] 183 | Some(Some("qa")) => Some(Box::new(QAExaminer::new(p)) as Box), [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/judegment.rs:192:71 [INFO] [stderr] | [INFO] [stderr] 192 | fn find_examinee(&self, path: &PathBuf, name: &String) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/judegment.rs:201:30 [INFO] [stderr] | [INFO] [stderr] 201 | let mut examinees: Vec> = paths [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/judegment.rs:205:64 [INFO] [stderr] | [INFO] [stderr] 205 | Some("sh") => Some(Box::new(ShellExaminee::new(p)) as Box), [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/judegment.rs:217:16 [INFO] [stderr] | [INFO] [stderr] 217 | examiner: Box, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Score` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/judegment.rs:218:16 [INFO] [stderr] | [INFO] [stderr] 218 | examinee: Box, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/judegment.rs:233:26 [INFO] [stderr] | [INFO] [stderr] 233 | fn score(&self, e: &Box) -> Result<(), String>; [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/judegment.rs:267:26 [INFO] [stderr] | [INFO] [stderr] 267 | fn score(&self, e: &Box) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/judegment.rs:278:26 [INFO] [stderr] | [INFO] [stderr] 278 | fn score(&self, e: &Box) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Examination` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `judgement` (bin "judgement" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/judgement-587d44f1f95ab681) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test judegment::tests::test_find_examiner ... ok [INFO] [stdout] test tests::test_find_answer_dir ... ok [INFO] [stdout] test judegment::tests::test_get_all_handle ... ok [INFO] [stdout] test judegment::tests::test_judgement ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "887eec7ea2b8ecedb2f42535808bc05ead6a30f49968c71109333c0f7f6c43e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "887eec7ea2b8ecedb2f42535808bc05ead6a30f49968c71109333c0f7f6c43e0", kill_on_drop: false }` [INFO] [stdout] 887eec7ea2b8ecedb2f42535808bc05ead6a30f49968c71109333c0f7f6c43e0