[INFO] cloning repository https://github.com/V1xel/forge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/V1xel/forge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FV1xel%2Fforge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FV1xel%2Fforge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 153443016ce2a7a56f054a26324a21595fcdd6e3 [INFO] testing V1xel/forge 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%2FV1xel%2Fforge" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/V1xel/forge 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/V1xel/forge [INFO] finished tweaking git repo https://github.com/V1xel/forge [INFO] tweaked toml for git repo https://github.com/V1xel/forge written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/V1xel/forge 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] [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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] a0d4272f4d79267d5ab446db094b86d1de533ba85d924e66f45a1797f74268c5 [INFO] running `Command { std: "docker" "start" "-a" "a0d4272f4d79267d5ab446db094b86d1de533ba85d924e66f45a1797f74268c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0d4272f4d79267d5ab446db094b86d1de533ba85d924e66f45a1797f74268c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0d4272f4d79267d5ab446db094b86d1de533ba85d924e66f45a1797f74268c5", kill_on_drop: false }` [INFO] [stdout] a0d4272f4d79267d5ab446db094b86d1de533ba85d924e66f45a1797f74268c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 1a42ec195346e9cf19781c0bd35cad3dd736ea102a1aa72c5890894c05b36487 [INFO] running `Command { std: "docker" "start" "-a" "1a42ec195346e9cf19781c0bd35cad3dd736ea102a1aa72c5890894c05b36487", 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] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling tobj v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling glfw-sys v3.3.4 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling glfw v0.41.0 (https://github.com/bjz/glfw-rs.git#563785d4) [INFO] [stderr] Compiling learn-opengl-rs v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected item, found `;` [INFO] [stdout] --> src/shader.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Shader{}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = help: braced struct declarations are not followed by a semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0449]: unnecessary visibility qualifier [INFO] [stdout] --> src/shader.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub impl Shader { [INFO] [stdout] | ^^^ `pub` not permitted here because it's implied [INFO] [stdout] | [INFO] [stdout] = note: place qualifiers on individual impl items instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/shader.rs:11:69 [INFO] [stdout] | [INFO] [stdout] 11 | gl::ShaderSource(vertexShader, 1, &c_str_vert.as_ptr(), ptr::null()); [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/shader.rs:20:57 [INFO] [stdout] | [INFO] [stdout] 20 | gl::GetShaderInfoLog(vertexShader, 512, ptr::null_mut(), infoLog.as_mut_ptr() as *mut GLchar); [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/shader.rs:27:71 [INFO] [stdout] | [INFO] [stdout] 27 | gl::ShaderSource(fragmentShader, 1, &c_str_frag.as_ptr(), ptr::null()); [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/shader.rs:32:59 [INFO] [stdout] | [INFO] [stdout] 32 | gl::GetShaderInfoLog(fragmentShader, 512, ptr::null_mut(), infoLog.as_mut_ptr() as *mut GLchar); [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/shader.rs:44:59 [INFO] [stdout] | [INFO] [stdout] 44 | gl::GetProgramInfoLog(shaderProgram, 512, ptr::null_mut(), infoLog.as_mut_ptr() as *mut GLchar); [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mem` [INFO] [stdout] --> src/shader.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | ... (vertices.len() * mem::size_of::()) as GLsizeiptr, [INFO] [stdout] | ^^^ use of undeclared crate or module `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mem` [INFO] [stdout] --> src/shader.rs:70:69 [INFO] [stdout] | [INFO] [stdout] 70 | gl::VertexAttribPointer(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::() as GLsizei, ptr::null()); [INFO] [stdout] | ^^^ use of undeclared crate or module `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/shader.rs:70:107 [INFO] [stdout] | [INFO] [stdout] 70 | gl::VertexAttribPointer(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::() as GLsizei, ptr::null()); [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CString` [INFO] [stdout] --> src/shader.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | let c_str_vert = CString::new(vertexShaderSource.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 | let c_str_vert = String::new(vertexShaderSource.as_bytes()).unwrap(); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::CString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vertexShaderSource` in this scope [INFO] [stdout] --> src/shader.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | let c_str_vert = CString::new(vertexShaderSource.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `vertexShader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLint` in this scope [INFO] [stdout] --> src/shader.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | let mut success = gl::FALSE as GLint; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLint` in this scope [INFO] [stdout] --> src/shader.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | if success != gl::TRUE as GLint { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLchar` in this scope [INFO] [stdout] --> src/shader.rs:20:103 [INFO] [stdout] | [INFO] [stdout] 20 | gl::GetShaderInfoLog(vertexShader, 512, ptr::null_mut(), infoLog.as_mut_ptr() as *mut GLchar); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 20 | gl::GetShaderInfoLog(vertexShader, 512, ptr::null_mut(), infoLog.as_mut_ptr() as *mut char); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLchar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CString` [INFO] [stdout] --> src/shader.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | let c_str_frag = CString::new(fragmentShaderSource.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 26 | let c_str_frag = String::new(fragmentShaderSource.as_bytes()).unwrap(); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::CString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fragmentShaderSource` in this scope [INFO] [stdout] --> src/shader.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | let c_str_frag = CString::new(fragmentShaderSource.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `fragmentShader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLint` in this scope [INFO] [stdout] --> src/shader.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | if success != gl::TRUE as GLint { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLchar` in this scope [INFO] [stdout] --> src/shader.rs:32:105 [INFO] [stdout] | [INFO] [stdout] 32 | gl::GetShaderInfoLog(fragmentShader, 512, ptr::null_mut(), infoLog.as_mut_ptr() as *mut GLchar); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 32 | gl::GetShaderInfoLog(fragmentShader, 512, ptr::null_mut(), infoLog.as_mut_ptr() as *mut char); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLchar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLint` in this scope [INFO] [stdout] --> src/shader.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | if success != gl::TRUE as GLint { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLchar` in this scope [INFO] [stdout] --> src/shader.rs:44:105 [INFO] [stdout] | [INFO] [stdout] 44 | gl::GetProgramInfoLog(shaderProgram, 512, ptr::null_mut(), infoLog.as_mut_ptr() as *mut GLchar); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 44 | gl::GetProgramInfoLog(shaderProgram, 512, ptr::null_mut(), infoLog.as_mut_ptr() as *mut char); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLchar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLfloat` in this scope [INFO] [stdout] --> src/shader.rs:66:61 [INFO] [stdout] | [INFO] [stdout] 66 | ... (vertices.len() * mem::size_of::()) as GLsizeiptr, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLfloat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLsizeiptr` in this scope [INFO] [stdout] --> src/shader.rs:66:76 [INFO] [stdout] | [INFO] [stdout] 66 | ... (vertices.len() * mem::size_of::()) as GLsizeiptr, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLsizeiptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/shader.rs:67:65 [INFO] [stdout] | [INFO] [stdout] 67 | ... &vertices[0] as *const f32 as *const c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLfloat` in this scope [INFO] [stdout] --> src/shader.rs:70:84 [INFO] [stdout] | [INFO] [stdout] 70 | gl::VertexAttribPointer(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::() as GLsizei, ptr::null()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLfloat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLsizei` in this scope [INFO] [stdout] --> src/shader.rs:70:98 [INFO] [stdout] | [INFO] [stdout] 70 | gl::VertexAttribPointer(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::() as GLsizei, ptr::null()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use gl::types::GLsizei; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_utf8` found for type `str` in the current scope [INFO] [stdout] --> src/shader.rs:21:80 [INFO] [stdout] | [INFO] [stdout] 21 | println!("ERROR::SHADER::VERTEX::COMPILATION_FAILED\n{}", str::from_utf8(&infoLog).unwrap()); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `str` [INFO] [stdout] | [INFO] [stdout] help: you are looking for the module in `std`, not the primitive type [INFO] [stdout] | [INFO] [stdout] 21 | println!("ERROR::SHADER::VERTEX::COMPILATION_FAILED\n{}", std::str::from_utf8(&infoLog).unwrap()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_utf8` found for type `str` in the current scope [INFO] [stdout] --> src/shader.rs:33:82 [INFO] [stdout] | [INFO] [stdout] 33 | println!("ERROR::SHADER::FRAGMENT::COMPILATION_FAILED\n{}", str::from_utf8(&infoLog).unwrap()); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `str` [INFO] [stdout] | [INFO] [stdout] help: you are looking for the module in `std`, not the primitive type [INFO] [stdout] | [INFO] [stdout] 33 | println!("ERROR::SHADER::FRAGMENT::COMPILATION_FAILED\n{}", std::str::from_utf8(&infoLog).unwrap()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_utf8` found for type `str` in the current scope [INFO] [stdout] --> src/shader.rs:45:81 [INFO] [stdout] | [INFO] [stdout] 45 | println!("ERROR::SHADER::PROGRAM::COMPILATION_FAILED\n{}", str::from_utf8(&infoLog).unwrap()); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `str` [INFO] [stdout] | [INFO] [stdout] help: you are looking for the module in `std`, not the primitive type [INFO] [stdout] | [INFO] [stdout] 45 | println!("ERROR::SHADER::PROGRAM::COMPILATION_FAILED\n{}", std::str::from_utf8(&infoLog).unwrap()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0449, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `learn-opengl-rs` due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "1a42ec195346e9cf19781c0bd35cad3dd736ea102a1aa72c5890894c05b36487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a42ec195346e9cf19781c0bd35cad3dd736ea102a1aa72c5890894c05b36487", kill_on_drop: false }` [INFO] [stdout] 1a42ec195346e9cf19781c0bd35cad3dd736ea102a1aa72c5890894c05b36487