[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] building aleozlx/aml-grade against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleozlx%2Faml-grade" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aleozlx/aml-grade on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gtk-sys v0.7.0 [INFO] [stderr] Downloaded cairo-rs v0.5.0 [INFO] [stderr] Downloaded fragile v0.3.0 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.7.0 [INFO] [stderr] Downloaded gobject-sys v0.7.0 [INFO] [stderr] Downloaded pango-sys v0.7.0 [INFO] [stderr] Downloaded gdk-pixbuf v0.5.0 [INFO] [stderr] Downloaded gdk-sys v0.7.0 [INFO] [stderr] Downloaded gdk v0.9.0 [INFO] [stderr] Downloaded gio v0.5.0 [INFO] [stderr] Downloaded glib v0.6.0 [INFO] [stderr] Downloaded gio-sys v0.7.0 [INFO] [stderr] Downloaded glib-sys v0.7.0 [INFO] [stderr] Downloaded atk-sys v0.7.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.7.0 [INFO] [stderr] Downloaded gtk v0.5.0 [INFO] [stderr] Downloaded pango v0.5.0 [INFO] [stderr] Downloaded gobject-subclass v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f8965c9ad6168559a61ec6d412b348cc077642ca2f6924c20cf8eed4838622f [INFO] running `Command { std: "docker" "start" "-a" "7f8965c9ad6168559a61ec6d412b348cc077642ca2f6924c20cf8eed4838622f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f8965c9ad6168559a61ec6d412b348cc077642ca2f6924c20cf8eed4838622f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f8965c9ad6168559a61ec6d412b348cc077642ca2f6924c20cf8eed4838622f", kill_on_drop: false }` [INFO] [stdout] 7f8965c9ad6168559a61ec6d412b348cc077642ca2f6924c20cf8eed4838622f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f059a5c3ec7915b85c2bf8ff4c28ca9069025540d0ed0247724edbd149cad6d [INFO] running `Command { std: "docker" "start" "-a" "2f059a5c3ec7915b85c2bf8ff4c28ca9069025540d0ed0247724edbd149cad6d", 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 bitflags v1.0.4 [INFO] [stderr] Compiling gio v0.5.0 [INFO] [stderr] Compiling gdk-pixbuf v0.5.0 [INFO] [stderr] Compiling fragile v0.3.0 [INFO] [stderr] Compiling cairo-rs v0.5.0 [INFO] [stderr] Compiling gdk v0.9.0 [INFO] [stderr] Compiling gtk v0.5.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling clap v2.32.0 [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 cairo-sys-rs v0.7.0 [INFO] [stderr] Compiling gdk-pixbuf-sys 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 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: 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)]` on by default [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: `#[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: 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::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)]` 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:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | listbox.bind_model(&model, clone!(window_weak => move |item| { [INFO] [stdout] | ^^^^^^^^^^^ [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)]` 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 32.68s [INFO] running `Command { std: "docker" "inspect" "2f059a5c3ec7915b85c2bf8ff4c28ca9069025540d0ed0247724edbd149cad6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f059a5c3ec7915b85c2bf8ff4c28ca9069025540d0ed0247724edbd149cad6d", kill_on_drop: false }` [INFO] [stdout] 2f059a5c3ec7915b85c2bf8ff4c28ca9069025540d0ed0247724edbd149cad6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 063c618ca73bc97b9c585373b46991250aa7bc7d8e988afae4d0d33e6791a32c [INFO] running `Command { std: "docker" "start" "-a" "063c618ca73bc97b9c585373b46991250aa7bc7d8e988afae4d0d33e6791a32c", 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: 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)]` on by default [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: `#[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: 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::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)]` 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:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | listbox.bind_model(&model, clone!(window_weak => move |item| { [INFO] [stdout] | ^^^^^^^^^^^ [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)]` 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.35s [INFO] running `Command { std: "docker" "inspect" "063c618ca73bc97b9c585373b46991250aa7bc7d8e988afae4d0d33e6791a32c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "063c618ca73bc97b9c585373b46991250aa7bc7d8e988afae4d0d33e6791a32c", kill_on_drop: false }` [INFO] [stdout] 063c618ca73bc97b9c585373b46991250aa7bc7d8e988afae4d0d33e6791a32c