[INFO] updating cached repository https://github.com/noahbkim/bars [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5935628e791e1459f64314d3ab3f70e288b95f62 [INFO] checking noahbkim/bars against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoahbkim%2Fbars" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/noahbkim/bars on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/noahbkim/bars [INFO] finished tweaking git repo https://github.com/noahbkim/bars [INFO] tweaked toml for git repo https://github.com/noahbkim/bars written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/noahbkim/bars already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=allow" "-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-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c19d68c3d6353f8508e29843a8a3baefc44e5474de4db9d57c233a23ffc93662 [INFO] running `"docker" "start" "-a" "c19d68c3d6353f8508e29843a8a3baefc44e5474de4db9d57c233a23ffc93662"` [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling serde v1.0.73 [INFO] [stderr] Compiling libpulse-sys v1.3.0 [INFO] [stderr] Compiling phf_shared v0.7.22 [INFO] [stderr] Checking stb_truetype v0.2.2 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Checking piston2d-graphics v0.21.1 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking gfx_core v0.7.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.73 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling phf_generator v0.7.22 [INFO] [stderr] Compiling phf v0.7.22 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling gl_generator v0.7.0 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking rusttype v0.2.3 [INFO] [stderr] Compiling phf_codegen v0.7.22 [INFO] [stderr] Checking png v0.9.0 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Checking libpulse-binding v2.2.0 [INFO] [stderr] Checking image v0.15.0 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Compiling gfx_gl v0.4.0 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.9.10 [INFO] [stderr] Checking pistoncore-input v0.19.0 [INFO] [stderr] Checking wayland-client v0.9.10 [INFO] [stderr] Checking wayland-protocols v0.9.10 [INFO] [stderr] Checking wayland-kbd v0.9.1 [INFO] [stderr] Checking pistoncore-window v0.28.0 [INFO] [stderr] Checking wayland-window v0.7.0 [INFO] [stderr] Checking winit v0.7.6 [INFO] [stderr] Checking pistoncore-event_loop v0.33.0 [INFO] [stderr] Checking piston v0.33.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.39.1 [INFO] [stderr] Checking gfx v0.16.3 [INFO] [stderr] Checking gfx_device_gl v0.14.6 [INFO] [stderr] Checking piston-gfx_texture v0.26.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.43.0 [INFO] [stderr] Checking piston_window v0.70.0 [INFO] [stderr] Checking bars v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: format argument must be a string literal [INFO] [stderr] --> src/main.rs:96:27 [INFO] [stderr] | [INFO] [stderr] 96 | eprintln!(data); [INFO] [stderr] | ^^^^ [INFO] [stderr] help: you might be missing a string literal to format with [INFO] [stderr] | [INFO] [stderr] 96 | eprintln!("{}", data); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowSettings` [INFO] [stderr] --> src/main.rs:116:20 [INFO] [stderr] | [INFO] [stderr] 116 | let settings = WindowSettings::new("Bars", [640, 480]).exit_on_esc(true); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `WindowSettings` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Context` in crate `pulse` [INFO] [stderr] --> src/main.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | context: pulse::Context<'v>, [INFO] [stderr] | ^^^^^^^ not found in `pulse` [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 5 | use piston::Context; [INFO] [stderr] | [INFO] [stderr] 5 | use piston::context::Context; [INFO] [stderr] | [INFO] [stderr] 5 | use pulse::context::Context; [INFO] [stderr] | [INFO] [stderr] 5 | use std::task::Context; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Stream` in crate `pulse` [INFO] [stderr] --> src/main.rs:7:27 [INFO] [stderr] | [INFO] [stderr] 7 | stream: Option>, [INFO] [stderr] | ^^^^^^ not found in `pulse` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use pulse::stream::Stream; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PulseAudioMainloop` in crate `pulse` [INFO] [stderr] --> src/main.rs:15:37 [INFO] [stderr] | [INFO] [stderr] 15 | fn new(mainloop: &'v mut pulse::PulseAudioMainloop) -> Visualizer<'v> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in `pulse` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Vizualizer` in this scope [INFO] [stderr] --> src/main.rs:27:26 [INFO] [stderr] | [INFO] [stderr] 27 | let visualizer = Vizualizer { context, counter: 0 }; [INFO] [stderr] | ^^^^^^^^^^ help: a struct with a similar name exists: `Visualizer` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `mainloop` in this scope [INFO] [stderr] --> src/main.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 40 | match mainloop.iterate(false) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `context` in this scope [INFO] [stderr] --> src/main.rs:73:18 [INFO] [stderr] | [INFO] [stderr] 73 | &mut context, [INFO] [stderr] | ^^^^^^^ help: you might have meant to use the available field: `self.context` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `size_t` in this scope [INFO] [stderr] --> src/main.rs:88:65 [INFO] [stderr] | [INFO] [stderr] 88 | fn read(&mut self, mut stream: pulse::stream::Stream, size: size_t) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `clear` in this scope [INFO] [stderr] --> src/main.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | clear([0.0; 4], graphics); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use piston::clear; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `rectangle` in this scope [INFO] [stderr] --> src/main.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | rectangle([1.0, 0.0, 0.0, 1.0], [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use piston::rectangle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: format argument must be a string literal [INFO] [stderr] --> src/main.rs:96:27 [INFO] [stderr] | [INFO] [stderr] 96 | eprintln!(data); [INFO] [stderr] | ^^^^ [INFO] [stderr] help: you might be missing a string literal to format with [INFO] [stderr] | [INFO] [stderr] 96 | eprintln!("{}", data); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowSettings` [INFO] [stderr] --> src/main.rs:116:20 [INFO] [stderr] | [INFO] [stderr] 116 | let settings = WindowSettings::new("Bars", [640, 480]).exit_on_esc(true); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `WindowSettings` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Context` in crate `pulse` [INFO] [stderr] --> src/main.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | context: pulse::Context<'v>, [INFO] [stderr] | ^^^^^^^ not found in `pulse` [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 5 | use piston::Context; [INFO] [stderr] | [INFO] [stderr] 5 | use piston::context::Context; [INFO] [stderr] | [INFO] [stderr] 5 | use pulse::context::Context; [INFO] [stderr] | [INFO] [stderr] 5 | use std::task::Context; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Stream` in crate `pulse` [INFO] [stderr] --> src/main.rs:7:27 [INFO] [stderr] | [INFO] [stderr] 7 | stream: Option>, [INFO] [stderr] | ^^^^^^ not found in `pulse` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use pulse::stream::Stream; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PulseAudioMainloop` in crate `pulse` [INFO] [stderr] --> src/main.rs:15:37 [INFO] [stderr] | [INFO] [stderr] 15 | fn new(mainloop: &'v mut pulse::PulseAudioMainloop) -> Visualizer<'v> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in `pulse` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Vizualizer` in this scope [INFO] [stderr] --> src/main.rs:27:26 [INFO] [stderr] | [INFO] [stderr] 27 | let visualizer = Vizualizer { context, counter: 0 }; [INFO] [stderr] | ^^^^^^^^^^ help: a struct with a similar name exists: `Visualizer` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `mainloop` in this scope [INFO] [stderr] --> src/main.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 40 | match mainloop.iterate(false) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `context` in this scope [INFO] [stderr] --> src/main.rs:73:18 [INFO] [stderr] | [INFO] [stderr] 73 | &mut context, [INFO] [stderr] | ^^^^^^^ help: you might have meant to use the available field: `self.context` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `size_t` in this scope [INFO] [stderr] --> src/main.rs:88:65 [INFO] [stderr] | [INFO] [stderr] 88 | fn read(&mut self, mut stream: pulse::stream::Stream, size: size_t) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `clear` in this scope [INFO] [stderr] --> src/main.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | clear([0.0; 4], graphics); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use piston::clear; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `rectangle` in this scope [INFO] [stderr] --> src/main.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | rectangle([1.0, 0.0, 0.0, 1.0], [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use piston::rectangle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:79:34 [INFO] [stderr] | [INFO] [stderr] 79 | stream.set_read_callback(move |stream, size| { [INFO] [stderr] | __________________________________^ [INFO] [stderr] 80 | | self.read(stream, size); [INFO] [stderr] 81 | | }); [INFO] [stderr] | |_________^ expected enum `std::option::Option`, found closure [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option>` [INFO] [stderr] found type `[closure@src/main.rs:79:34: 81:10 self:_]` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:79:34 [INFO] [stderr] | [INFO] [stderr] 79 | stream.set_read_callback(move |stream, size| { [INFO] [stderr] | __________________________________^ [INFO] [stderr] 80 | | self.read(stream, size); [INFO] [stderr] 81 | | }); [INFO] [stderr] | |_________^ expected enum `std::option::Option`, found closure [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option>` [INFO] [stderr] found type `[closure@src/main.rs:79:34: 81:10 self:_]` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:82:43 [INFO] [stderr] | [INFO] [stderr] 82 | stream.connect_record(None, None, None); [INFO] [stderr] | ^^^^ expected u32, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u32` [INFO] [stderr] found type `std::option::Option<_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:90:16 [INFO] [stderr] | [INFO] [stderr] 90 | if Some(stream) = self.stream { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected bool, found () [INFO] [stderr] | help: try comparing for equality: `Some(stream) == self.stream` [INFO] [stderr] | [INFO] [stderr] = note: expected type `bool` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0422, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `bars`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:82:43 [INFO] [stderr] | [INFO] [stderr] 82 | stream.connect_record(None, None, None); [INFO] [stderr] | ^^^^ expected u32, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u32` [INFO] [stderr] found type `std::option::Option<_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:90:16 [INFO] [stderr] | [INFO] [stderr] 90 | if Some(stream) = self.stream { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected bool, found () [INFO] [stderr] | help: try comparing for equality: `Some(stream) == self.stream` [INFO] [stderr] | [INFO] [stderr] = note: expected type `bool` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0422, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `bars`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c19d68c3d6353f8508e29843a8a3baefc44e5474de4db9d57c233a23ffc93662"` [INFO] running `"docker" "rm" "-f" "c19d68c3d6353f8508e29843a8a3baefc44e5474de4db9d57c233a23ffc93662"` [INFO] [stdout] c19d68c3d6353f8508e29843a8a3baefc44e5474de4db9d57c233a23ffc93662