[INFO] fetching crate bar 0.1.1... [INFO] checking bar-0.1.1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate bar 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate bar 0.1.1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bar 0.1.1 [INFO] finished tweaking crates.io crate bar 0.1.1 [INFO] tweaked toml for crates.io crate bar 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding docopt v0.6.86 (available: v1.1.1) [INFO] [stderr] Adding term v0.2.14 (available: v1.0.0) [INFO] [stderr] Adding toml v0.1.30 (available: v0.8.19) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strsim v0.5.2 [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded docopt v0.6.86 [INFO] [stderr] Downloaded term v0.2.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4d7aeac63f681cc093875268ee071d27edde714e85f55ed1b5cc6ff14fe6a9b [INFO] running `Command { std: "docker" "start" "-a" "e4d7aeac63f681cc093875268ee071d27edde714e85f55ed1b5cc6ff14fe6a9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4d7aeac63f681cc093875268ee071d27edde714e85f55ed1b5cc6ff14fe6a9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d7aeac63f681cc093875268ee071d27edde714e85f55ed1b5cc6ff14fe6a9b", kill_on_drop: false }` [INFO] [stdout] e4d7aeac63f681cc093875268ee071d27edde714e85f55ed1b5cc6ff14fe6a9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d45f8e909e2df3bddf40e684222d0632eac68383e195cb2f01c180829cecc977 [INFO] running `Command { std: "docker" "start" "-a" "d45f8e909e2df3bddf40e684222d0632eac68383e195cb2f01c180829cecc977", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling winapi-build v0.1.1 [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 rustc-serialize v0.3.25 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking term v0.2.14 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking toml v0.1.30 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking bar v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/bar/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, box_patterns)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/bar/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, box_patterns)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `collections` [INFO] [stdout] --> src/bar/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `collections` [INFO] [stdout] --> src/bar/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> src/bar/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(collections, collections_bound, btree_range)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unicode` [INFO] [stdout] --> src/bar/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(unicode)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> src/bar/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(collections, collections_bound, btree_range)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unicode` [INFO] [stdout] --> src/bar/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(unicode)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<_>: RangeBounds` is not satisfied [INFO] [stdout] --> src/bar/bar.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | for (_, elt) in self.elts.range(Bound::Unbounded, Bound::Excluded(&Position::center())) { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/collections/btree/map.rs:1217:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<_>: RangeBounds` is not satisfied [INFO] [stdout] --> src/bar/bar.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | for (_, elt) in self.elts.range(Bound::Unbounded, Bound::Excluded(&Position::center())) { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/collections/btree/map.rs:1217:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bar/bar.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | for (_, elt) in self.elts.range(Bound::Unbounded, Bound::Excluded(&Position::center())) { [INFO] [stdout] | ^^^^^ ------------------------------------ unexpected argument #2 of type `Bound<&Position>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/collections/btree/map.rs:1217:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 65 - for (_, elt) in self.elts.range(Bound::Unbounded, Bound::Excluded(&Position::center())) { [INFO] [stdout] 65 + for (_, elt) in self.elts.range(Bound::Unbounded) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bar/bar.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | for (_, elt) in self.elts.range(Bound::Unbounded, Bound::Excluded(&Position::center())) { [INFO] [stdout] | ^^^^^ ------------------------------------ unexpected argument #2 of type `Bound<&Position>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/collections/btree/map.rs:1217:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 65 - for (_, elt) in self.elts.range(Bound::Unbounded, Bound::Excluded(&Position::center())) { [INFO] [stdout] 65 + for (_, elt) in self.elts.range(Bound::Unbounded) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<&Position>: RangeBounds` is not satisfied [INFO] [stdout] --> src/bar/bar.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | for (_, elt) in self.elts.range(Bound::Included(&Position::center()), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<&Position>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/collections/btree/map.rs:1217:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<&Position>: RangeBounds` is not satisfied [INFO] [stdout] --> src/bar/bar.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | for (_, elt) in self.elts.range(Bound::Included(&Position::center()), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<&Position>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/collections/btree/map.rs:1217:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bar/bar.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | for (_, elt) in self.elts.range(Bound::Included(&Position::center()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | Bound::Excluded(&Position::right())) [INFO] [stdout] | ----------------------------------- unexpected argument #2 of type `Bound<&Position>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/collections/btree/map.rs:1217:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 71 - for (_, elt) in self.elts.range(Bound::Included(&Position::center()), [INFO] [stdout] 72 - Bound::Excluded(&Position::right())) [INFO] [stdout] 71 + for (_, elt) in self.elts.range(Bound::Included(&Position::center())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bar/bar.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | for (_, elt) in self.elts.range(Bound::Included(&Position::center()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | Bound::Excluded(&Position::right())) [INFO] [stdout] | ----------------------------------- unexpected argument #2 of type `Bound<&Position>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/collections/btree/map.rs:1217:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 71 - for (_, elt) in self.elts.range(Bound::Included(&Position::center()), [INFO] [stdout] 72 - Bound::Excluded(&Position::right())) [INFO] [stdout] 71 + for (_, elt) in self.elts.range(Bound::Included(&Position::center())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<&Position>: RangeBounds` is not satisfied [INFO] [stdout] --> src/bar/bar.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | for (_, elt) in self.elts.range(Bound::Included(&Position::right()), Bound::Unbounded) { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<&Position>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/collections/btree/map.rs:1217:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<&Position>: RangeBounds` is not satisfied [INFO] [stdout] --> src/bar/bar.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | for (_, elt) in self.elts.range(Bound::Included(&Position::right()), Bound::Unbounded) { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<&Position>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/collections/btree/map.rs:1217:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bar/bar.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | for (_, elt) in self.elts.range(Bound::Included(&Position::right()), Bound::Unbounded) { [INFO] [stdout] | ^^^^^ ---------------- unexpected argument #2 of type `Bound<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/collections/btree/map.rs:1217:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 79 - for (_, elt) in self.elts.range(Bound::Included(&Position::right()), Bound::Unbounded) { [INFO] [stdout] 79 + for (_, elt) in self.elts.range(Bound::Included(&Position::right())) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bar/bar.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | for (_, elt) in self.elts.range(Bound::Included(&Position::right()), Bound::Unbounded) { [INFO] [stdout] | ^^^^^ ---------------- unexpected argument #2 of type `Bound<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/collections/btree/map.rs:1217:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 79 - for (_, elt) in self.elts.range(Bound::Included(&Position::right()), Bound::Unbounded) { [INFO] [stdout] 79 + for (_, elt) in self.elts.range(Bound::Included(&Position::right())) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_or` found for mutable reference `&mut str` in the current scope [INFO] [stdout] --> src/bar/bar.rs:103:45 [INFO] [stdout] | [INFO] [stdout] 103 | let n = self.encode_utf8(&mut utf8).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_or` found for mutable reference `&mut str` in the current scope [INFO] [stdout] --> src/bar/bar.rs:103:45 [INFO] [stdout] | [INFO] [stdout] 103 | let n = self.encode_utf8(&mut utf8).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0463, E0557, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0463, E0557, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bar` (lib test) due to 11 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bar` (lib) due to 11 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d45f8e909e2df3bddf40e684222d0632eac68383e195cb2f01c180829cecc977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d45f8e909e2df3bddf40e684222d0632eac68383e195cb2f01c180829cecc977", kill_on_drop: false }` [INFO] [stdout] d45f8e909e2df3bddf40e684222d0632eac68383e195cb2f01c180829cecc977