Skip to content

Conversation

@Sagebati
Copy link
Contributor

@Sagebati Sagebati commented Mar 28, 2025

Hi,

I tried to upgrade tonic to the last version, unlocking the upgrade my axum based web app.

But I got this

error[E0277]: the trait bound `Channel: Service<request::Request<tonic::body::Body>>` is not satisfied
   --> tokio-console/src/conn.rs:120:34
    |
120 |                 let mut client = InstrumentClient::new(channel);
    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Service<request::Request<tonic::body::Body>>` is not implemented for `Channel`
    |
    = help: the trait `Service<request::Request<tonic::body::Body>>` is not implemented for `Channel`
            but trait `Service<request::Request<http_body_util::combinators::box_body::UnsyncBoxBody<tonic::codegen::Bytes, Status>>>` is implemented for it
    = help: for that trait implementation, expected `http_body_util::combinators::box_body::UnsyncBoxBody<tonic::codegen::Bytes, Status>`, found `tonic::body::Body`
    = note: required for `Channel` to implement `tonic::client::service::GrpcService<tonic::body::Body>`

BREAKING CHANGE:
This is a breaking change for users of console-api and
console-subscriber, as it changes the public tonic dependency
to a semver-incompatible version. This breaks compatibility with
tonic 0.12.x.

@Sagebati Sagebati requested a review from a team as a code owner March 28, 2025 14:52
@Sagebati Sagebati changed the title Update tonic to 0.13 chore: upgrade tonic to 0.13 Mar 28, 2025
@Sagebati
Copy link
Contributor Author

I missed a Cargo.toml, now it's compiling and test passed. I can squash my commit is desired.

@hds hds changed the title chore: upgrade tonic to 0.13 update(api,subscriber)!: upgrade tonic to 0.13 Mar 31, 2025
@hds
Copy link
Collaborator

hds commented Mar 31, 2025

@Sagebati Looks like there are a couple of errors, would you be able to have a look?

@Sagebati
Copy link
Contributor Author

Sagebati commented Mar 31, 2025

I added the "util" feature flag on a tower dependency, that could be it.

Copy link
Collaborator

@hds hds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you!

@hds hds merged commit 2bd1afd into tokio-rs:main Apr 1, 2025
19 checks passed
@github-actions github-actions bot mentioned this pull request Mar 31, 2025
hds pushed a commit that referenced this pull request Oct 29, 2025
…onsole-v0.1.14

# console-api

## 0.9.0 - (2025-10-29)

### <a id = "0.9.0-breaking"></a>Breaking Changes
- **Upgrade tonic to 0.13 ([#615](#615 ([2bd1afd](https://github.com/tokio-rs/console/commit/2bd1afda7987dea0505d231d9ce8bf109e5f7a96))<br />This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency
to a semver-incompatible version. This breaks compatibility with
`tonic` 0.12.x.
- **Upgrade tonic to 0.14 ([#642](https://github.com/tokio-rs/console/issues/642))**<br />This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency
to a semver-incompatible version. This breaks compatibility with
`tonic` 0.13.x.

### Added

- Add the WatchState API ([#582](#582)) ([7c1f9f2](7c1f9f2))

### Fixed

- Bump minimum version of tonic ([#593](#593)) ([1f41b61](1f41b61), closes [#592](#592), closes [#592](#592))

### Updated

- [**breaking**](#0.9.0-breaking) Upgrade tonic to 0.13 ([#615](#615)) ([2bd1afd](2bd1afd))
- [**breaking**](#0.9.0-breaking) Upgrade tonic to 0.14 ([#645](#645))

# console-subscriber

## 0.5.0 - (2025-10-29)

### <a id = "0.5.0-breaking"></a>Breaking Changes
- **Upgrade tonic to 0.13 ([#615](#615 ([2bd1afd](https://github.com/tokio-rs/console/commit/2bd1afda7987dea0505d231d9ce8bf109e5f7a96))<br />This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency
to a semver-incompatible version. This breaks compatibility with
`tonic` 0.12.x.
- **Upgrade tonic to 0.14 ([#642](https://github.com/tokio-rs/console/issues/642))**<br />This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency
to a semver-incompatible version. This breaks compatibility with
`tonic` 0.13.x.

### Added

- Add the WatchState API ([#582](#582)) ([7c1f9f2](7c1f9f2))
- Add support for vsock connections ([#623](#623)) ([63c70ee](63c70ee))

### Documented

- Fix typo in doc comment ([3dbca7a](3dbca7a))

### Updated

- [**breaking**](#0.5.0-breaking) Upgrade tonic to 0.13 ([#615](#615)) ([2bd1afd](2bd1afd))
- [**breaking**](#0.9.0-breaking) Upgrade tonic to 0.14 ([#645](#645))

# tokio-console

## 0.1.14 - (2025-10-29)

### Added

- Add the WatchState API ([#582](#582)) ([7c1f9f2](7c1f9f2))
- Improve error msg when state streaming API is unimplemented ([#598](#598)) ([6ef148a](6ef148a))
- Add support for vsock connections ([#623](#623)) ([63c70ee](63c70ee))

### Fixed

- Add dynamic constraints layout in task details screen ([#614](#614)) ([ada7dab](ada7dab), fixes [#523](#523), fixes [#523](#523))

### Updated

- Upgrade tonic to 0.13 ([#615](#615)) ([2bd1afd](2bd1afd))
- Upgrade tonic to 0.14 ([#645](#645))
hds pushed a commit that referenced this pull request Oct 29, 2025
…onsole-v0.1.14

# console-api

## 0.9.0 - (2025-10-29)

### <a id = "0.9.0-breaking"></a>Breaking Changes
- **Upgrade tonic to 0.13 ([#615](#615 ([2bd1afd](https://github.com/tokio-rs/console/commit/2bd1afda7987dea0505d231d9ce8bf109e5f7a96))<br />This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency
to a semver-incompatible version. This breaks compatibility with
`tonic` 0.12.x.
- **Upgrade tonic to 0.14 ([#642](https://github.com/tokio-rs/console/issues/642))**<br />This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency
to a semver-incompatible version. This breaks compatibility with
`tonic` 0.13.x.

### Added

- Add the WatchState API ([#582](#582)) ([7c1f9f2](7c1f9f2))

### Fixed

- Bump minimum version of tonic ([#593](#593)) ([1f41b61](1f41b61), closes [#592](#592), closes [#592](#592))

### Updated

- [**breaking**](#0.9.0-breaking) Upgrade tonic to 0.13 ([#615](#615)) ([2bd1afd](2bd1afd))
- [**breaking**](#0.9.0-breaking) Upgrade tonic to 0.14 ([#645](#645))

# console-subscriber

## 0.5.0 - (2025-10-29)

### <a id = "0.5.0-breaking"></a>Breaking Changes
- **Upgrade tonic to 0.13 ([#615](#615 ([2bd1afd](https://github.com/tokio-rs/console/commit/2bd1afda7987dea0505d231d9ce8bf109e5f7a96))<br />This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency
to a semver-incompatible version. This breaks compatibility with
`tonic` 0.12.x.
- **Upgrade tonic to 0.14 ([#642](https://github.com/tokio-rs/console/issues/642))**<br />This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency
to a semver-incompatible version. This breaks compatibility with
`tonic` 0.13.x.

### Added

- Add the WatchState API ([#582](#582)) ([7c1f9f2](7c1f9f2))
- Add support for vsock connections ([#623](#623)) ([63c70ee](63c70ee))

### Documented

- Fix typo in doc comment ([3dbca7a](3dbca7a))

### Updated

- [**breaking**](#0.5.0-breaking) Upgrade tonic to 0.13 ([#615](#615)) ([2bd1afd](2bd1afd))
- [**breaking**](#0.9.0-breaking) Upgrade tonic to 0.14 ([#645](#645))

# tokio-console

## 0.1.14 - (2025-10-29)

### Added

- Add the WatchState API ([#582](#582)) ([7c1f9f2](7c1f9f2))
- Improve error msg when state streaming API is unimplemented ([#598](#598)) ([6ef148a](6ef148a))
- Add support for vsock connections ([#623](#623)) ([63c70ee](63c70ee))

### Fixed

- Add dynamic constraints layout in task details screen ([#614](#614)) ([ada7dab](ada7dab), fixes [#523](#523), fixes [#523](#523))

### Updated

- Upgrade tonic to 0.13 ([#615](#615)) ([2bd1afd](2bd1afd))
- Upgrade tonic to 0.14 ([#645](#645))
hds pushed a commit that referenced this pull request Oct 30, 2025
…onsole-v0.1.14

# console-api

## 0.9.0 - (2025-10-30)

### <a id = "0.9.0-breaking"></a>Breaking Changes
- **Upgrade tonic to 0.13 ([#615](#615 ([2bd1afd](https://github.com/tokio-rs/console/commit/2bd1afda7987dea0505d231d9ce8bf109e5f7a96))<br />This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency
to a semver-incompatible version. This breaks compatibility with
`tonic` 0.12.x.
- **Upgrade tonic to 0.14 ([#642](https://github.com/tokio-rs/console/issues/642))**<br />This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency
to a semver-incompatible version. This breaks compatibility with
`tonic` 0.13.x.

### Added

- Add the WatchState API ([#582](#582)) ([7c1f9f2](7c1f9f2))

### Fixed

- Bump minimum version of tonic ([#593](#593)) ([1f41b61](1f41b61), closes [#592](#592), closes [#592](#592))

### Updated

- [**breaking**](#0.9.0-breaking) Upgrade tonic to 0.13 ([#615](#615)) ([2bd1afd](2bd1afd))
- [**breaking**](#0.9.0-breaking) Upgrade tonic to 0.14 ([#645](#645))

# console-subscriber

## 0.5.0 - (2025-10-30)

### <a id = "0.5.0-breaking"></a>Breaking Changes
- **Upgrade tonic to 0.13 ([#615](#615 ([2bd1afd](https://github.com/tokio-rs/console/commit/2bd1afda7987dea0505d231d9ce8bf109e5f7a96))<br />This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency
to a semver-incompatible version. This breaks compatibility with
`tonic` 0.12.x.
- **Upgrade tonic to 0.14 ([#642](https://github.com/tokio-rs/console/issues/642))**<br />This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency
to a semver-incompatible version. This breaks compatibility with
`tonic` 0.13.x.

### Added

- Add the WatchState API ([#582](#582)) ([7c1f9f2](7c1f9f2))
- Add support for vsock connections ([#623](#623)) ([63c70ee](63c70ee))

### Documented

- Fix typo in doc comment ([3dbca7a](3dbca7a))

### Updated

- [**breaking**](#0.5.0-breaking) Upgrade tonic to 0.13 ([#615](#615)) ([2bd1afd](2bd1afd))
- [**breaking**](#0.9.0-breaking) Upgrade tonic to 0.14 ([#645](#645))

# tokio-console

## 0.1.14 - (2025-10-30)

### Added

- Add the WatchState API ([#582](#582)) ([7c1f9f2](7c1f9f2))
- Improve error msg when state streaming API is unimplemented ([#598](#598)) ([6ef148a](6ef148a))
- Add support for vsock connections ([#623](#623)) ([63c70ee](63c70ee))

### Fixed

- Add dynamic constraints layout in task details screen ([#614](#614)) ([ada7dab](ada7dab), fixes [#523](#523), fixes [#523](#523))

### Updated

- Upgrade tonic to 0.13 ([#615](#615)) ([2bd1afd](2bd1afd))
- Upgrade tonic to 0.14 ([#645](#645))
hds pushed a commit that referenced this pull request Oct 30, 2025
…onsole-v0.1.14 (#648)

# console-api

## 0.9.0 - (2025-10-30)

### <a id = "0.9.0-breaking"></a>Breaking Changes
- **Upgrade tonic to 0.13 ([#615](#615 ([2bd1afd](https://github.com/tokio-rs/console/commit/2bd1afda7987dea0505d231d9ce8bf109e5f7a96))<br />This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency
to a semver-incompatible version. This breaks compatibility with
`tonic` 0.12.x.
- **Upgrade tonic to 0.14 ([#642](https://github.com/tokio-rs/console/issues/642))**<br />This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency
to a semver-incompatible version. This breaks compatibility with
`tonic` 0.13.x.

### Added

- Add the WatchState API ([#582](#582)) ([7c1f9f2](7c1f9f2))

### Fixed

- Bump minimum version of tonic ([#593](#593)) ([1f41b61](1f41b61), closes [#592](#592), closes [#592](#592))

### Updated

- [**breaking**](#0.9.0-breaking) Upgrade tonic to 0.13 ([#615](#615)) ([2bd1afd](2bd1afd))
- [**breaking**](#0.9.0-breaking) Upgrade tonic to 0.14 ([#645](#645))

# console-subscriber

## 0.5.0 - (2025-10-30)

### <a id = "0.5.0-breaking"></a>Breaking Changes
- **Upgrade tonic to 0.13 ([#615](#615 ([2bd1afd](https://github.com/tokio-rs/console/commit/2bd1afda7987dea0505d231d9ce8bf109e5f7a96))<br />This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency
to a semver-incompatible version. This breaks compatibility with
`tonic` 0.12.x.
- **Upgrade tonic to 0.14 ([#642](https://github.com/tokio-rs/console/issues/642))**<br />This is a breaking change for users of `console-api` and
`console-subscriber`, as it changes the public `tonic` dependency
to a semver-incompatible version. This breaks compatibility with
`tonic` 0.13.x.

### Added

- Add the WatchState API ([#582](#582)) ([7c1f9f2](7c1f9f2))
- Add support for vsock connections ([#623](#623)) ([63c70ee](63c70ee))

### Documented

- Fix typo in doc comment ([3dbca7a](3dbca7a))

### Updated

- [**breaking**](#0.5.0-breaking) Upgrade tonic to 0.13 ([#615](#615)) ([2bd1afd](2bd1afd))
- [**breaking**](#0.9.0-breaking) Upgrade tonic to 0.14 ([#645](#645))

# tokio-console

## 0.1.14 - (2025-10-30)

### Added

- Add the WatchState API ([#582](#582)) ([7c1f9f2](7c1f9f2))
- Improve error msg when state streaming API is unimplemented ([#598](#598)) ([6ef148a](6ef148a))
- Add support for vsock connections ([#623](#623)) ([63c70ee](63c70ee))

### Fixed

- Add dynamic constraints layout in task details screen ([#614](#614)) ([ada7dab](ada7dab), fixes [#523](#523), fixes [#523](#523))

### Updated

- Upgrade tonic to 0.13 ([#615](#615)) ([2bd1afd](2bd1afd))
- Upgrade tonic to 0.14 ([#645](#645))

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants