[INFO] cloning repository https://github.com/slmjkdbtl/glslview [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/slmjkdbtl/glslview" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslmjkdbtl%2Fglslview"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslmjkdbtl%2Fglslview'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 77908c16d7ad03f50003b48304ec76483487a162 [INFO] testing slmjkdbtl/glslview against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslmjkdbtl%2Fglslview" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/slmjkdbtl/glslview on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/slmjkdbtl/glslview [INFO] removed path dependency dirty from git repo https://github.com/slmjkdbtl/glslview [INFO] finished tweaking git repo https://github.com/slmjkdbtl/glslview [INFO] tweaked toml for git repo https://github.com/slmjkdbtl/glslview written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/slmjkdbtl/glslview already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (dirty) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (dirty) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1f4b8c7409c3cdad057287204c64758c93666a9efdeeb2bf658c7ea42c46ad43 [INFO] running `"docker" "start" "-a" "1f4b8c7409c3cdad057287204c64758c93666a9efdeeb2bf658c7ea42c46ad43"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: dependency (dirty) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling dirty v0.2.0 [INFO] [stderr] Compiling glslview v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `math` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use math::*; [INFO] [stderr] | ^^^^ use of undeclared type or module `math` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `gfx` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use gfx::*; [INFO] [stderr] | ^^^ use of undeclared type or module `gfx` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `input` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use input::Key; [INFO] [stderr] | ^^^^^ use of undeclared type or module `input` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `input` [INFO] [stderr] --> src/main.rs:199:7 [INFO] [stderr] | [INFO] [stderr] 199 | use input::Event::*; [INFO] [stderr] | ^^^^^ use of undeclared type or module `input` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `term`, `input::Event::*` [INFO] [stderr] --> src/main.rs:112:7 [INFO] [stderr] | [INFO] [stderr] 112 | use term::style as s; [INFO] [stderr] | ^^^^ use of undeclared type or module `term` [INFO] [stderr] ... [INFO] [stderr] 199 | use input::Event::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `hmap` in this scope [INFO] [stderr] --> src/main.rs:100:10 [INFO] [stderr] | [INFO] [stderr] 100 | return hmap![ [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `vecd` in this scope [INFO] [stderr] --> src/main.rs:181:9 [INFO] [stderr] | [INFO] [stderr] 181 | log: vecd![], [INFO] [stderr] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `vec2` in this scope [INFO] [stderr] --> src/main.rs:245:17 [INFO] [stderr] | [INFO] [stderr] 245 | resolution: vec2!(d.gfx.width(), d.gfx.height()) * d.gfx.dpi(), [INFO] [stderr] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `vec2` in this scope [INFO] [stderr] --> src/main.rs:246:35 [INFO] [stderr] | [INFO] [stderr] 246 | mouse: d.window.mouse_pos() / vec2!(d.gfx.width(), d.gfx.height()), [INFO] [stderr] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `mat4` in this scope [INFO] [stderr] --> src/main.rs:259:5 [INFO] [stderr] | [INFO] [stderr] 259 | mat4!() [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `vec2` in this scope [INFO] [stderr] --> src/main.rs:260:41 [INFO] [stderr] | [INFO] [stderr] 260 | .t2(d.gfx.coord(Origin::TopLeft) + vec2!(24, -24)) [INFO] [stderr] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `rgba` in this scope [INFO] [stderr] --> src/main.rs:281:26 [INFO] [stderr] | [INFO] [stderr] 281 | MsgType::Success => rgba!(0, 1, 0, to), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `rgba` in this scope [INFO] [stderr] --> src/main.rs:282:26 [INFO] [stderr] | [INFO] [stderr] 282 | MsgType::Failure => rgba!(1, 0, 0, bo), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `vec2` in this scope [INFO] [stderr] --> src/main.rs:298:49 [INFO] [stderr] | [INFO] [stderr] 298 | let pos = d.gfx.coord(Origin::BottomLeft) + vec2!(0, y); [INFO] [stderr] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `vec2` in this scope [INFO] [stderr] --> src/main.rs:301:31 [INFO] [stderr] | [INFO] [stderr] 301 | &shapes::rect(pos, pos + vec2!(width, th)) [INFO] [stderr] | ^^^^ help: a macro with a similar name exists: `vec` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `rgba` in this scope [INFO] [stderr] --> src/main.rs:302:13 [INFO] [stderr] | [INFO] [stderr] 302 | .fill(rgba!(0, 0, 0, bo)) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `mat4` in this scope [INFO] [stderr] --> src/main.rs:306:6 [INFO] [stderr] | [INFO] [stderr] 306 | mat4!() [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `elog` in this scope [INFO] [stderr] --> src/main.rs:327:3 [INFO] [stderr] | [INFO] [stderr] 327 | elog!("{}", err); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `fs` [INFO] [stderr] --> src/main.rs:135:23 [INFO] [stderr] | [INFO] [stderr] 135 | let content = match fs::read_str(path) { [INFO] [stderr] | ^^ use of undeclared type or module `fs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Shader` [INFO] [stderr] --> src/main.rs:143:9 [INFO] [stderr] | [INFO] [stderr] 143 | match Shader::from_frag(d.gfx, &content) { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Shader` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `window` [INFO] [stderr] --> src/main.rs:176:23 [INFO] [stderr] | [INFO] [stderr] 176 | d.window.set_cursor(window::CursorIcon::Cross); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `window` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `fs` [INFO] [stderr] --> src/main.rs:188:7 [INFO] [stderr] | [INFO] [stderr] 188 | if fs::exists(path) { [INFO] [stderr] | ^^ use of undeclared type or module `fs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `input` [INFO] [stderr] --> src/main.rs:197:39 [INFO] [stderr] | [INFO] [stderr] 197 | fn event(&mut self, d: &mut Ctx, e: &input::Event) -> Result<()> { [INFO] [stderr] | ^^^^^ use of undeclared type or module `input` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `shapes` [INFO] [stderr] --> src/main.rs:250:7 [INFO] [stderr] | [INFO] [stderr] 250 | &shapes::uvrect( [INFO] [stderr] | ^^^^^^ use of undeclared type or module `shapes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Origin` [INFO] [stderr] --> src/main.rs:251:17 [INFO] [stderr] | [INFO] [stderr] 251 | gfx.coord(Origin::TopLeft), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Origin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Origin` [INFO] [stderr] --> src/main.rs:252:17 [INFO] [stderr] | [INFO] [stderr] 252 | gfx.coord(Origin::BottomRight), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Origin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Origin` [INFO] [stderr] --> src/main.rs:260:22 [INFO] [stderr] | [INFO] [stderr] 260 | .t2(d.gfx.coord(Origin::TopLeft) + vec2!(24, -24)) [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Origin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `shapes` [INFO] [stderr] --> src/main.rs:262:6 [INFO] [stderr] | [INFO] [stderr] 262 | &shapes::text("drop fragment shader files into this window") [INFO] [stderr] | ^^^^^^ use of undeclared type or module `shapes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Origin` [INFO] [stderr] --> src/main.rs:264:13 [INFO] [stderr] | [INFO] [stderr] 264 | .align(Origin::TopLeft) [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Origin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `shapes` [INFO] [stderr] --> src/main.rs:288:16 [INFO] [stderr] | [INFO] [stderr] 288 | let text = shapes::text(&msg.content) [INFO] [stderr] | ^^^^^^ use of undeclared type or module `shapes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Origin` [INFO] [stderr] --> src/main.rs:289:13 [INFO] [stderr] | [INFO] [stderr] 289 | .align(Origin::BottomLeft) [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Origin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `shapes` [INFO] [stderr] --> src/main.rs:291:12 [INFO] [stderr] | [INFO] [stderr] 291 | .wrap(shapes::TextWrap { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `shapes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `shapes` [INFO] [stderr] --> src/main.rs:293:19 [INFO] [stderr] | [INFO] [stderr] 293 | break_type: shapes::TextWrapBreak::Word, [INFO] [stderr] | ^^^^^^ use of undeclared type or module `shapes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Origin` [INFO] [stderr] --> src/main.rs:298:27 [INFO] [stderr] | [INFO] [stderr] 298 | let pos = d.gfx.coord(Origin::BottomLeft) + vec2!(0, y); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Origin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `shapes` [INFO] [stderr] --> src/main.rs:301:7 [INFO] [stderr] | [INFO] [stderr] 301 | &shapes::rect(pos, pos + vec2!(width, th)) [INFO] [stderr] | ^^^^^^ use of undeclared type or module `shapes` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Shader` in this scope [INFO] [stderr] --> src/main.rs:86:17 [INFO] [stderr] | [INFO] [stderr] 84 | struct Viewer { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 85 | file: Option, [INFO] [stderr] 86 | shader: Option>, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stderr] --> src/main.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | resolution: Vec2, [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stderr] --> src/main.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | mouse: Vec2, [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `CustomUniform` in this scope [INFO] [stderr] --> src/main.rs:98:6 [INFO] [stderr] | [INFO] [stderr] 98 | impl CustomUniform for GeneralUniform { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UniformValues` in this scope [INFO] [stderr] --> src/main.rs:99:22 [INFO] [stderr] | [INFO] [stderr] 99 | fn values(&self) -> UniformValues { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ctx` in this scope [INFO] [stderr] --> src/main.rs:128:32 [INFO] [stderr] | [INFO] [stderr] 128 | fn refresh(&mut self, d: &mut Ctx) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ctx` in this scope [INFO] [stderr] --> src/main.rs:163:29 [INFO] [stderr] | [INFO] [stderr] 163 | fn open(&mut self, d: &mut Ctx, path: impl AsRef) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `State` in this scope [INFO] [stderr] --> src/main.rs:172:6 [INFO] [stderr] | [INFO] [stderr] 172 | impl State for Viewer { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ctx` in this scope [INFO] [stderr] --> src/main.rs:174:18 [INFO] [stderr] | [INFO] [stderr] 174 | fn init(d: &mut Ctx) -> Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ctx` in this scope [INFO] [stderr] --> src/main.rs:197:30 [INFO] [stderr] | [INFO] [stderr] 197 | fn event(&mut self, d: &mut Ctx, e: &input::Event) -> Result<()> { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `FileDrop` in this scope [INFO] [stderr] --> src/main.rs:203:4 [INFO] [stderr] | [INFO] [stderr] 203 | FileDrop(path) => self.open(d, path), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `KeyPress` in this scope [INFO] [stderr] --> src/main.rs:205:4 [INFO] [stderr] | [INFO] [stderr] 205 | KeyPress(k) => { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ctx` in this scope [INFO] [stderr] --> src/main.rs:229:31 [INFO] [stderr] | [INFO] [stderr] 229 | fn update(&mut self, d: &mut Ctx) -> Result<()> { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ctx` in this scope [INFO] [stderr] --> src/main.rs:241:29 [INFO] [stderr] | [INFO] [stderr] 241 | fn draw(&mut self, d: &mut Ctx) -> Result<()> { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `launcher` in this scope [INFO] [stderr] --> src/main.rs:324:20 [INFO] [stderr] | [INFO] [stderr] 324 | if let Err(err) = launcher() [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `dirty::*` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use dirty::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 50 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0531. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `glslview`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1f4b8c7409c3cdad057287204c64758c93666a9efdeeb2bf658c7ea42c46ad43"` [INFO] running `"docker" "rm" "-f" "1f4b8c7409c3cdad057287204c64758c93666a9efdeeb2bf658c7ea42c46ad43"` [INFO] [stdout] 1f4b8c7409c3cdad057287204c64758c93666a9efdeeb2bf658c7ea42c46ad43