[INFO] updating cached repository https://github.com/allthemusicllc/libatm [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] 237b635b70eb341f1d9e0ec0eb6116ecbd1790ab [INFO] testing allthemusicllc/libatm against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallthemusicllc%2Flibatm" "work/builds/worker-9/source"` [INFO] [stderr] Cloning into 'work/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/allthemusicllc/libatm on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/allthemusicllc/libatm [INFO] finished tweaking git repo https://github.com/allthemusicllc/libatm [INFO] tweaked toml for git repo https://github.com/allthemusicllc/libatm written to work/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/allthemusicllc/libatm already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "+1.38.0" "build" "--frozen"` [INFO] [stdout] f41211e98c28b6afe800348d6db00b020178f17133976d20f1b5b4ab961c3c52 [INFO] running `"docker" "start" "-a" "f41211e98c28b6afe800348d6db00b020178f17133976d20f1b5b4ab961c3c52"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libatm v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.12s [INFO] running `"docker" "inspect" "f41211e98c28b6afe800348d6db00b020178f17133976d20f1b5b4ab961c3c52"` [INFO] running `"docker" "rm" "-f" "f41211e98c28b6afe800348d6db00b020178f17133976d20f1b5b4ab961c3c52"` [INFO] [stdout] f41211e98c28b6afe800348d6db00b020178f17133976d20f1b5b4ab961c3c52 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "+1.38.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 4e058b4e3ef058f328fcdf7f5cf5672b06eaaab2b5660b02defec1a44eaaf830 [INFO] running `"docker" "start" "-a" "4e058b4e3ef058f328fcdf7f5cf5672b06eaaab2b5660b02defec1a44eaaf830"` [INFO] [stderr] Compiling libatm v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `"docker" "inspect" "4e058b4e3ef058f328fcdf7f5cf5672b06eaaab2b5660b02defec1a44eaaf830"` [INFO] running `"docker" "rm" "-f" "4e058b4e3ef058f328fcdf7f5cf5672b06eaaab2b5660b02defec1a44eaaf830"` [INFO] [stdout] 4e058b4e3ef058f328fcdf7f5cf5672b06eaaab2b5660b02defec1a44eaaf830 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "+1.38.0" "test" "--frozen"` [INFO] [stdout] 6f6fb89d999936f5e49f3f3eb6b2714f7128a10f8a191f9c485e69d0eaf26e3b [INFO] running `"docker" "start" "-a" "6f6fb89d999936f5e49f3f3eb6b2714f7128a10f8a191f9c485e69d0eaf26e3b"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/libatm-7b6ca49cb9211353 [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::test_midievent_noteon ... ok [INFO] [stdout] test tests::test_midinote_fromstr ... ok [INFO] [stdout] test tests::test_midievent_runningstatus ... ok [INFO] [stdout] test tests::test_midinotesequence_fromstr ... ok [INFO] [stdout] test tests::test_midinote_convert ... ok [INFO] [stdout] test tests::test_midifile_size ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests libatm [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - MIDINote::new (line 131) ... FAILED [INFO] [stdout] test src/lib.rs - MIDIChannelVoiceMessage::write_buffer (line 278) ... FAILED [INFO] [stdout] test src/lib.rs - MIDIFile::new (line 416) ... FAILED [INFO] [stdout] test src/lib.rs - MIDINoteSequence (line 170) ... FAILED [INFO] [stdout] test src/lib.rs - MIDIChannelVoiceMessage::new (line 234) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - MIDINote::new (line 131) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDINote` [INFO] [stdout] --> src/lib.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 4 | let note = MIDINote::new(MIDINoteType::C, 4); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `MIDINote` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDINoteType` [INFO] [stdout] --> src/lib.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 4 | let note = MIDINote::new(MIDINoteType::C, 4); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `MIDINoteType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MIDIChannelVoiceMessage::write_buffer (line 278) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDINoteType` [INFO] [stdout] --> src/lib.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 8 | let note = MIDINote(MIDINoteType::C, 4); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `MIDINoteType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDIChannelVoiceMessage` [INFO] [stdout] --> src/lib.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 10 | let note_on_event = MIDIChannelVoiceMessage::new(0, ¬e, 0x64, MIDIStatus::NoteOn, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `MIDIChannelVoiceMessage` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDIStatus` [INFO] [stdout] --> src/lib.rs:286:66 [INFO] [stdout] | [INFO] [stdout] 10 | let note_on_event = MIDIChannelVoiceMessage::new(0, ¬e, 0x64, MIDIStatus::NoteOn, 0); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `MIDIStatus` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDIChannelVoiceMessage` [INFO] [stdout] --> src/lib.rs:287:22 [INFO] [stdout] | [INFO] [stdout] 11 | let note_off_event = MIDIChannelVoiceMessage::new(5, ¬e, 0, MIDIStatus::RunningStatus, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `MIDIChannelVoiceMessage` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDIStatus` [INFO] [stdout] --> src/lib.rs:287:64 [INFO] [stdout] | [INFO] [stdout] 11 | let note_off_event = MIDIChannelVoiceMessage::new(5, ¬e, 0, MIDIStatus::RunningStatus, 0); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `MIDIStatus` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `MIDINote` in this scope [INFO] [stdout] --> src/lib.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 8 | let note = MIDINote(MIDINoteType::C, 4); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MIDIFile::new (line 416) stdout ---- [INFO] [stdout] error: expected identifier, found `0` [INFO] [stdout] --> src/lib.rs:424:17 [INFO] [stdout] | [INFO] [stdout] 10 | MIDIFormat::0, [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MIDINoteSequence (line 170) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDINoteSequence` [INFO] [stdout] --> src/lib.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(sequence, MIDINoteSequence::new(vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `MIDINoteSequence` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDINote` [INFO] [stdout] --> src/lib.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 5 | MIDINote::new(MIDINote::C, 4), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `MIDINote` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDINote` [INFO] [stdout] --> src/lib.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 5 | MIDINote::new(MIDINote::C, 4), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `MIDINote` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDINote` [INFO] [stdout] --> src/lib.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 6 | MIDINote::new(MIDINote::D, 5), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `MIDINote` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDINote` [INFO] [stdout] --> src/lib.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 6 | MIDINote::new(MIDINote::D, 5), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `MIDINote` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDINote` [INFO] [stdout] --> src/lib.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 7 | MIDINote::new(MIDINote::CSharp, 8), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `MIDINote` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDINote` [INFO] [stdout] --> src/lib.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 7 | MIDINote::new(MIDINote::CSharp, 8), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `MIDINote` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDINote` [INFO] [stdout] --> src/lib.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 8 | MIDINote::new(MIDINote::DSharp, 3), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `MIDINote` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDINote` [INFO] [stdout] --> src/lib.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 8 | MIDINote::new(MIDINote::DSharp, 3), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `MIDINote` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MIDINoteSequence` in this scope [INFO] [stdout] --> src/lib.rs:171:52 [INFO] [stdout] | [INFO] [stdout] 3 | let sequence = "C:4,D:5,CSharp:8,DSharp:3".parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use libatm::MIDINoteSequence; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MIDIChannelVoiceMessage::new (line 234) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDINoteType` [INFO] [stdout] --> src/lib.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 5 | let note = MIDINote(MIDINoteType::C, 4); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `MIDINoteType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDIChannelVoiceMessage` [INFO] [stdout] --> src/lib.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 6 | let note_on_event = MIDIChannelVoiceMessage::new(0, ¬e, 0x64, MIDIStatus::NoteOn, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `MIDIChannelVoiceMessage` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDIStatus` [INFO] [stdout] --> src/lib.rs:238:66 [INFO] [stdout] | [INFO] [stdout] 6 | let note_on_event = MIDIChannelVoiceMessage::new(0, ¬e, 0x64, MIDIStatus::NoteOn, 0); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `MIDIStatus` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDIChannelVoiceMessage` [INFO] [stdout] --> src/lib.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 7 | let note_off_event = MIDIChannelVoiceMessage::new(5, ¬e, 0, MIDIStatus::RunningStatus, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `MIDIChannelVoiceMessage` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MIDIStatus` [INFO] [stdout] --> src/lib.rs:239:64 [INFO] [stdout] | [INFO] [stdout] 7 | let note_off_event = MIDIChannelVoiceMessage::new(5, ¬e, 0, MIDIStatus::RunningStatus, 0); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `MIDIStatus` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `MIDINote` in this scope [INFO] [stdout] --> src/lib.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 5 | let note = MIDINote(MIDINoteType::C, 4); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - MIDIChannelVoiceMessage::new (line 234) [INFO] [stdout] src/lib.rs - MIDIChannelVoiceMessage::write_buffer (line 278) [INFO] [stdout] src/lib.rs - MIDIFile::new (line 416) [INFO] [stdout] src/lib.rs - MIDINote::new (line 131) [INFO] [stdout] src/lib.rs - MIDINoteSequence (line 170) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "6f6fb89d999936f5e49f3f3eb6b2714f7128a10f8a191f9c485e69d0eaf26e3b"` [INFO] running `"docker" "rm" "-f" "6f6fb89d999936f5e49f3f3eb6b2714f7128a10f8a191f9c485e69d0eaf26e3b"` [INFO] [stdout] 6f6fb89d999936f5e49f3f3eb6b2714f7128a10f8a191f9c485e69d0eaf26e3b