[INFO] cloning repository https://github.com/viluon/Ion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/viluon/Ion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviluon%2FIon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviluon%2FIon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2c4af32a05d7099ef70cfa93097bcfc7fd0b323 [INFO] checking viluon/Ion against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviluon%2FIon" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/viluon/Ion on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/viluon/Ion already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af1d28b458711e73ccd82576d61fe8b646a903125b9acd0c53f421e34d863d11 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "af1d28b458711e73ccd82576d61fe8b646a903125b9acd0c53f421e34d863d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af1d28b458711e73ccd82576d61fe8b646a903125b9acd0c53f421e34d863d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af1d28b458711e73ccd82576d61fe8b646a903125b9acd0c53f421e34d863d11", kill_on_drop: false }` [INFO] [stdout] af1d28b458711e73ccd82576d61fe8b646a903125b9acd0c53f421e34d863d11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1858f6382b8c3cf75b633bd3b4a8a5b79d3565c03542db7eafba795b5df3ac34 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1858f6382b8c3cf75b633bd3b4a8a5b79d3565c03542db7eafba795b5df3ac34", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking ion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `new_with_label` found for struct `gtk::Button` in the current scope [INFO] [stdout] --> src/main.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | let open_button = gtk::Button::new_with_label("Open \u{25BE}"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `gtk::Button` [INFO] [stdout] | help: there is an associated function with a similar name: `with_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_label` found for struct `gtk::Button` in the current scope [INFO] [stdout] --> src/main.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | let save_button = gtk::Button::new_with_label("Save"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `gtk::Button` [INFO] [stdout] | help: there is an associated function with a similar name: `with_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_label` found for struct `gtk::Button` in the current scope [INFO] [stdout] --> src/main.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | let open_button = gtk::Button::new_with_label("Open \u{25BE}"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `gtk::Button` [INFO] [stdout] | help: there is an associated function with a similar name: `with_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_label` found for struct `gtk::Button` in the current scope [INFO] [stdout] --> src/main.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | let save_button = gtk::Button::new_with_label("Save"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `gtk::Button` [INFO] [stdout] | help: there is an associated function with a similar name: `with_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | ("Open", gtk::ResponseType::Ok as i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `ResponseType`, found `i32` [INFO] [stdout] | help: try using a variant of the expected enum: `gtk::ResponseType::__Unknown(gtk::ResponseType::Ok as i32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | ("Open", gtk::ResponseType::Ok as i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `ResponseType`, found `i32` [INFO] [stdout] | help: try using a variant of the expected enum: `gtk::ResponseType::__Unknown(gtk::ResponseType::Ok as i32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | ("Cancel", gtk::ResponseType::Cancel as i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `ResponseType`, found `i32` [INFO] [stdout] | help: try using a variant of the expected enum: `gtk::ResponseType::__Unknown(gtk::ResponseType::Cancel as i32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | if file_chooser.run() == gtk::ResponseType::Ok as i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `ResponseType`, found `i32` [INFO] [stdout] | help: try using a variant of the expected enum: `gtk::ResponseType::__Unknown(gtk::ResponseType::Ok as i32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `ResponseType` as `i32` [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | ("Open", gtk::ResponseType::Ok as i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `ResponseType` as `i32` [INFO] [stdout] --> src/main.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | ("Cancel", gtk::ResponseType::Cancel as i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `ResponseType` as `i32` [INFO] [stdout] --> src/main.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | if file_chooser.run() == gtk::ResponseType::Ok as i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ion` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | ("Cancel", gtk::ResponseType::Cancel as i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `ResponseType`, found `i32` [INFO] [stdout] | help: try using a variant of the expected enum: `gtk::ResponseType::__Unknown(gtk::ResponseType::Cancel as i32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | if file_chooser.run() == gtk::ResponseType::Ok as i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `ResponseType`, found `i32` [INFO] [stdout] | help: try using a variant of the expected enum: `gtk::ResponseType::__Unknown(gtk::ResponseType::Ok as i32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `ResponseType` as `i32` [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | ("Open", gtk::ResponseType::Ok as i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `ResponseType` as `i32` [INFO] [stdout] --> src/main.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | ("Cancel", gtk::ResponseType::Cancel as i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `ResponseType` as `i32` [INFO] [stdout] --> src/main.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | if file_chooser.run() == gtk::ResponseType::Ok as i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1858f6382b8c3cf75b633bd3b4a8a5b79d3565c03542db7eafba795b5df3ac34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1858f6382b8c3cf75b633bd3b4a8a5b79d3565c03542db7eafba795b5df3ac34", kill_on_drop: false }` [INFO] [stdout] 1858f6382b8c3cf75b633bd3b4a8a5b79d3565c03542db7eafba795b5df3ac34