[INFO] updating cached repository https://github.com/viluon/Ion [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e2c4af32a05d7099ef70cfa93097bcfc7fd0b323 [INFO] checking viluon/Ion against master#4ff32c07da9d97e6dc315a4a5c9ffbb797cb27bb for pr-64672 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviluon%2FIon" "work/builds/worker-2/source"` [INFO] [stderr] Cloning into 'work/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/viluon/Ion on toolchain 4ff32c07da9d97e6dc315a4a5c9ffbb797cb27bb [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+4ff32c07da9d97e6dc315a4a5c9ffbb797cb27bb" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/viluon/Ion [INFO] finished tweaking git repo https://github.com/viluon/Ion [INFO] tweaked toml for git repo https://github.com/viluon/Ion written to work/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/viluon/Ion already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+4ff32c07da9d97e6dc315a4a5c9ffbb797cb27bb" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+4ff32c07da9d97e6dc315a4a5c9ffbb797cb27bb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+4ff32c07da9d97e6dc315a4a5c9ffbb797cb27bb" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+4ff32c07da9d97e6dc315a4a5c9ffbb797cb27bb" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c3bbdb71469c42d4d4b9886f1ddb49a6e2a1776e0316ef8ec87c57c098cfd6ec [INFO] running `"docker" "start" "-a" "c3bbdb71469c42d4d4b9886f1ddb49a6e2a1776e0316ef8ec87c57c098cfd6ec"` [INFO] [stderr] Compiling gio v0.7.0 [INFO] [stderr] Compiling cairo-rs v0.7.1 [INFO] [stderr] Compiling pango v0.7.0 [INFO] [stderr] Compiling gdk-pixbuf v0.7.0 [INFO] [stderr] Compiling gdk v0.11.0 [INFO] [stderr] Compiling atk v0.7.0 [INFO] [stderr] Compiling gtk v0.7.0 [INFO] [stderr] Compiling glib-sys v0.9.0 [INFO] [stderr] Compiling gobject-sys v0.9.0 [INFO] [stderr] Compiling gio-sys v0.9.0 [INFO] [stderr] Compiling pango-sys v0.9.0 [INFO] [stderr] Compiling cairo-sys-rs v0.9.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.9.0 [INFO] [stderr] Compiling atk-sys v0.9.0 [INFO] [stderr] Compiling gdk-sys v0.9.0 [INFO] [stderr] Compiling gtk-sys v0.9.0 [INFO] [stderr] Checking glib v0.8.2 [INFO] [stderr] Checking ion v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | ("Open", gtk::ResponseType::Ok as i32), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `gtk::ResponseType`, found i32 [INFO] [stderr] | help: try using a variant of the expected type: `gtk::ResponseType::__Unknown(gtk::ResponseType::Ok as i32)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `gtk::ResponseType` [INFO] [stderr] found type `i32` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | ("Open", gtk::ResponseType::Ok as i32), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `gtk::ResponseType`, found i32 [INFO] [stderr] | help: try using a variant of the expected type: `gtk::ResponseType::__Unknown(gtk::ResponseType::Ok as i32)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `gtk::ResponseType` [INFO] [stderr] found type `i32` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:40:15 [INFO] [stderr] | [INFO] [stderr] 40 | ("Cancel", gtk::ResponseType::Cancel as i32), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `gtk::ResponseType`, found i32 [INFO] [stderr] | help: try using a variant of the expected type: `gtk::ResponseType::__Unknown(gtk::ResponseType::Cancel as i32)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `gtk::ResponseType` [INFO] [stderr] found type `i32` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:40:15 [INFO] [stderr] | [INFO] [stderr] 40 | ("Cancel", gtk::ResponseType::Cancel as i32), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `gtk::ResponseType`, found i32 [INFO] [stderr] | help: try using a variant of the expected type: `gtk::ResponseType::__Unknown(gtk::ResponseType::Cancel as i32)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `gtk::ResponseType` [INFO] [stderr] found type `i32` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:42:28 [INFO] [stderr] | [INFO] [stderr] 42 | if file_chooser.run() == gtk::ResponseType::Ok as i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `gtk::ResponseType`, found i32 [INFO] [stderr] | help: try using a variant of the expected type: `gtk::ResponseType::__Unknown(gtk::ResponseType::Ok as i32)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `gtk::ResponseType` [INFO] [stderr] found type `i32` [INFO] [stderr] [INFO] [stderr] error[E0605]: non-primitive cast: `gtk::ResponseType` as `i32` [INFO] [stderr] --> src/main.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | ("Open", gtk::ResponseType::Ok as i32), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: an `as` expression can only be used to convert between primitive types. Consider using the `From` trait [INFO] [stderr] [INFO] [stderr] error[E0605]: non-primitive cast: `gtk::ResponseType` as `i32` [INFO] [stderr] --> src/main.rs:40:15 [INFO] [stderr] | [INFO] [stderr] 40 | ("Cancel", gtk::ResponseType::Cancel as i32), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: an `as` expression can only be used to convert between primitive types. Consider using the `From` trait [INFO] [stderr] [INFO] [stderr] error[E0605]: non-primitive cast: `gtk::ResponseType` as `i32` [INFO] [stderr] --> src/main.rs:42:28 [INFO] [stderr] | [INFO] [stderr] 42 | if file_chooser.run() == gtk::ResponseType::Ok as i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: an `as` expression can only be used to convert between primitive types. Consider using the `From` trait [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0605. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `ion`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:42:28 [INFO] [stderr] | [INFO] [stderr] 42 | if file_chooser.run() == gtk::ResponseType::Ok as i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `gtk::ResponseType`, found i32 [INFO] [stderr] | help: try using a variant of the expected type: `gtk::ResponseType::__Unknown(gtk::ResponseType::Ok as i32)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `gtk::ResponseType` [INFO] [stderr] found type `i32` [INFO] [stderr] [INFO] [stderr] error[E0605]: non-primitive cast: `gtk::ResponseType` as `i32` [INFO] [stderr] --> src/main.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | ("Open", gtk::ResponseType::Ok as i32), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: an `as` expression can only be used to convert between primitive types. Consider using the `From` trait [INFO] [stderr] [INFO] [stderr] error[E0605]: non-primitive cast: `gtk::ResponseType` as `i32` [INFO] [stderr] --> src/main.rs:40:15 [INFO] [stderr] | [INFO] [stderr] 40 | ("Cancel", gtk::ResponseType::Cancel as i32), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: an `as` expression can only be used to convert between primitive types. Consider using the `From` trait [INFO] [stderr] [INFO] [stderr] error[E0605]: non-primitive cast: `gtk::ResponseType` as `i32` [INFO] [stderr] --> src/main.rs:42:28 [INFO] [stderr] | [INFO] [stderr] 42 | if file_chooser.run() == gtk::ResponseType::Ok as i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: an `as` expression can only be used to convert between primitive types. Consider using the `From` trait [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0605. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `ion`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c3bbdb71469c42d4d4b9886f1ddb49a6e2a1776e0316ef8ec87c57c098cfd6ec"` [INFO] running `"docker" "rm" "-f" "c3bbdb71469c42d4d4b9886f1ddb49a6e2a1776e0316ef8ec87c57c098cfd6ec"` [INFO] [stdout] c3bbdb71469c42d4d4b9886f1ddb49a6e2a1776e0316ef8ec87c57c098cfd6ec