[INFO] cloning repository https://github.com/btnguyenPersonal/cardgame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/btnguyenPersonal/cardgame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbtnguyenPersonal%2Fcardgame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbtnguyenPersonal%2Fcardgame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98e5f1dfa61d89efdf076659467e14d7f1f912be [INFO] checking btnguyenPersonal/cardgame against f1c52bf13c990fc425c542cc90a0396a87db24ba for pr-164812 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbtnguyenPersonal%2Fcardgame" "/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/btnguyenPersonal/cardgame [INFO] finished tweaking git repo https://github.com/btnguyenPersonal/cardgame [INFO] tweaked toml for git repo https://github.com/btnguyenPersonal/cardgame written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/btnguyenPersonal/cardgame on toolchain f1c52bf13c990fc425c542cc90a0396a87db24ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/btnguyenPersonal/cardgame 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" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 8a44f42caf2517403fb1d413b49de488c3902833f6d10b7fe02b7943afce1281 [INFO] running `Command { std: "docker" "start" "8a44f42caf2517403fb1d413b49de488c3902833f6d10b7fe02b7943afce1281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a44f42caf2517403fb1d413b49de488c3902833f6d10b7fe02b7943afce1281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8a44f42caf2517403fb1d413b49de488c3902833f6d10b7fe02b7943afce1281" "/opt/rustwide/cargo-home/bin/cargo" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a44f42caf2517403fb1d413b49de488c3902833f6d10b7fe02b7943afce1281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8a44f42caf2517403fb1d413b49de488c3902833f6d10b7fe02b7943afce1281" "/opt/rustwide/cargo-home/bin/cargo" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling gio v0.8.1 [INFO] [stderr] Compiling gdk-pixbuf v0.8.0 [INFO] [stderr] Compiling pango v0.8.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling cairo-rs v0.8.1 [INFO] [stderr] Compiling atk v0.8.0 [INFO] [stderr] Compiling gdk v0.12.1 [INFO] [stderr] Compiling gtk v0.8.1 [INFO] [stderr] Compiling glib-sys v0.9.1 [INFO] [stderr] Compiling gobject-sys v0.9.1 [INFO] [stderr] Compiling gio-sys v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.9.1 [INFO] [stderr] Compiling pango-sys v0.9.1 [INFO] [stderr] Compiling cairo-sys-rs v0.9.2 [INFO] [stderr] Compiling gdk-sys v0.9.1 [INFO] [stderr] Compiling atk-sys v0.9.1 [INFO] [stderr] Compiling gtk-sys v0.9.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking glib v0.9.3 [INFO] [stderr] Checking cardgame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/../resources/resources.gresource`: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | let resources_bytes = include_bytes!("../resources/resources.gresource"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gio` in this scope [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gio::prelude::*; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gio`, use `cargo add gio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../resources/resources.gresource`: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | let resources_bytes = include_bytes!("../resources/resources.gresource"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gio` in this scope [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gio::prelude::*; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gio`, use `cargo add gio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gio` in this scope [INFO] [stdout] --> src/main.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | let res = gio::Resource::new_from_data(&resource_data).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gio`, use `cargo add gio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gio` in this scope [INFO] [stdout] --> src/main.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | let res = gio::Resource::new_from_data(&resource_data).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gio`, use `cargo add gio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `connect_activate` exists for struct `gtk::Application`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | application.connect_activate(|app| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glib-0.9.3/src/object.rs:714:9 [INFO] [stdout] | [INFO] [stdout] 714 | pub struct $name($crate::object::ObjectRef, ::std::marker::PhantomData<$ffi_name>); [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy 14 bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::ButtonExt` [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::EntryExt` [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::ExpanderExt` [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::FlowBoxChildExt` [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::ListBoxRowExt` [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::GtkMenuItemExt` [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::SwitchExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ApplicationExt` which provides `connect_activate` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use gio::auto::application::ApplicationExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `connect_activate` exists for struct `gtk::Application`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | application.connect_activate(|app| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glib-0.9.3/src/object.rs:714:9 [INFO] [stdout] | [INFO] [stdout] 714 | pub struct $name($crate::object::ObjectRef, ::std::marker::PhantomData<$ffi_name>); [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy 14 bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::ButtonExt` [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::EntryExt` [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::ExpanderExt` [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::FlowBoxChildExt` [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::ListBoxRowExt` [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::GtkMenuItemExt` [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::SwitchExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ApplicationExt` which provides `connect_activate` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use gio::auto::application::ApplicationExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gio` in this scope [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | gio::resources_register(&res); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gio`, use `cargo add gio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `gio` in this scope [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | gio::resources_register(&res); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gio`, use `cargo add gio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `load_from_resource` found for struct `CssProvider` in the current scope [INFO] [stdout] --> src/main.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | provider.load_from_resource("/org/example/Example/style.css"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `load_from_file` with a similar name [INFO] [stdout] | [INFO] [stdout] 20 - provider.load_from_resource("/org/example/Example/style.css"); [INFO] [stdout] 20 + provider.load_from_file("/org/example/Example/style.css"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `load_from_resource` found for struct `CssProvider` in the current scope [INFO] [stdout] --> src/main.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | provider.load_from_resource("/org/example/Example/style.css"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `load_from_file` with a similar name [INFO] [stdout] | [INFO] [stdout] 20 - provider.load_from_resource("/org/example/Example/style.css"); [INFO] [stdout] 20 + provider.load_from_file("/org/example/Example/style.css"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `run` exists for struct `gtk::Application`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | application.run(&args().collect::>()); [INFO] [stdout] | ^^^ method cannot be called on `gtk::Application` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glib-0.9.3/src/object.rs:714:9 [INFO] [stdout] | [INFO] [stdout] 714 | pub struct $name($crate::object::ObjectRef, ::std::marker::PhantomData<$ffi_name>); [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `gtk::Application: IsA`, `gtk::Application: IsA`, `gtk::Application: gtk::DialogExt` or `gtk::Application: gtk::PrintOperationExt` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::DialogExt` [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::PrintOperationExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ApplicationExtManual` which provides `run` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use gio::application::ApplicationExtManual; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `run` exists for struct `gtk::Application`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | application.run(&args().collect::>()); [INFO] [stdout] | ^^^ method cannot be called on `gtk::Application` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glib-0.9.3/src/object.rs:714:9 [INFO] [stdout] | [INFO] [stdout] 714 | pub struct $name($crate::object::ObjectRef, ::std::marker::PhantomData<$ffi_name>); [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `gtk::Application: IsA`, `gtk::Application: IsA`, `gtk::Application: gtk::DialogExt` or `gtk::Application: gtk::PrintOperationExt` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::DialogExt` [INFO] [stdout] `gtk::Application: IsA` [INFO] [stdout] which is required by `gtk::Application: gtk::PrintOperationExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ApplicationExtManual` which provides `run` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use gio::application::ApplicationExtManual; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `cardgame` (bin "cardgame") due to 7 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cardgame` (bin "cardgame" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "8a44f42caf2517403fb1d413b49de488c3902833f6d10b7fe02b7943afce1281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a44f42caf2517403fb1d413b49de488c3902833f6d10b7fe02b7943afce1281", kill_on_drop: false }` [INFO] [stdout] 8a44f42caf2517403fb1d413b49de488c3902833f6d10b7fe02b7943afce1281