[INFO] cloning repository https://github.com/davidbarsky/tracing-talk-sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidbarsky/tracing-talk-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidbarsky%2Ftracing-talk-sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidbarsky%2Ftracing-talk-sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d1a35b061bfe129e13b9098b56281ab2644ff4f [INFO] testing davidbarsky/tracing-talk-sample against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidbarsky%2Ftracing-talk-sample" "/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/davidbarsky/tracing-talk-sample on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/davidbarsky/tracing-talk-sample [INFO] finished tweaking git repo https://github.com/davidbarsky/tracing-talk-sample [INFO] tweaked toml for git repo https://github.com/davidbarsky/tracing-talk-sample written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/davidbarsky/tracing-talk-sample already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/tokio-rs/tracing` [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" "+beta-2020-07-24" "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] b552ec10619cd81576d997b42fa4f61d213164899dca56578c16d8042768fcb7 [INFO] running `Command { std: "docker" "start" "-a" "b552ec10619cd81576d997b42fa4f61d213164899dca56578c16d8042768fcb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b552ec10619cd81576d997b42fa4f61d213164899dca56578c16d8042768fcb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b552ec10619cd81576d997b42fa4f61d213164899dca56578c16d8042768fcb7", kill_on_drop: false }` [INFO] [stdout] b552ec10619cd81576d997b42fa4f61d213164899dca56578c16d8042768fcb7 [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" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef170bcb81ceb553be43e10e5bce4671c7eaefafcaee45e131f2af0306bcc614 [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" "ef170bcb81ceb553be43e10e5bce4671c7eaefafcaee45e131f2af0306bcc614", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling tower-layer v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling eyre v0.6.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling indenter v0.3.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling tracing-core v0.1.11 (https://github.com/tokio-rs/tracing?branch=davidbarsky/add-instrument-trait-to-tracing#2c4f3d1f) [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling sharded-slab v0.0.9 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-serde v0.1.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.9 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.9 [INFO] [stderr] Compiling tracing-attributes v0.1.9 (https://github.com/tokio-rs/tracing?branch=davidbarsky/add-instrument-trait-to-tracing#2c4f3d1f) [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling tracing v0.1.16 (https://github.com/tokio-rs/tracing?branch=davidbarsky/add-instrument-trait-to-tracing#2c4f3d1f) [INFO] [stderr] Compiling tracing v0.1.17 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling color-spantrace v0.1.4 [INFO] [stderr] Compiling color-eyre v0.5.0 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tower-discover v0.3.0 [INFO] [stderr] Compiling tower-load-shed v0.3.0 [INFO] [stderr] Compiling tower-util v0.3.1 [INFO] [stderr] Compiling tower-load v0.3.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tower-buffer v0.3.0 [INFO] [stderr] Compiling tower-retry v0.3.0 [INFO] [stderr] Compiling tower-timeout v0.3.0 [INFO] [stderr] Compiling tower-limit v0.3.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling tower v0.3.1 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling moneytime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `%` [INFO] [stdout] --> src/main.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | http.req.uri = %req.uri(); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Span`, `field` [INFO] [stdout] --> src/main.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing::{error, field, info, span, Instrument as _, Level, Span}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 49 | fn call(&mut self, req: Request) -> Self::Future { [INFO] [stdout] | ------------ expected `>>::Future` because of return type [INFO] [stdout] ... [INFO] [stdout] 58 | self.service.call(req).instrument(span) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected associated type, found struct `tracing::instrument::Instrumented` [INFO] [stdout] | [INFO] [stdout] = note: expected associated type `>>::Future` [INFO] [stdout] found struct `tracing::instrument::Instrumented<>>::Future>` [INFO] [stdout] = help: consider constraining the associated type `>>::Future` to `tracing::instrument::Instrumented<>>::Future>` or calling a method that returns `>>::Future` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `moneytime`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "ef170bcb81ceb553be43e10e5bce4671c7eaefafcaee45e131f2af0306bcc614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef170bcb81ceb553be43e10e5bce4671c7eaefafcaee45e131f2af0306bcc614", kill_on_drop: false }` [INFO] [stdout] ef170bcb81ceb553be43e10e5bce4671c7eaefafcaee45e131f2af0306bcc614