[INFO] cloning repository https://github.com/DanielKrottendorfer/gl_shader_macro_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanielKrottendorfer/gl_shader_macro_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielKrottendorfer%2Fgl_shader_macro_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielKrottendorfer%2Fgl_shader_macro_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b61de9a8f1da0f489450cf6af83174af00bd2564 [INFO] testing DanielKrottendorfer/gl_shader_macro_test against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielKrottendorfer%2Fgl_shader_macro_test" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanielKrottendorfer/gl_shader_macro_test on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DanielKrottendorfer/gl_shader_macro_test [INFO] finished tweaking git repo https://github.com/DanielKrottendorfer/gl_shader_macro_test [INFO] tweaked toml for git repo https://github.com/DanielKrottendorfer/gl_shader_macro_test written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/DanielKrottendorfer/gl_shader_macro_test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cdf3ad597f9a7d4e18e968a8fdbde4cbaeb811b5d7770b50d56ce4710de15f4 [INFO] running `Command { std: "docker" "start" "-a" "3cdf3ad597f9a7d4e18e968a8fdbde4cbaeb811b5d7770b50d56ce4710de15f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cdf3ad597f9a7d4e18e968a8fdbde4cbaeb811b5d7770b50d56ce4710de15f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cdf3ad597f9a7d4e18e968a8fdbde4cbaeb811b5d7770b50d56ce4710de15f4", kill_on_drop: false }` [INFO] [stdout] 3cdf3ad597f9a7d4e18e968a8fdbde4cbaeb811b5d7770b50d56ce4710de15f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20144cea2c1ec58b567ffd2280a43f090465ca3c9aa1860830414c783422b4f9 [INFO] running `Command { std: "docker" "start" "-a" "20144cea2c1ec58b567ffd2280a43f090465ca3c9aa1860830414c783422b4f9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling procout v0.1.11 [INFO] [stderr] Compiling shader_macro v0.1.0 (https://github.com/DanielKrottendorfer/gl_shader_macro.git#79491208) [INFO] [stderr] Compiling shader_macro_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] #[derive(Debug)] pub struct Simple [INFO] [stdout] { pub program_id : u32, pub CNT : i32, pub MVP : i32, } impl Simple [INFO] [stdout] { [INFO] [stdout] pub fn new() -> Self { Simple { program_id : 0, CNT : - 1, MVP : - 1, } } [INFO] [stdout] pub fn use_program(& self) [INFO] [stdout] { unsafe { gl :: UseProgram(self.program_id) ; } } pub fn [INFO] [stdout] setup(& mut self, program : & u32) [INFO] [stdout] { [INFO] [stdout] self.program_id = program.clone() ; self.CNT = unsafe [INFO] [stdout] { [INFO] [stdout] gl :: [INFO] [stdout] GetUniformLocation(self.program_id, CString :: [INFO] [stdout] new("CNT").unwrap().as_ptr()) [INFO] [stdout] } ; if self.CNT < 0 [INFO] [stdout] { panic! ("error {} could not be located", "CNT") ; } self.MVP = [INFO] [stdout] unsafe [INFO] [stdout] { [INFO] [stdout] gl :: [INFO] [stdout] GetUniformLocation(self.program_id, CString :: [INFO] [stdout] new("MVP").unwrap().as_ptr()) [INFO] [stdout] } ; if self.MVP < 0 [INFO] [stdout] { panic! ("error {} could not be located", "MVP") ; } [INFO] [stdout] } pub fn set_CNT(& self, CNT : i32) [INFO] [stdout] { unsafe { gl :: Uniform1i(self.CNT, CNT) ; } } pub fn [INFO] [stdout] set_MVP(& self, MVP : Matrix4 < f32 >) [INFO] [stdout] { [INFO] [stdout] unsafe [INFO] [stdout] { [INFO] [stdout] gl :: [INFO] [stdout] UniformMatrix4fv(self.MVP, 1, gl :: FALSE, cgmath :: conv :: [INFO] [stdout] array4x4(MVP).as_ptr() as * const f32) ; [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.52s [INFO] running `Command { std: "docker" "inspect" "20144cea2c1ec58b567ffd2280a43f090465ca3c9aa1860830414c783422b4f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20144cea2c1ec58b567ffd2280a43f090465ca3c9aa1860830414c783422b4f9", kill_on_drop: false }` [INFO] [stdout] 20144cea2c1ec58b567ffd2280a43f090465ca3c9aa1860830414c783422b4f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 328046d293b61b38b9ae46085e6c75aaaca891bb092c6a770b9c6806e6ec8bdf [INFO] running `Command { std: "docker" "start" "-a" "328046d293b61b38b9ae46085e6c75aaaca891bb092c6a770b9c6806e6ec8bdf", kill_on_drop: false }` [INFO] [stderr] Compiling shader_macro_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] #[derive(Debug)] pub struct Simple [INFO] [stdout] { pub program_id : u32, pub CNT : i32, pub MVP : i32, } impl Simple [INFO] [stdout] { [INFO] [stdout] pub fn new() -> Self { Simple { program_id : 0, CNT : - 1, MVP : - 1, } } [INFO] [stdout] pub fn use_program(& self) [INFO] [stdout] { unsafe { gl :: UseProgram(self.program_id) ; } } pub fn [INFO] [stdout] setup(& mut self, program : & u32) [INFO] [stdout] { [INFO] [stdout] self.program_id = program.clone() ; self.CNT = unsafe [INFO] [stdout] { [INFO] [stdout] gl :: [INFO] [stdout] GetUniformLocation(self.program_id, CString :: [INFO] [stdout] new("CNT").unwrap().as_ptr()) [INFO] [stdout] } ; if self.CNT < 0 [INFO] [stdout] { panic! ("error {} could not be located", "CNT") ; } self.MVP = [INFO] [stdout] unsafe [INFO] [stdout] { [INFO] [stdout] gl :: [INFO] [stdout] GetUniformLocation(self.program_id, CString :: [INFO] [stdout] new("MVP").unwrap().as_ptr()) [INFO] [stdout] } ; if self.MVP < 0 [INFO] [stdout] { panic! ("error {} could not be located", "MVP") ; } [INFO] [stdout] } pub fn set_CNT(& self, CNT : i32) [INFO] [stdout] { unsafe { gl :: Uniform1i(self.CNT, CNT) ; } } pub fn [INFO] [stdout] set_MVP(& self, MVP : Matrix4 < f32 >) [INFO] [stdout] { [INFO] [stdout] unsafe [INFO] [stdout] { [INFO] [stdout] gl :: [INFO] [stdout] UniformMatrix4fv(self.MVP, 1, gl :: FALSE, cgmath :: conv :: [INFO] [stdout] array4x4(MVP).as_ptr() as * const f32) ; [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/shader_macro_test-94cb36b425ea7cef) [INFO] running `Command { std: "docker" "inspect" "328046d293b61b38b9ae46085e6c75aaaca891bb092c6a770b9c6806e6ec8bdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "328046d293b61b38b9ae46085e6c75aaaca891bb092c6a770b9c6806e6ec8bdf", kill_on_drop: false }` [INFO] [stdout] 328046d293b61b38b9ae46085e6c75aaaca891bb092c6a770b9c6806e6ec8bdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 413b66e8c1f4b255a61afafa980de87e853ee354ff95378f31590211a24cdd5b [INFO] running `Command { std: "docker" "start" "-a" "413b66e8c1f4b255a61afafa980de87e853ee354ff95378f31590211a24cdd5b", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shader_macro_test-94cb36b425ea7cef) [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "413b66e8c1f4b255a61afafa980de87e853ee354ff95378f31590211a24cdd5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "413b66e8c1f4b255a61afafa980de87e853ee354ff95378f31590211a24cdd5b", kill_on_drop: false }` [INFO] [stdout] 413b66e8c1f4b255a61afafa980de87e853ee354ff95378f31590211a24cdd5b