[INFO] updating cached repository noahbkim/bars [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/noahbkim/bars [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/noahbkim/bars" "work/ex/beta-1.38-1/sources/1.37.0/gh/noahbkim/bars"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/noahbkim/bars'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/noahbkim/bars" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/noahbkim/bars"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/noahbkim/bars'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5935628e791e1459f64314d3ab3f70e288b95f62 [INFO] sha for GitHub repo noahbkim/bars: 5935628e791e1459f64314d3ab3f70e288b95f62 [INFO] validating manifest of noahbkim/bars on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of noahbkim/bars on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing noahbkim/bars [INFO] finished frobbing noahbkim/bars [INFO] frobbed toml for noahbkim/bars written to work/ex/beta-1.38-1/sources/1.37.0/gh/noahbkim/bars/Cargo.toml [INFO] started frobbing noahbkim/bars [INFO] finished frobbing noahbkim/bars [INFO] frobbed toml for noahbkim/bars written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/noahbkim/bars/Cargo.toml [INFO] crate noahbkim/bars already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing noahbkim/bars against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/noahbkim/bars:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 0752c70c632e65923c4fc6b2ab47689eafb3f5a2ad482e0ebed3d33ed0dad2cc [INFO] running `"docker" "start" "-a" "0752c70c632e65923c4fc6b2ab47689eafb3f5a2ad482e0ebed3d33ed0dad2cc"` [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] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling stb_truetype v0.2.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling piston2d-graphics v0.21.1 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling num-integer v0.1.39 [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 enum_primitive v0.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling gl_generator v0.7.0 [INFO] [stderr] Compiling gfx_core v0.7.2 [INFO] [stderr] Compiling phf_codegen v0.7.22 [INFO] [stderr] Compiling rusttype v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.73 [INFO] [stderr] warning[E0311]: the parameter type `K` may not live long enough [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusttype-0.2.3/src/support/bst/map.rs:81:19 [INFO] [stderr] | [INFO] [stderr] 81 | match node.force() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider adding an explicit lifetime bound for `K` [INFO] [stderr] note: the parameter type `K` must be valid for the anonymous lifetime #1 defined on the function body at 77:9... [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusttype-0.2.3/src/support/bst/map.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | / fn clone_subtree( [INFO] [stderr] 78 | | node: node::NodeRef) [INFO] [stderr] 79 | | -> BTreeMap { [INFO] [stderr] 80 | | [INFO] [stderr] ... | [INFO] [stderr] 136| | } [INFO] [stderr] 137| | } [INFO] [stderr] | |_________^ [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] warning[E0311]: the parameter type `V` may not live long enough [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusttype-0.2.3/src/support/bst/map.rs:81:19 [INFO] [stderr] | [INFO] [stderr] 81 | match node.force() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider adding an explicit lifetime bound for `V` [INFO] [stderr] note: the parameter type `V` must be valid for the anonymous lifetime #1 defined on the function body at 77:9... [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusttype-0.2.3/src/support/bst/map.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | / fn clone_subtree( [INFO] [stderr] 78 | | node: node::NodeRef) [INFO] [stderr] 79 | | -> BTreeMap { [INFO] [stderr] 80 | | [INFO] [stderr] ... | [INFO] [stderr] 136| | } [INFO] [stderr] 137| | } [INFO] [stderr] | |_________^ [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling libpulse-binding v2.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling gfx_gl v0.4.0 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Compiling png v0.9.0 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling image v0.15.0 [INFO] [stderr] Compiling pistoncore-input v0.19.0 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.9.10 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling pistoncore-window v0.28.0 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Compiling wayland-kbd v0.9.1 [INFO] [stderr] Compiling pistoncore-event_loop v0.33.0 [INFO] [stderr] Compiling piston v0.33.0 [INFO] [stderr] Compiling wayland-window v0.7.0 [INFO] [stderr] Compiling winit v0.7.6 [INFO] [stderr] Compiling gfx v0.16.3 [INFO] [stderr] Compiling gfx_device_gl v0.14.6 [INFO] [stderr] Compiling pistoncore-glutin_window v0.39.1 [INFO] [stderr] Compiling piston-gfx_texture v0.26.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.43.0 [INFO] [stderr] Compiling piston_window v0.70.0 [INFO] [stderr] Compiling bars v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | /** Connect the context. */ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 36 | self.context.connect(None, pulse::context::flags::NOFLAGS, None).unwrap(); [INFO] [stderr] | ------------------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_doc_comments)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | /** Wait for the mainloop and context to be ready. */ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 39 | / loop { [INFO] [stderr] 40 | | match mainloop.iterate(false) { [INFO] [stderr] 41 | | pulse::mainloop::standard::IterateResult::Quit(_) | [INFO] [stderr] 42 | | pulse::mainloop::standard::IterateResult::Err(_) => { [INFO] [stderr] ... | [INFO] [stderr] 56 | | } [INFO] [stderr] 57 | | } [INFO] [stderr] | |_________- rustdoc does not generate documentation for expressions [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | /** Create the stream specification. */ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 65 | / let spec = pulse::sample::Spec { [INFO] [stderr] 66 | | format: pulse::sample::SAMPLE_S16NE, [INFO] [stderr] 67 | | channels: 2, [INFO] [stderr] 68 | | rate: 44100, [INFO] [stderr] 69 | | }; [INFO] [stderr] | |__________- rustdoc does not generate documentation for statements [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | /** Create the stream handle. */ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 72 | / let mut stream = pulse::stream::Stream::new( [INFO] [stderr] 73 | | &mut context, [INFO] [stderr] 74 | | "Bars", [INFO] [stderr] 75 | | &spec, [INFO] [stderr] 76 | | None).unwrap(); [INFO] [stderr] | |___________________________- rustdoc does not generate documentation for statements [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | /** Record. */ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 79 | / stream.set_read_callback(move |stream, size| { [INFO] [stderr] 80 | | self.read(stream, size); [INFO] [stderr] 81 | | }); [INFO] [stderr] | |__________- rustdoc does not generate documentation for expressions [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 module `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 module `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 module `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: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" "0752c70c632e65923c4fc6b2ab47689eafb3f5a2ad482e0ebed3d33ed0dad2cc"` [INFO] running `"docker" "rm" "-f" "0752c70c632e65923c4fc6b2ab47689eafb3f5a2ad482e0ebed3d33ed0dad2cc"` [INFO] [stdout] 0752c70c632e65923c4fc6b2ab47689eafb3f5a2ad482e0ebed3d33ed0dad2cc