[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#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviluon%2FIon" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/viluon/Ion on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5ab08831c20ed487ac9752ad9e72e29798d0c977b587e06a761f15ea42f1924 [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" "d5ab08831c20ed487ac9752ad9e72e29798d0c977b587e06a761f15ea42f1924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5ab08831c20ed487ac9752ad9e72e29798d0c977b587e06a761f15ea42f1924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5ab08831c20ed487ac9752ad9e72e29798d0c977b587e06a761f15ea42f1924", kill_on_drop: false }` [INFO] [stdout] d5ab08831c20ed487ac9752ad9e72e29798d0c977b587e06a761f15ea42f1924 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e74b8309ef3f21e2ff610ef20bd7c74eaf1470cb66ea613597e9ebeb500d6358 [INFO] running `Command { std: "docker" "start" "-a" "e74b8309ef3f21e2ff610ef20bd7c74eaf1470cb66ea613597e9ebeb500d6358", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling anyhow v1.0.37 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling heck v0.3.2 [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 pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [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 cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stderr] Checking futures v0.3.8 [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: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[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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e74b8309ef3f21e2ff610ef20bd7c74eaf1470cb66ea613597e9ebeb500d6358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74b8309ef3f21e2ff610ef20bd7c74eaf1470cb66ea613597e9ebeb500d6358", kill_on_drop: false }` [INFO] [stdout] e74b8309ef3f21e2ff610ef20bd7c74eaf1470cb66ea613597e9ebeb500d6358