[INFO] cloning repository https://github.com/aleozlx/aml-grade [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aleozlx/aml-grade" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleozlx%2Faml-grade", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleozlx%2Faml-grade'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b958474e065869e0b8ae731eb8c3e336e58427f7 [INFO] testing aleozlx/aml-grade against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleozlx%2Faml-grade" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aleozlx/aml-grade [INFO] finished tweaking git repo https://github.com/aleozlx/aml-grade [INFO] tweaked toml for git repo https://github.com/aleozlx/aml-grade written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aleozlx/aml-grade on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aleozlx/aml-grade 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 268d62dc8886baca307c995603c752e158e3ea400672d7be74835ec62c8d25e3 [INFO] running `Command { std: "docker" "start" "-a" "268d62dc8886baca307c995603c752e158e3ea400672d7be74835ec62c8d25e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "268d62dc8886baca307c995603c752e158e3ea400672d7be74835ec62c8d25e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "268d62dc8886baca307c995603c752e158e3ea400672d7be74835ec62c8d25e3", kill_on_drop: false }` [INFO] [stdout] 268d62dc8886baca307c995603c752e158e3ea400672d7be74835ec62c8d25e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77ac08a3c66366b19a621da31464c88b3e75d8077ff9e3ce31365f45d78037ff [INFO] running `Command { std: "docker" "start" "-a" "77ac08a3c66366b19a621da31464c88b3e75d8077ff9e3ce31365f45d78037ff", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling gio v0.5.0 [INFO] [stderr] Compiling fragile v0.3.0 [INFO] [stderr] Compiling cairo-rs v0.5.0 [INFO] [stderr] Compiling gdk-pixbuf v0.5.0 [INFO] [stderr] Compiling gdk v0.9.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling gtk v0.5.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling glib-sys v0.7.0 [INFO] [stderr] Compiling gobject-sys v0.7.0 [INFO] [stderr] Compiling gio-sys v0.7.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.7.0 [INFO] [stderr] Compiling cairo-sys-rs v0.7.0 [INFO] [stderr] Compiling pango-sys v0.7.0 [INFO] [stderr] Compiling gdk-sys v0.7.0 [INFO] [stderr] Compiling atk-sys v0.7.0 [INFO] [stderr] Compiling gtk-sys v0.7.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling glib v0.6.0 [INFO] [stderr] Compiling pango v0.5.0 [INFO] [stderr] Compiling gobject-subclass v0.2.0 [INFO] [stderr] Compiling aml-grade v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/student.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / glib_wrapper! { [INFO] [stdout] 165 | | pub struct RowData(Object): [INFO] [stdout] 166 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `glib_object_wrapper` which comes from the expansion of the macro `glib_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/student.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / glib_wrapper! { [INFO] [stdout] 165 | | pub struct RowData(Object): [INFO] [stdout] 166 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `glib_object_wrapper` which comes from the expansion of the macro `glib_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/student.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / glib_wrapper! { [INFO] [stdout] 165 | | pub struct RowData(Object): [INFO] [stdout] 166 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `glib_object_wrapper` which comes from the expansion of the macro `glib_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/student.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / glib_wrapper! { [INFO] [stdout] 165 | | pub struct RowData(Object): [INFO] [stdout] 166 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `glib_object_wrapper` which comes from the expansion of the macro `glib_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/student.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / glib_wrapper! { [INFO] [stdout] 165 | | pub struct RowData(Object): [INFO] [stdout] 166 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `glib_object_wrapper` which comes from the expansion of the macro `glib_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/student.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / glib_wrapper! { [INFO] [stdout] 165 | | pub struct RowData(Object): [INFO] [stdout] 166 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `glib_object_wrapper` which comes from the expansion of the macro `glib_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/student.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/student.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 68 - static ONCE: Once = ONCE_INIT; [INFO] [stdout] 68 + static ONCE: Once = Once::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/student.rs:152:44 [INFO] [stdout] | [INFO] [stdout] 152 | fn new(&self, obj: &Object) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 | fn new(&self, obj: &Object) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/student.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | fn init(_obj: &Object) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | fn init(_obj: &Object) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_weak` [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | $( let $n = $n.clone(); )+ [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 86 | listbox.bind_model(&model, clone!(window_weak => move |item| { [INFO] [stdout] | ________________________________- [INFO] [stdout] 87 | | let box_ = gtk::ListBoxRow::new(); [INFO] [stdout] 88 | | let item = item.downcast_ref::().unwrap(); [INFO] [stdout] 89 | | let hbox = gtk::Box::new(gtk::Orientation::Horizontal, 5); [INFO] [stdout] ... | [INFO] [stdout] 121 | | box_ [INFO] [stdout] 122 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `window_weak` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | $( let $n = $n.clone(); )+ [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 86 | listbox.bind_model(&model, clone!(window_weak => move |item| { [INFO] [stdout] | ________________________________- [INFO] [stdout] 87 | | let box_ = gtk::ListBoxRow::new(); [INFO] [stdout] 88 | | let item = item.downcast_ref::().unwrap(); [INFO] [stdout] 89 | | let hbox = gtk::Box::new(gtk::Orientation::Horizontal, 5); [INFO] [stdout] ... | [INFO] [stdout] 121 | | box_ [INFO] [stdout] 122 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.50s [INFO] running `Command { std: "docker" "inspect" "77ac08a3c66366b19a621da31464c88b3e75d8077ff9e3ce31365f45d78037ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77ac08a3c66366b19a621da31464c88b3e75d8077ff9e3ce31365f45d78037ff", kill_on_drop: false }` [INFO] [stdout] 77ac08a3c66366b19a621da31464c88b3e75d8077ff9e3ce31365f45d78037ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76ae2ca34ca37abcde4075442145d06c4480ad0e2247b076f63484dd24f36aa5 [INFO] running `Command { std: "docker" "start" "-a" "76ae2ca34ca37abcde4075442145d06c4480ad0e2247b076f63484dd24f36aa5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling aml-grade v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/student.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / glib_wrapper! { [INFO] [stdout] 165 | | pub struct RowData(Object): [INFO] [stdout] 166 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `glib_object_wrapper` which comes from the expansion of the macro `glib_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/student.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / glib_wrapper! { [INFO] [stdout] 165 | | pub struct RowData(Object): [INFO] [stdout] 166 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `glib_object_wrapper` which comes from the expansion of the macro `glib_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/student.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / glib_wrapper! { [INFO] [stdout] 165 | | pub struct RowData(Object): [INFO] [stdout] 166 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `glib_object_wrapper` which comes from the expansion of the macro `glib_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/student.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / glib_wrapper! { [INFO] [stdout] 165 | | pub struct RowData(Object): [INFO] [stdout] 166 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `glib_object_wrapper` which comes from the expansion of the macro `glib_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/student.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / glib_wrapper! { [INFO] [stdout] 165 | | pub struct RowData(Object): [INFO] [stdout] 166 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `glib_object_wrapper` which comes from the expansion of the macro `glib_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/student.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / glib_wrapper! { [INFO] [stdout] 165 | | pub struct RowData(Object): [INFO] [stdout] 166 | | [Object => InstanceStruct]; [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `glib_object_wrapper` which comes from the expansion of the macro `glib_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/student.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/student.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 68 - static ONCE: Once = ONCE_INIT; [INFO] [stdout] 68 + static ONCE: Once = Once::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/student.rs:152:44 [INFO] [stdout] | [INFO] [stdout] 152 | fn new(&self, obj: &Object) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 | fn new(&self, obj: &Object) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/student.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | fn init(_obj: &Object) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | fn init(_obj: &Object) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_weak` [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | $( let $n = $n.clone(); )+ [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 86 | listbox.bind_model(&model, clone!(window_weak => move |item| { [INFO] [stdout] | ________________________________- [INFO] [stdout] 87 | | let box_ = gtk::ListBoxRow::new(); [INFO] [stdout] 88 | | let item = item.downcast_ref::().unwrap(); [INFO] [stdout] 89 | | let hbox = gtk::Box::new(gtk::Orientation::Horizontal, 5); [INFO] [stdout] ... | [INFO] [stdout] 121 | | box_ [INFO] [stdout] 122 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `window_weak` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | $( let $n = $n.clone(); )+ [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 86 | listbox.bind_model(&model, clone!(window_weak => move |item| { [INFO] [stdout] | ________________________________- [INFO] [stdout] 87 | | let box_ = gtk::ListBoxRow::new(); [INFO] [stdout] 88 | | let item = item.downcast_ref::().unwrap(); [INFO] [stdout] 89 | | let hbox = gtk::Box::new(gtk::Orientation::Horizontal, 5); [INFO] [stdout] ... | [INFO] [stdout] 121 | | box_ [INFO] [stdout] 122 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "76ae2ca34ca37abcde4075442145d06c4480ad0e2247b076f63484dd24f36aa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76ae2ca34ca37abcde4075442145d06c4480ad0e2247b076f63484dd24f36aa5", kill_on_drop: false }` [INFO] [stdout] 76ae2ca34ca37abcde4075442145d06c4480ad0e2247b076f63484dd24f36aa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4342e593282f0a02e75b937d6fda00cbecff5d6a851c269440a3ea443333aad5 [INFO] running `Command { std: "docker" "start" "-a" "4342e593282f0a02e75b937d6fda00cbecff5d6a851c269440a3ea443333aad5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/student.rs:164:1 [INFO] [stderr] | [INFO] [stderr] 164 | / glib_wrapper! { [INFO] [stderr] 165 | | pub struct RowData(Object): [INFO] [stderr] 166 | | [Object => InstanceStruct]; [INFO] [stderr] ... | [INFO] [stderr] 171 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `glib_object_wrapper` which comes from the expansion of the macro `glib_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/student.rs:164:1 [INFO] [stderr] | [INFO] [stderr] 164 | / glib_wrapper! { [INFO] [stderr] 165 | | pub struct RowData(Object): [INFO] [stderr] 166 | | [Object => InstanceStruct]; [INFO] [stderr] ... | [INFO] [stderr] 171 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `glib_object_wrapper` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `glib_object_wrapper` may come from an old version of the `glib` crate, try updating your dependency with `cargo update -p glib` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `glib_object_wrapper` which comes from the expansion of the macro `glib_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::BufReader` [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use std::io::BufReader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/student.rs:62:35 [INFO] [stderr] | [INFO] [stderr] 62 | use std::sync::{Once, ONCE_INIT}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/student.rs:68:33 [INFO] [stderr] | [INFO] [stderr] 68 | static ONCE: Once = ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated constant [INFO] [stderr] | [INFO] [stderr] 68 - static ONCE: Once = ONCE_INIT; [INFO] [stderr] 68 + static ONCE: Once = Once::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/student.rs:152:44 [INFO] [stderr] | [INFO] [stderr] 152 | fn new(&self, obj: &Object) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 152 | fn new(&self, obj: &Object) -> Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/student.rs:91:39 [INFO] [stderr] | [INFO] [stderr] 91 | fn init(_obj: &Object) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [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] [stdout] [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stderr] 91 | fn init(_obj: &Object) -> Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window_weak` [INFO] [stderr] --> src/main.rs:36:20 [INFO] [stderr] | [INFO] [stderr] 36 | $( let $n = $n.clone(); )+ [INFO] [stderr] | ^^ [INFO] [stdout] [INFO] [stderr] ... [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 86 | listbox.bind_model(&model, clone!(window_weak => move |item| { [INFO] [stdout] [INFO] [stderr] | ________________________________- [INFO] [stderr] 87 | | let box_ = gtk::ListBoxRow::new(); [INFO] [stderr] 88 | | let item = item.downcast_ref::().unwrap(); [INFO] [stderr] 89 | | let hbox = gtk::Box::new(gtk::Orientation::Horizontal, 5); [INFO] [stderr] ... | [INFO] [stderr] 121 | | box_ [INFO] [stderr] 122 | | })); [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] help: `window_weak` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/main.rs:36:20 [INFO] [stderr] | [INFO] [stderr] 36 | $( let $n = $n.clone(); )+ [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 86 | listbox.bind_model(&model, clone!(window_weak => move |item| { [INFO] [stderr] | ________________________________- [INFO] [stderr] 87 | | let box_ = gtk::ListBoxRow::new(); [INFO] [stderr] 88 | | let item = item.downcast_ref::().unwrap(); [INFO] [stderr] 89 | | let hbox = gtk::Box::new(gtk::Orientation::Horizontal, 5); [INFO] [stderr] ... | [INFO] [stderr] 121 | | box_ [INFO] [stderr] 122 | | })); [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `aml-grade` (bin "aml-grade" test) generated 12 warnings (4 duplicates) (run `cargo fix --bin "aml-grade" -p aml-grade --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/aml_grade-60f104d91e058b9f) [INFO] running `Command { std: "docker" "inspect" "4342e593282f0a02e75b937d6fda00cbecff5d6a851c269440a3ea443333aad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4342e593282f0a02e75b937d6fda00cbecff5d6a851c269440a3ea443333aad5", kill_on_drop: false }` [INFO] [stdout] 4342e593282f0a02e75b937d6fda00cbecff5d6a851c269440a3ea443333aad5