[INFO] fetching crate conduit-json-parser 0.8.0... [INFO] checking conduit-json-parser-0.8.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate conduit-json-parser 0.8.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate conduit-json-parser 0.8.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate conduit-json-parser 0.8.0 [INFO] finished tweaking crates.io crate conduit-json-parser 0.8.0 [INFO] tweaked toml for crates.io crate conduit-json-parser 0.8.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded conduit-utils v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc5e886d4d82dc2e410fb4c5a59c235a5b9d3f60e7862288a739ac38c2e18002 [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" "dc5e886d4d82dc2e410fb4c5a59c235a5b9d3f60e7862288a739ac38c2e18002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc5e886d4d82dc2e410fb4c5a59c235a5b9d3f60e7862288a739ac38c2e18002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc5e886d4d82dc2e410fb4c5a59c235a5b9d3f60e7862288a739ac38c2e18002", kill_on_drop: false }` [INFO] [stdout] dc5e886d4d82dc2e410fb4c5a59c235a5b9d3f60e7862288a739ac38c2e18002 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8570d2fd2f48a044ddcce2c313b7b4e9dc9f6ffd0e509500bf87116a8e4adba9 [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" "8570d2fd2f48a044ddcce2c313b7b4e9dc9f6ffd0e509500bf87116a8e4adba9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking semver-parser v0.6.2 [INFO] [stderr] Checking semver v0.5.1 [INFO] [stderr] Checking conduit v0.8.1 [INFO] [stderr] Checking conduit-utils v0.8.0 [INFO] [stderr] Checking conduit-middleware v0.8.1 [INFO] [stderr] Checking conduit-test v0.8.1 [INFO] [stderr] Checking conduit-json-parser v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | let json: T = try!(decode::(req.body())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn before(&self, req: &mut Request) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Request` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | fn before(&self, req: &mut Request) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Error+Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let j = try!(Json::from_reader(reader).map_err(|e| Box::new(e) as Box)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | fn decode(reader: &mut Read) -> Result> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:39:61 [INFO] [stdout] | [INFO] [stdout] 39 | fn decode(reader: &mut Read) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Error+Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:75 [INFO] [stdout] | [INFO] [stdout] 40 | let j = try!(Json::from_reader(reader).map_err(|e| Box::new(e) as Box)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Error+Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:42:68 [INFO] [stdout] | [INFO] [stdout] 42 | Decodable::decode(&mut decoder).map_err(|e| Box::new(e) as Box) [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Error+Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn json_params<'a, T: Decodable + Any>(req: &'a Request) -> Option<&'a T> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | fn handler(req: &mut Request) -> io::Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | let json: T = try!(decode::(req.body())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn before(&self, req: &mut Request) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | fn before(&self, req: &mut Request) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Error+Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let j = try!(Json::from_reader(reader).map_err(|e| Box::new(e) as Box)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | fn decode(reader: &mut Read) -> Result> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:39:61 [INFO] [stdout] | [INFO] [stdout] 39 | fn decode(reader: &mut Read) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Error+Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:75 [INFO] [stdout] | [INFO] [stdout] 40 | let j = try!(Json::from_reader(reader).map_err(|e| Box::new(e) as Box)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Error+Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:42:68 [INFO] [stdout] | [INFO] [stdout] 42 | Decodable::decode(&mut decoder).map_err(|e| Box::new(e) as Box) [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Error+Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn json_params<'a, T: Decodable + Any>(req: &'a Request) -> Option<&'a T> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | let person = super::decode::(&mut *res.body).ok().expect("No JSON response"); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected trait `std::io::Read`, found trait `WriteBody + Send` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut dyn std::io::Read` [INFO] [stdout] found mutable reference `&mut (dyn WriteBody + Send + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `conduit-json-parser` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "8570d2fd2f48a044ddcce2c313b7b4e9dc9f6ffd0e509500bf87116a8e4adba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8570d2fd2f48a044ddcce2c313b7b4e9dc9f6ffd0e509500bf87116a8e4adba9", kill_on_drop: false }` [INFO] [stdout] 8570d2fd2f48a044ddcce2c313b7b4e9dc9f6ffd0e509500bf87116a8e4adba9