[INFO] cloning repository https://github.com/monte-language/rum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/monte-language/rum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonte-language%2Frum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonte-language%2Frum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab3ad785838f46a867b49d0e41280befd1d3a5bd [INFO] checking monte-language/rum against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonte-language%2Frum" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/monte-language/rum on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/monte-language/rum [INFO] finished tweaking git repo https://github.com/monte-language/rum [INFO] tweaked toml for git repo https://github.com/monte-language/rum written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/monte-language/rum already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49cb5eef3f48d4104e9657e2bfd7345d3a3514a53a54dd05b95042e27e1ccbe0 [INFO] running `Command { std: "docker" "start" "-a" "49cb5eef3f48d4104e9657e2bfd7345d3a3514a53a54dd05b95042e27e1ccbe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49cb5eef3f48d4104e9657e2bfd7345d3a3514a53a54dd05b95042e27e1ccbe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49cb5eef3f48d4104e9657e2bfd7345d3a3514a53a54dd05b95042e27e1ccbe0", kill_on_drop: false }` [INFO] [stdout] 49cb5eef3f48d4104e9657e2bfd7345d3a3514a53a54dd05b95042e27e1ccbe0 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91f62f6e12b1bd2c797dba18cb42058844b26f0a8ca6ddae8296f6e3afa2b7ea [INFO] running `Command { std: "docker" "start" "-a" "91f62f6e12b1bd2c797dba18cb42058844b26f0a8ca6ddae8296f6e3afa2b7ea", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.18 [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking rustc-serialize v0.3.22 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking num-bigint v0.1.35 [INFO] [stderr] Checking num-complex v0.1.35 [INFO] [stderr] Checking bincode v0.6.0 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking num-rational v0.1.35 [INFO] [stderr] Checking num v0.1.36 [INFO] [stderr] Checking rum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, RustcDecodable)] [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/load_mast.rs:117:46 [INFO] [stdout] | [INFO] [stdout] 117 | fn expr_at(&mut self, idx: usize) -> Arc; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/load_mast.rs:118:47 [INFO] [stdout] | [INFO] [stdout] 118 | fn new(n: bool, stream: Arc>>) -> Context; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/load_mast.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | stream: Arc, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn MastReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/load_mast.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | expers: Arc>>, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Expr` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/load_mast.rs:131:47 [INFO] [stdout] | [INFO] [stdout] 131 | fn new(n: bool, stream: Arc>>) -> Context { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/load_mast.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | stream: stream as Arc, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn MastReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/load_mast.rs:140:48 [INFO] [stdout] | [INFO] [stdout] 140 | fn expr_at(&mut self, index: usize) -> Arc { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Expr` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/load_mast.rs:246:37 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn load(file: Arc>>) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | let i = Box::new(io::stdin()) as Box; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:44:62 [INFO] [stdout] | [INFO] [stdout] 44 | let i = Box::new(File::open(&p).unwrap()) as Box; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, RustcDecodable)] [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/load_mast.rs:117:46 [INFO] [stdout] | [INFO] [stdout] 117 | fn expr_at(&mut self, idx: usize) -> Arc; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/load_mast.rs:118:47 [INFO] [stdout] | [INFO] [stdout] 118 | fn new(n: bool, stream: Arc>>) -> Context; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/load_mast.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | stream: Arc, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn MastReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/load_mast.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | expers: Arc>>, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Expr` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/load_mast.rs:131:47 [INFO] [stdout] | [INFO] [stdout] 131 | fn new(n: bool, stream: Arc>>) -> Context { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/load_mast.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | stream: stream as Arc, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn MastReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/load_mast.rs:140:48 [INFO] [stdout] | [INFO] [stdout] 140 | fn expr_at(&mut self, index: usize) -> Arc { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Expr` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/load_mast.rs:246:37 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn load(file: Arc>>) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | let i = Box::new(io::stdin()) as Box; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:44:62 [INFO] [stdout] | [INFO] [stdout] 44 | let i = Box::new(File::open(&p).unwrap()) as Box; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | load_mast::load(mast_reader); [INFO] [stdout] | ^^^^^^^^^^^ expected struct `Arc`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>>` [INFO] [stdout] found struct `Box>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | load_mast::load(mast_reader); [INFO] [stdout] | ^^^^^^^^^^^ expected struct `Arc`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>>` [INFO] [stdout] found struct `Box>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rum` due to 2 previous errors; 11 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "91f62f6e12b1bd2c797dba18cb42058844b26f0a8ca6ddae8296f6e3afa2b7ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91f62f6e12b1bd2c797dba18cb42058844b26f0a8ca6ddae8296f6e3afa2b7ea", kill_on_drop: false }` [INFO] [stdout] 91f62f6e12b1bd2c797dba18cb42058844b26f0a8ca6ddae8296f6e3afa2b7ea