[INFO] cloning repository https://github.com/grxssy/cl-3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grxssy/cl-3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrxssy%2Fcl-3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrxssy%2Fcl-3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b399684a5d4afa211548f51f3a9da096bec8043d [INFO] checking grxssy/cl-3 against try#9d63f825c0d409b0e1743a2c84b33f86965e5929 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrxssy%2Fcl-3" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/grxssy/cl-3 on toolchain 9d63f825c0d409b0e1743a2c84b33f86965e5929 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/grxssy/cl-3 [INFO] finished tweaking git repo https://github.com/grxssy/cl-3 [INFO] tweaked toml for git repo https://github.com/grxssy/cl-3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/grxssy/cl-3 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" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d273ad20bcf8b6d9d854e13cd47edbaf2c45821bb4f4e09f6651b45713eeffe6 [INFO] running `Command { std: "docker" "start" "-a" "d273ad20bcf8b6d9d854e13cd47edbaf2c45821bb4f4e09f6651b45713eeffe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d273ad20bcf8b6d9d854e13cd47edbaf2c45821bb4f4e09f6651b45713eeffe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d273ad20bcf8b6d9d854e13cd47edbaf2c45821bb4f4e09f6651b45713eeffe6", kill_on_drop: false }` [INFO] [stdout] d273ad20bcf8b6d9d854e13cd47edbaf2c45821bb4f4e09f6651b45713eeffe6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be7d76e5f92d1279a38e8dd90f1326933b12b062d9ad55990d497d996b1fa729 [INFO] running `Command { std: "docker" "start" "-a" "be7d76e5f92d1279a38e8dd90f1326933b12b062d9ad55990d497d996b1fa729", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking crablet-3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:247:42 [INFO] [stdout] | [INFO] [stdout] 247 | let mut mem_ptr: *mut u16 = unsafe { MEMORY.as_mut_ptr().offset(origin as isize) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:311:32 [INFO] [stdout] | [INFO] [stdout] 311 | if tcgetattr(STDIN_FILENO, &mut ORIGINAL_TIO) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 311 - if tcgetattr(STDIN_FILENO, &mut ORIGINAL_TIO) != 0 { [INFO] [stdout] 311 + if tcgetattr(STDIN_FILENO, &raw mut ORIGINAL_TIO) != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:325:38 [INFO] [stdout] | [INFO] [stdout] 325 | tcsetattr(STDIN_FILENO, TCSANOW, &ORIGINAL_TIO); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 325 - tcsetattr(STDIN_FILENO, TCSANOW, &ORIGINAL_TIO); [INFO] [stdout] 325 + tcsetattr(STDIN_FILENO, TCSANOW, &raw const ORIGINAL_TIO); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:655:27 [INFO] [stdout] | [INFO] [stdout] 655 | let mut c: *mut u16 = MEMORY [INFO] [stdout] | ___________________________^ [INFO] [stdout] 656 | | .as_mut_ptr() [INFO] [stdout] | |_____________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:700:33 [INFO] [stdout] | [INFO] [stdout] 700 | let mut c: *mut u16 = &mut (MEMORY.len() as u16 + reg[Register::RR0 as usize]); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:247:42 [INFO] [stdout] | [INFO] [stdout] 247 | let mut mem_ptr: *mut u16 = unsafe { MEMORY.as_mut_ptr().offset(origin as isize) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:311:32 [INFO] [stdout] | [INFO] [stdout] 311 | if tcgetattr(STDIN_FILENO, &mut ORIGINAL_TIO) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 311 - if tcgetattr(STDIN_FILENO, &mut ORIGINAL_TIO) != 0 { [INFO] [stdout] 311 + if tcgetattr(STDIN_FILENO, &raw mut ORIGINAL_TIO) != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:325:38 [INFO] [stdout] | [INFO] [stdout] 325 | tcsetattr(STDIN_FILENO, TCSANOW, &ORIGINAL_TIO); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 325 - tcsetattr(STDIN_FILENO, TCSANOW, &ORIGINAL_TIO); [INFO] [stdout] 325 + tcsetattr(STDIN_FILENO, TCSANOW, &raw const ORIGINAL_TIO); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:655:27 [INFO] [stdout] | [INFO] [stdout] 655 | let mut c: *mut u16 = MEMORY [INFO] [stdout] | ___________________________^ [INFO] [stdout] 656 | | .as_mut_ptr() [INFO] [stdout] | |_____________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:700:33 [INFO] [stdout] | [INFO] [stdout] 700 | let mut c: *mut u16 = &mut (MEMORY.len() as u16 + reg[Register::RR0 as usize]); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "be7d76e5f92d1279a38e8dd90f1326933b12b062d9ad55990d497d996b1fa729", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be7d76e5f92d1279a38e8dd90f1326933b12b062d9ad55990d497d996b1fa729", kill_on_drop: false }` [INFO] [stdout] be7d76e5f92d1279a38e8dd90f1326933b12b062d9ad55990d497d996b1fa729