[INFO] updating cached repository https://github.com/lbeckman314/mdbook-latex
[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] e59a1c1a362403dc7791db50beebd357077f6d5e
[INFO] checking lbeckman314/mdbook-latex against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flbeckman314%2Fmdbook-latex" "/workspace/builds/worker-5/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/lbeckman314/mdbook-latex on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/lbeckman314/mdbook-latex
[INFO] removed path dependency md2tex from git repo https://github.com/lbeckman314/mdbook-latex
[INFO] finished tweaking git repo https://github.com/lbeckman314/mdbook-latex
[INFO] tweaked toml for git repo https://github.com/lbeckman314/mdbook-latex written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/lbeckman314/mdbook-latex already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: dependency (md2tex) 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-5/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: dependency (md2tex) 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]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=forbid" "-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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] 076554dc727718dd86c6532c8decd0cebfea2eeac31edfe325b0799bb7053e0d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "076554dc727718dd86c6532c8decd0cebfea2eeac31edfe325b0799bb7053e0d"`
[INFO] [stderr] warning: dependency (md2tex) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]     Checking xmlparser v0.9.0
[INFO] [stderr]     Checking float-cmp v0.5.3
[INFO] [stderr]     Checking sw-composite v0.5.10
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]     Checking simplecss v0.1.0
[INFO] [stderr]    Compiling pulldown-cmark v0.5.3
[INFO] [stderr]     Checking sequence_trie v0.3.6
[INFO] [stderr]     Checking unicode-vo v0.1.0
[INFO] [stderr]    Compiling pulldown-cmark v0.6.1
[INFO] [stderr]     Checking unicode-script v0.3.0
[INFO] [stderr]     Checking ttf-parser v0.1.0
[INFO] [stderr]     Checking strum v0.15.0
[INFO] [stderr]     Checking is-match v0.1.0
[INFO] [stderr]     Checking rgb v0.8.16
[INFO] [stderr]    Compiling pulldown-cmark v0.7.0
[INFO] [stderr]    Compiling harfbuzz-sys v0.3.4
[INFO] [stderr]    Compiling error-chain v0.12.2
[INFO] [stderr]     Checking data-url v0.1.0
[INFO] [stderr]    Compiling tectonic_cfg_support v0.0.1
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]     Checking gitignore v1.0.6
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking tectonic_xdv v0.1.8
[INFO] [stderr]    Compiling servo-freetype-sys v4.0.5
[INFO] [stderr]    Compiling expat-sys v2.1.6
[INFO] [stderr]    Compiling openssl v0.10.29
[INFO] [stderr]    Compiling native-tls v0.2.4
[INFO] [stderr]     Checking libz-sys v1.0.25
[INFO] [stderr]     Checking kurbo v0.2.3
[INFO] [stderr]     Checking euclid v0.20.10
[INFO] [stderr]    Compiling servo-fontconfig-sys v4.0.9
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking rand_pcg v0.2.1
[INFO] [stderr]     Checking chrono v0.4.11
[INFO] [stderr]     Checking hyper v0.10.16
[INFO] [stderr]     Checking Inflector v0.11.4
[INFO] [stderr]     Checking parking_lot_core v0.6.2
[INFO] [stderr]     Checking flate2 v1.0.14
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]     Checking roxmltree v0.6.1
[INFO] [stderr]    Compiling darling_core v0.8.6
[INFO] [stderr]    Compiling strum_macros v0.15.0
[INFO] [stderr]     Checking md-5 v0.8.0
[INFO] [stderr]     Checking headers-core v0.1.1
[INFO] [stderr]     Checking png v0.14.1
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking freetype v0.4.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking parking_lot v0.9.0
[INFO] [stderr]     Checking euclid v0.19.9
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]     Checking svgtypes v0.4.4
[INFO] [stderr]     Checking h2 v0.1.26
[INFO] [stderr]     Checking zip v0.5.5
[INFO] [stderr]     Checking headers v0.2.3
[INFO] [stderr]     Checking servo-fontconfig v0.4.0
[INFO] [stderr]     Checking lyon_geom v0.14.1
[INFO] [stderr]     Checking publicsuffix v1.5.4
[INFO] [stderr]    Compiling string_cache_codegen v0.5.1
[INFO] [stderr]     Checking image v0.21.3
[INFO] [stderr]    Compiling mime_guess v1.8.8
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]     Checking harfbuzz_rs v1.0.1
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]     Checking ws v0.9.1
[INFO] [stderr]     Checking svgdom v0.17.0
[INFO] [stderr]     Checking lyon_path v0.14.0
[INFO] [stderr]    Compiling sha2 v0.8.1
[INFO] [stderr]     Checking lyon_geom v0.12.7
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking font-kit v0.4.0
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]    Compiling tectonic v0.1.12
[INFO] [stderr]     Checking usvg v0.7.0
[INFO] [stderr]     Checking raqote v0.5.5
[INFO] [stderr]     Checking hyper v0.12.35
[INFO] [stderr]     Checking raqote v0.6.4
[INFO] [stderr]    Compiling darling_macro v0.8.6
[INFO] [stderr]     Checking iron v0.6.1
[INFO] [stderr]     Checking resvg v0.7.0
[INFO] [stderr]    Compiling darling v0.8.6
[INFO] [stderr]     Checking mount v0.4.0
[INFO] [stderr]     Checking hyper-tls v0.3.2
[INFO] [stderr]    Compiling toml-query_derive v0.9.2
[INFO] [stderr]     Checking staticfile v0.5.0
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]     Checking md2tex v0.1.3
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]    Compiling failure_derive v0.1.7
[INFO] [stderr]    Compiling html5ever v0.25.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.2
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.2
[INFO] [stderr]     Checking failure v0.1.7
[INFO] [stderr]    Compiling structopt-derive v0.4.6
[INFO] [stderr]     Checking structopt v0.3.13
[INFO] [stderr]     Checking serde v1.0.106
[INFO] [stderr]     Checking string_cache v0.8.0
[INFO] [stderr]     Checking serde_json v1.0.51
[INFO] [stderr]     Checking toml v0.5.6
[INFO] [stderr]     Checking serde_urlencoded v0.5.5
[INFO] [stderr]     Checking toml-query v0.9.2
[INFO] [stderr]     Checking cookie_store v0.7.0
[INFO] [stderr]     Checking elasticlunr-rs v2.3.6
[INFO] [stderr]     Checking handlebars v3.0.1
[INFO] [stderr]     Checking reqwest v0.9.24
[INFO] [stderr]    Compiling markup5ever v0.10.0
[INFO] [stderr]     Checking xml5ever v0.16.1
[INFO] [stderr]     Checking markup5ever_rcdom v0.1.0
[INFO] [stderr]     Checking ammonia v3.1.0
[INFO] [stderr]     Checking mdbook v0.3.7
[INFO] [stderr]     Checking mdbook-latex v0.1.24 (/opt/rustwide/workdir)
[INFO] [stderr] error: mismatched closing delimiter: `}`
[INFO] [stderr]    --> src/main.rs:178:5
[INFO] [stderr]     |
[INFO] [stderr] 173 |     fn test_path_adder() {
[INFO] [stderr]     |                          - closing delimiter possibly meant for this
[INFO] [stderr] ...
[INFO] [stderr] 177 |         assert_eq!(new_path, "![xyz])(/a/b/c/./xyz.png)";
[INFO] [stderr]     |                   - unclosed delimiter
[INFO] [stderr] 178 |     }
[INFO] [stderr]     |     ^ mismatched closing delimiter
[INFO] [stderr] 
[INFO] [stderr] error: mismatched closing delimiter: `}`
[INFO] [stderr]    --> src/main.rs:178:5
[INFO] [stderr]     |
[INFO] [stderr] 173 |     fn test_path_adder() {
[INFO] [stderr]     |                          - closing delimiter possibly meant for this
[INFO] [stderr] ...
[INFO] [stderr] 177 |         assert_eq!(new_path, "![xyz])(/a/b/c/./xyz.png)";
[INFO] [stderr]     |                   - unclosed delimiter
[INFO] [stderr] 178 |     }
[INFO] [stderr]     |     ^ mismatched closing delimiter
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `md2tex::markdown_to_tex`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use md2tex::markdown_to_tex;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'mdbook::Config::get_deserialized': use get_deserialized_opt instead
[INFO] [stderr]   --> src/main.rs:47:32
[INFO] [stderr]    |
[INFO] [stderr] 47 | ...                   .get_deserialized("output.latex")
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: no rules expected the token `;`
[INFO] [stderr]    --> src/main.rs:177:57
[INFO] [stderr]     |
[INFO] [stderr] 177 |         assert_eq!(new_path, "![xyz])(/a/b/c/./xyz.png)";
[INFO] [stderr]     |                                                         ^ no rules expected this token in macro call
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `md2tex::markdown_to_tex`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use md2tex::markdown_to_tex;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'mdbook::Config::get_deserialized': use get_deserialized_opt instead
[INFO] [stderr]   --> src/main.rs:47:32
[INFO] [stderr]    |
[INFO] [stderr] 47 | ...                   .get_deserialized("output.latex")
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:84:55
[INFO] [stderr]    |
[INFO] [stderr] 84 |             content.push_str(&path_adder(&ch.content, &ch.path.parent()));
[INFO] [stderr]    |                                                       ^^^^^^^^^^^^^^^^^ expected struct `std::path::PathBuf`, found enum `std::option::Option`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected reference `&std::path::PathBuf`
[INFO] [stderr]               found reference `&std::option::Option<&std::path::Path>`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:84:55
[INFO] [stderr]    |
[INFO] [stderr] 84 |             content.push_str(&path_adder(&ch.content, &ch.path.parent()));
[INFO] [stderr]    |                                                       ^^^^^^^^^^^^^^^^^ expected struct `std::path::PathBuf`, found enum `std::option::Option`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected reference `&std::path::PathBuf`
[INFO] [stderr]               found reference `&std::option::Option<&std::path::Path>`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stderr]    --> src/main.rs:139:67
[INFO] [stderr]     |
[INFO] [stderr] 139 |         Err(why) => panic!("Couldn't create {}: {}", display, why.description()),
[INFO] [stderr]     |                                                                   ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stderr]    --> src/main.rs:145:69
[INFO] [stderr]     |
[INFO] [stderr] 145 |         Err(why) => panic!("Couldn't write to {}: {}", display, why.description()),
[INFO] [stderr]     |                                                                     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stderr]    --> src/main.rs:139:67
[INFO] [stderr]     |
[INFO] [stderr] 139 |         Err(why) => panic!("Couldn't create {}: {}", display, why.description()),
[INFO] [stderr]     |                                                                   ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stderr]    --> src/main.rs:145:69
[INFO] [stderr]     |
[INFO] [stderr] 145 |         Err(why) => panic!("Couldn't write to {}: {}", display, why.description()),
[INFO] [stderr]     |                                                                     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `mdbook-latex`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/main.rs:176:44
[INFO] [stderr]     |
[INFO] [stderr] 176 |         let new_path = path_adder(content, &path);
[INFO] [stderr]     |                                            ^^^^^ expected struct `std::path::PathBuf`, found `&std::path::Path`
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected reference `&std::path::PathBuf`
[INFO] [stderr]                found reference `&&std::path::Path`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `mdbook-latex`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "076554dc727718dd86c6532c8decd0cebfea2eeac31edfe325b0799bb7053e0d"`
[INFO] running `"docker" "rm" "-f" "076554dc727718dd86c6532c8decd0cebfea2eeac31edfe325b0799bb7053e0d"`
[INFO] [stdout] 076554dc727718dd86c6532c8decd0cebfea2eeac31edfe325b0799bb7053e0d
