[INFO] cloning repository https://github.com/calculon102/xgifwallpaper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/calculon102/xgifwallpaper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalculon102%2Fxgifwallpaper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalculon102%2Fxgifwallpaper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 267a8adec47b2c0e391892b503145f1add858566 [INFO] testing calculon102/xgifwallpaper against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalculon102%2Fxgifwallpaper" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/calculon102/xgifwallpaper on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/calculon102/xgifwallpaper [INFO] finished tweaking git repo https://github.com/calculon102/xgifwallpaper [INFO] tweaked toml for git repo https://github.com/calculon102/xgifwallpaper written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/calculon102/xgifwallpaper already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aea5b94a7d810f6d98382d59ce369161e7a900952a98b45ca981221cefba5b7a [INFO] running `Command { std: "docker" "start" "-a" "aea5b94a7d810f6d98382d59ce369161e7a900952a98b45ca981221cefba5b7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aea5b94a7d810f6d98382d59ce369161e7a900952a98b45ca981221cefba5b7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aea5b94a7d810f6d98382d59ce369161e7a900952a98b45ca981221cefba5b7a", kill_on_drop: false }` [INFO] [stdout] aea5b94a7d810f6d98382d59ce369161e7a900952a98b45ca981221cefba5b7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e17c2338f5adad0b092c9c277d204aee76f2e525d452014698bfda13858b57a4 [INFO] running `Command { std: "docker" "start" "-a" "e17c2338f5adad0b092c9c277d204aee76f2e525d452014698bfda13858b57a4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling pix v0.13.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling xgifwallpaper v0.4.0-alpha (/opt/rustwide/workdir) [INFO] [stderr] Compiling rgb v0.8.25 [INFO] [stderr] Compiling resize v0.5.5 [INFO] [stderr] Compiling x11 v2.18.1 (https://github.com/baist0/x11-rs.git#611bc05a) [INFO] [stderr] Compiling gift v0.10.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling ctrlc v3.1.7 [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/xcontext.rs:189:46 [INFO] [stdout] | [INFO] [stdout] 189 | CString::new(color_str).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.98s [INFO] running `Command { std: "docker" "inspect" "e17c2338f5adad0b092c9c277d204aee76f2e525d452014698bfda13858b57a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e17c2338f5adad0b092c9c277d204aee76f2e525d452014698bfda13858b57a4", kill_on_drop: false }` [INFO] [stdout] e17c2338f5adad0b092c9c277d204aee76f2e525d452014698bfda13858b57a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f10a107f5e23140e1105d8d875d87e80a038e2b499af57aa928a076cccb0162 [INFO] running `Command { std: "docker" "start" "-a" "2f10a107f5e23140e1105d8d875d87e80a038e2b499af57aa928a076cccb0162", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling xgifwallpaper v0.4.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/xcontext.rs:189:46 [INFO] [stdout] | [INFO] [stdout] 189 | CString::new(color_str).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/xcontext.rs:189:46 [INFO] [stdout] | [INFO] [stdout] 189 | CString::new(color_str).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "2f10a107f5e23140e1105d8d875d87e80a038e2b499af57aa928a076cccb0162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f10a107f5e23140e1105d8d875d87e80a038e2b499af57aa928a076cccb0162", kill_on_drop: false }` [INFO] [stdout] 2f10a107f5e23140e1105d8d875d87e80a038e2b499af57aa928a076cccb0162 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 16e17370c84d82faf9476c4b97d65c3cd51d871797aacce70ca66ed031f6cb07 [INFO] running `Command { std: "docker" "start" "-a" "16e17370c84d82faf9476c4b97d65c3cd51d871797aacce70ca66ed031f6cb07", kill_on_drop: false }` [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/xcontext.rs:189:46 [INFO] [stderr] | [INFO] [stderr] 189 | CString::new(color_str).unwrap().as_ptr(), [INFO] [stderr] | -------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/xcontext.rs:189:46 [INFO] [stderr] | [INFO] [stderr] 189 | CString::new(color_str).unwrap().as_ptr(), [INFO] [stderr] | -------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/xgifwallpaper-2857ab9744e6ca83) [INFO] [stdout] running 37 tests [INFO] [stdout] test position::tests::when_image_1000x1000_screen_1080_1920_position_max_then_target_1080_1080 ... ok [INFO] [stdout] test position::tests::when_image_1000x1000_screen_1500_500_position_fill_then_target_1500_1500 ... ok [INFO] [stdout] test position::tests::when_image_1000x1000_screen_1500_500_position_max_then_target_500_500 ... ok [INFO] [stdout] test position::tests::when_image_1000x1000_screen_1920_1080_position_fill_then_target_1920_1920 ... ok [INFO] [stdout] test position::tests::when_image_1000x1000_screen_1920_1080_position_max_then_target_1080_1080 ... ok [INFO] [stdout] test position::tests::when_image_1000x1000_screen_500_1500_position_fill_then_target_1500_1500 ... ok [INFO] [stdout] test position::tests::when_image_1000x1000_screen_1080_1920_position_fill_then_target_1920_1920 ... ok [INFO] [stdout] test position::tests::when_image_1000x1080_screen_500_1500_position_max_then_target_500_500 ... ok [INFO] [stdout] test position::tests::when_image_1080x1920_screen_1000_1000_position_fill_then_target_1000_1777 ... ok [INFO] [stdout] test position::tests::when_image_1080x1920_screen_1000_1000_position_max_then_target_562_1000 ... ok [INFO] [stdout] test position::tests::when_image_1920x1080_screen_1000_1000_position_fill_then_target_1777_1000 ... ok [INFO] [stdout] test position::tests::when_image_1920x1080_screen_1000_1000_position_max_then_target_1000_562 ... ok [INFO] [stdout] test position::tests::when_image_1920x1080_screen_1920_1080_position_fill_then_target_1920_1080 ... ok [INFO] [stdout] test position::tests::when_image_1920x1080_screen_1920_1080_position_max_then_target_1920_1080 ... ok [INFO] [stdout] test position::tests::when_image_1x1_screen_3x3_then_center ... ok [INFO] [stdout] test position::tests::when_image_1x3_screen_3x3_then_center ... ok [INFO] [stdout] test position::tests::when_image_1x5_screen_3x3_then_center ... ok [INFO] [stdout] test options::tests::when_argument_default_delay_is_not_u16_then_use_default ... ok [INFO] [stdout] test position::tests::when_image_2x1_screen_2560_1440_position_fill_then_target_2560_2560 ... ok [INFO] [stdout] test position::tests::when_image_2x1_screen_2560_1440_position_max_then_target_2560_2560 ... ok [INFO] [stdout] test options::tests::when_argument_window_id_is_not_given_then_option_is_empty_string ... ok [INFO] [stdout] test options::tests::when_argument_scale_filter_is_pixel_then_match_enum ... ok [INFO] [stdout] test options::tests::when_argument_scale_is_fill_then_match_enum ... ok [INFO] [stdout] test options::tests::when_argument_default_delay_is_given_then_use_it ... ok [INFO] [stdout] test options::tests::when_argument_background_color_is_given_then_use_it ... ok [INFO] [stdout] test options::tests::when_argument_window_id_is_given_then_use_it ... ok [INFO] [stdout] test options::tests::when_argument_verbose_is_given_then_be_it ... ok [INFO] [stdout] test position::tests::when_image_3x1_screen_3x3_then_center ... ok [INFO] [stdout] test position::tests::when_image_3x3_screen_3x3_then_center ... ok [INFO] [stdout] test position::tests::when_image_5x1_screen_3x3_then_center ... ok [INFO] [stdout] test position::tests::when_image_5x5_screen_3x3_then_center ... ok [INFO] [stdout] test position::tests::when_position_is_center_then_target_resolutions_equals_image_resolution ... ok [INFO] [stdout] test options::tests::use_defaults_for_omitted_arguments ... ok [INFO] [stdout] test options::tests::when_argument_scale_is_none_then_match_enum ... ok [INFO] [stdout] test options::tests::when_argument_scale_filter_is_auto_then_match_enum ... ok [INFO] [stdout] test options::tests::when_argument_scale_is_max_then_match_enum ... ok [INFO] [stdout] test options::tests::use_argument_path_to_gif ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/xgifwallpaper-22ca81d7de0cdf17) [INFO] [stdout] [INFO] [stderr] Doc-tests xgifwallpaper [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/options.rs - options::Options::from_args (line 40) ... ok [INFO] [stdout] test src/macros.rs - log (line 20) ... ok [INFO] [stdout] test src/macros.rs - log (line 8) ... ok [INFO] [stdout] test src/macros.rs - logln (line 51) ... ok [INFO] [stdout] test src/options.rs - options::Options::_from_params (line 51) ... ok [INFO] [stdout] test src/macros.rs - logln (line 63) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.99s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "16e17370c84d82faf9476c4b97d65c3cd51d871797aacce70ca66ed031f6cb07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16e17370c84d82faf9476c4b97d65c3cd51d871797aacce70ca66ed031f6cb07", kill_on_drop: false }` [INFO] [stdout] 16e17370c84d82faf9476c4b97d65c3cd51d871797aacce70ca66ed031f6cb07