[INFO] updating cached repository https://github.com/viluon/Ion [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviluon%2FIon" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/viluon/Ion on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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 /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/viluon/Ion already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 735f9e744ae14b57158587139da80c2def376b256cd3aa191fcd781cb14654b8 [INFO] running `"docker" "start" "-a" "735f9e744ae14b57158587139da80c2def376b256cd3aa191fcd781cb14654b8"` [INFO] [stderr] Compiling gio v0.7.0 [INFO] [stderr] Compiling pango v0.7.0 [INFO] [stderr] Compiling cairo-rs v0.7.1 [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 gdk-pixbuf-sys v0.9.0 [INFO] [stderr] Compiling cairo-sys-rs v0.9.0 [INFO] [stderr] Compiling pango-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" "735f9e744ae14b57158587139da80c2def376b256cd3aa191fcd781cb14654b8"` [INFO] running `"docker" "rm" "-f" "735f9e744ae14b57158587139da80c2def376b256cd3aa191fcd781cb14654b8"` [INFO] [stdout] 735f9e744ae14b57158587139da80c2def376b256cd3aa191fcd781cb14654b8