[INFO] cloning repository https://github.com/matthewkmayer/pun-on-rust-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matthewkmayer/pun-on-rust-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewkmayer%2Fpun-on-rust-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewkmayer%2Fpun-on-rust-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3367adf311af0be5353ee85e424a228776b557f0 [INFO] testing matthewkmayer/pun-on-rust-demo against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthewkmayer%2Fpun-on-rust-demo" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matthewkmayer/pun-on-rust-demo on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matthewkmayer/pun-on-rust-demo [INFO] finished tweaking git repo https://github.com/matthewkmayer/pun-on-rust-demo [INFO] tweaked toml for git repo https://github.com/matthewkmayer/pun-on-rust-demo written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/matthewkmayer/pun-on-rust-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1bfc6401239d9e8381c7dfa749fe11a7324ae501cd11b342aef75422114883e3 [INFO] running `Command { std: "docker" "start" "-a" "1bfc6401239d9e8381c7dfa749fe11a7324ae501cd11b342aef75422114883e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bfc6401239d9e8381c7dfa749fe11a7324ae501cd11b342aef75422114883e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bfc6401239d9e8381c7dfa749fe11a7324ae501cd11b342aef75422114883e3", kill_on_drop: false }` [INFO] [stdout] 1bfc6401239d9e8381c7dfa749fe11a7324ae501cd11b342aef75422114883e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acf2dda22d54135fe9c9551918680ba299959e337f831b7d1fa4de49a0c6ae51 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "acf2dda22d54135fe9c9551918680ba299959e337f831b7d1fa4de49a0c6ae51", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling toml v0.1.30 [INFO] [stderr] Compiling openssl-sys v0.7.17 [INFO] [stderr] Compiling openssl-sys-extras v0.7.14 [INFO] [stderr] Compiling openssl v0.7.14 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling unicode-bidi v0.2.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling xml-rs v0.1.26 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling term v0.2.14 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stdout] error: no rules expected the token `flags` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | flags IndentFlags: u8 { [INFO] [stdout] | ^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `IndentFlags` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 77 | indent_stack: vec!(IndentFlags::empty()), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `IndentFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IndentFlags` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Emitter { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 64 | indent_stack: Vec, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WROTE_TEXT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:131:52 [INFO] [stdout] | [INFO] [stdout] 131 | self.indent_stack.last().unwrap().contains(WROTE_TEXT) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WROTE_MARKUP` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:136:52 [INFO] [stdout] | [INFO] [stdout] 136 | self.indent_stack.last().unwrap().contains(WROTE_MARKUP) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WROTE_TEXT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:141:50 [INFO] [stdout] | [INFO] [stdout] 141 | *self.indent_stack.last_mut().unwrap() = WROTE_TEXT; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WROTE_MARKUP` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:146:50 [INFO] [stdout] | [INFO] [stdout] 146 | *self.indent_stack.last_mut().unwrap() = WROTE_MARKUP; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WROTE_NOTHING` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:151:50 [INFO] [stdout] | [INFO] [stdout] 151 | *self.indent_stack.last_mut().unwrap() = WROTE_NOTHING; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WROTE_NOTHING` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:179:32 [INFO] [stdout] | [INFO] [stdout] 179 | self.indent_stack.push(WROTE_NOTHING); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling uuid v0.2.3 [INFO] [stderr] Compiling uuid v0.1.18 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling hpack v0.2.0 [INFO] [stderr] Compiling url v0.5.10 [INFO] [stderr] Compiling url v0.2.38 [INFO] [stderr] Compiling syntex_syntax v0.29.3 [INFO] [stderr] Compiling syntex_syntax v0.25.0 [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xml-rs`. [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] [stdout] error: to use a constant of type `codemap::Span` in a pattern, `codemap::Span` must be annotated with `#[derive(PartialEq, Eq)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.25.0/src/errors/emitter.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | Some(COMMAND_LINE_SP) => self.emit_(FileLine(COMMAND_LINE_SP), msg, code, lvl), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `cx.parse_sess.span_diagnostic` as immutable because it is also borrowed as mutable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.29.3/src/ext/expand.rs:1325:25 [INFO] [stdout] | [INFO] [stdout] 1315 | let mut expander = MacroExpander::new(&mut cx); [INFO] [stdout] | ------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1325 | let err_count = cx.parse_sess.span_diagnostic.err_count(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 1326 | let mut ret = expander.fold_crate(c); [INFO] [stdout] | -------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "acf2dda22d54135fe9c9551918680ba299959e337f831b7d1fa4de49a0c6ae51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acf2dda22d54135fe9c9551918680ba299959e337f831b7d1fa4de49a0c6ae51", kill_on_drop: false }` [INFO] [stdout] acf2dda22d54135fe9c9551918680ba299959e337f831b7d1fa4de49a0c6ae51