[INFO] fetching crate dalia 1.2.0...
[INFO] checking dalia-1.2.0 against try#d1d7143153307f561233bd4d93e2a3b24157b081 for pr-151539-1
[INFO] extracting crate dalia 1.2.0 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate dalia 1.2.0
[INFO] finished tweaking crates.io crate dalia 1.2.0
[INFO] tweaked toml for crates.io crate dalia 1.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate dalia 1.2.0 on toolchain d1d7143153307f561233bd4d93e2a3b24157b081
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d1d7143153307f561233bd4d93e2a3b24157b081" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate dalia 1.2.0 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" "+d1d7143153307f561233bd4d93e2a3b24157b081" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 17dbd7039b0da024c8b4622ac4e7669ce34b834cfdf93813ade10633a088d92e
[INFO] running `Command { std: "docker" "start" "17dbd7039b0da024c8b4622ac4e7669ce34b834cfdf93813ade10633a088d92e", 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" "17dbd7039b0da024c8b4622ac4e7669ce34b834cfdf93813ade10633a088d92e" "/opt/rustwide/cargo-home/bin/cargo" "+d1d7143153307f561233bd4d93e2a3b24157b081" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "17dbd7039b0da024c8b4622ac4e7669ce34b834cfdf93813ade10633a088d92e", 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" "17dbd7039b0da024c8b4622ac4e7669ce34b834cfdf93813ade10633a088d92e" "/opt/rustwide/cargo-home/bin/cargo" "+d1d7143153307f561233bd4d93e2a3b24157b081" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking temp_testdir v0.2.3
[INFO] [stderr]     Checking dirs-sys v0.3.5
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]     Checking shellexpand v2.0.0
[INFO] [stderr]     Checking dalia v1.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0604]: only `u8` can be cast as `char`, not `i32`
[INFO] [stdout]   --> src/lexer.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | const EOF: char = !0 as char;
[INFO] [stdout]    |                   ^^^^^^^^^^ invalid cast
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `char::from_u32` instead (via a `u32`)
[INFO] [stdout]   --> src/lexer.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | const EOF: char = !0 as char;
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0604]: only `u8` can be cast as `char`, not `i32`
[INFO] [stdout]   --> src/lexer.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | const EOF: char = !0 as char;
[INFO] [stdout]    |                   ^^^^^^^^^^ invalid cast
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `char::from_u32` instead (via a `u32`)
[INFO] [stdout]   --> src/lexer.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | const EOF: char = !0 as char;
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0604]: only `u8` can be cast as `char`, not `i32`
[INFO] [stdout]    --> src/lexer.rs:180:38
[INFO] [stdout]     |
[INFO] [stdout] 180 |         let cur = Cursor::new("", 0, !0 as char);
[INFO] [stdout]     |                                      ^^^^^^^^^^ invalid cast
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `char::from_u32` instead (via a `u32`)
[INFO] [stdout]    --> src/lexer.rs:180:38
[INFO] [stdout]     |
[INFO] [stdout] 180 |         let cur = Cursor::new("", 0, !0 as char);
[INFO] [stdout]     |                                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0604]: only `u8` can be cast as `char`, not `i32`
[INFO] [stdout]    --> src/lexer.rs:183:20
[INFO] [stdout]     |
[INFO] [stdout] 183 |         assert_eq!(!0 as char, cur.current_char);
[INFO] [stdout]     |                    ^^^^^^^^^^ invalid cast
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `char::from_u32` instead (via a `u32`)
[INFO] [stdout]    --> src/lexer.rs:183:20
[INFO] [stdout]     |
[INFO] [stdout] 183 |         assert_eq!(!0 as char, cur.current_char);
[INFO] [stdout]     |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0604]: only `u8` can be cast as `char`, not `i32`
[INFO] [stdout]    --> src/lexer.rs:201:20
[INFO] [stdout]     |
[INFO] [stdout] 201 |         assert_eq!(!0 as char, cur.current_char);
[INFO] [stdout]     |                    ^^^^^^^^^^ invalid cast
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `char::from_u32` instead (via a `u32`)
[INFO] [stdout]    --> src/lexer.rs:201:20
[INFO] [stdout]     |
[INFO] [stdout] 201 |         assert_eq!(!0 as char, cur.current_char);
[INFO] [stdout]     |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0604`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dalia` (lib) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0604`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dalia` (lib test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "17dbd7039b0da024c8b4622ac4e7669ce34b834cfdf93813ade10633a088d92e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17dbd7039b0da024c8b4622ac4e7669ce34b834cfdf93813ade10633a088d92e", kill_on_drop: false }`
[INFO] [stdout] 17dbd7039b0da024c8b4622ac4e7669ce34b834cfdf93813ade10633a088d92e
