[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoodgear%2Fjudgement" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/woodgear/judgement on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-2/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f77a3cb19b1ffcfdbdc984892231ab1818928d71692346c61a067f65745374f [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" "8f77a3cb19b1ffcfdbdc984892231ab1818928d71692346c61a067f65745374f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f77a3cb19b1ffcfdbdc984892231ab1818928d71692346c61a067f65745374f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f77a3cb19b1ffcfdbdc984892231ab1818928d71692346c61a067f65745374f", kill_on_drop: false }` [INFO] [stdout] 8f77a3cb19b1ffcfdbdc984892231ab1818928d71692346c61a067f65745374f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 260052d85cd81ab219025a271ceebc7674bbc71ceff9f0127542c79288b9b4a9 [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" "260052d85cd81ab219025a271ceebc7674bbc71ceff9f0127542c79288b9b4a9", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling cc v1.0.15 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling same-file v1.0.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling colored v1.6.0 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [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.60s [INFO] running `Command { std: "docker" "inspect" "260052d85cd81ab219025a271ceebc7674bbc71ceff9f0127542c79288b9b4a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "260052d85cd81ab219025a271ceebc7674bbc71ceff9f0127542c79288b9b4a9", kill_on_drop: false }` [INFO] [stdout] 260052d85cd81ab219025a271ceebc7674bbc71ceff9f0127542c79288b9b4a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddbc6130cac829afe0ceaf74b9e5980fedc26eaf370e7f34c43160e7720a6955 [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" "ddbc6130cac829afe0ceaf74b9e5980fedc26eaf370e7f34c43160e7720a6955", 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.74s [INFO] running `Command { std: "docker" "inspect" "ddbc6130cac829afe0ceaf74b9e5980fedc26eaf370e7f34c43160e7720a6955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddbc6130cac829afe0ceaf74b9e5980fedc26eaf370e7f34c43160e7720a6955", kill_on_drop: false }` [INFO] [stdout] ddbc6130cac829afe0ceaf74b9e5980fedc26eaf370e7f34c43160e7720a6955 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 94eaadf299ec7d665dc5feeecd59f4a1cd3cde56f7d937002d2133cb9bdd3c2f [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" "94eaadf299ec7d665dc5feeecd59f4a1cd3cde56f7d937002d2133cb9bdd3c2f", 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" "94eaadf299ec7d665dc5feeecd59f4a1cd3cde56f7d937002d2133cb9bdd3c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94eaadf299ec7d665dc5feeecd59f4a1cd3cde56f7d937002d2133cb9bdd3c2f", kill_on_drop: false }` [INFO] [stdout] 94eaadf299ec7d665dc5feeecd59f4a1cd3cde56f7d937002d2133cb9bdd3c2f